You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
865 B
54 lines
865 B
2 years ago
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
|
||
|
class Spreader_2D_adim:
|
||
|
"""Spreader 2D adimensionné"""
|
||
|
|
||
|
# Variables
|
||
|
K = 1
|
||
|
S = 1
|
||
|
B = 1
|
||
|
Q = 1
|
||
|
|
||
|
# Initialisation
|
||
|
def __init__(self, K, S, B, Q):
|
||
|
"""Constructeur de Spreader_2D_adim"""
|
||
|
self.K = K
|
||
|
self.S = S
|
||
|
self.B = B
|
||
|
self.Q = Q
|
||
|
|
||
|
# Accesseurs
|
||
|
def set_K(self, K):
|
||
|
self.K = K
|
||
|
|
||
|
def set_S(self, S):
|
||
|
self.S = S
|
||
|
|
||
|
def set_B(self, B):
|
||
|
self.B = B
|
||
|
|
||
|
def set_Q(self, Q):
|
||
|
self.Q = Q
|
||
|
|
||
|
def get_K(self, K):
|
||
|
return self.K
|
||
|
|
||
|
def get_S(self, S):
|
||
|
return self.S
|
||
|
|
||
|
def get_B(self, B):
|
||
|
return self.B
|
||
|
|
||
|
def get_Q(self, Q):
|
||
|
return self.Q
|
||
|
|
||
|
# Méthodes privées
|
||
|
|
||
|
|
||
|
# Méthodes publiques
|
||
|
def theta_ss(self, X, Y):
|
||
|
"""Température en régime permanent"""
|
||
|
return
|
||
|
|
||
|
|