Initial commit

main
Gaël Pongnot 2 years ago
parent da1f4b07a3
commit cd31b8fac4
  1. 54
      unsteady.py

@ -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
Loading…
Cancel
Save