Initial commit
This commit is contained in:
54
unsteady.py
Normal file
54
unsteady.py
Normal file
@@ -0,0 +1,54 @@
|
||||
# -*- 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user