16#include <Transport_Fluctuation_Temperature_W.h>
17#include <Modele_turbulence_scal_Fluctuation_Temperature_W.h>
18#include <Discret_Thermique.h>
19#include <Les_Pb_Turb.h>
21#include <Fluide_base.h>
54 const Probleme_base& pb =
probleme();
55 Cerr <<
"Construction and typing for the source term of the Transport_Fluctuation_Temperature_W transport equation." << finl;
56 if (sub_type(Pb_Thermohydraulique_Turbulent,pb))
58 Nom typ =
"Source_Transport_Fluctuation_Temperature_W";
61 so->associer_eqn(*
this);
75 Cerr <<
"Reading and typing of the diffusion operator : " << finl;
86 Cerr <<
que_suis_je()<<
" equation discretization" << finl;
129 Cerr <<
"Error for Transport_Fluctuation_Temperature_W::operateur(int i)" << finl;
130 Cerr <<
"Transport_Fluctuation_Temperature_W has " <<
nombre_d_operateurs() <<
" operators "<<finl;
131 Cerr <<
"and you are trying to access the " << i <<
" th one."<< finl;
160 Cerr <<
"Error for Transport_Fluctuation_Temperature_W::operateur(int i)" << finl;
161 Cerr <<
"Transport_Fluctuation_Temperature_W has " <<
nombre_d_operateurs() <<
" operators "<<finl;
162 Cerr <<
"and you are trying to access the " << i <<
" th one."<< finl;
183 Cerr <<
"No fluid has been associated to"
184 <<
"Transport_Fluctuation_Temperature_W equation." << finl;
187 return le_fluide.valeur();
194 Cerr <<
"No fluid has been associated to"
195 <<
"Transport_Fluctuation_Temperature_W equation." << finl;
198 return le_fluide.valeur();
203 static Motcle domaine =
"Thermique";
214 mon_modele_Fluctu_Temp = modele;
221 static const double LIM = 1.e-10;
222 DoubleTab& fluctuation = le_champ_Fluctu_Temperature->valeurs();
224 for (
int n=0; n<size; n++)
229 if ( fluctuation(n,0) <= LIM)
230 fluctuation(n,0) = 0.;
231 if ( fluctuation(n,1) <= LIM)
232 fluctuation(n,1)= 0.;
Convection_Diffusion_std This class is the base for equations modelling the transport.
void set_param(Param &titi) const override
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
Operateur_Conv terme_convectif
Class Discret_Thermique: base class representing a spatial discretisation applied to thermal problems...
void Fluctu_Temperature(const Schema_Temps_base &, Domaine_dis_base &, OWN_PTR(Champ_Inc_base)&) const
Class defining operators and methods for all reading operation in an input flow (file,...
class Equation_base The role of an equation is the calculation of one or more fields....
virtual const Milieu_base & milieu() const =0
virtual void associer_domaine_dis(const Domaine_dis_base &)
Associates the discretized domain with the equation.
virtual void associer_pb_base(const Probleme_base &)
Associates with the Problem passed as parameter.
const Discretisation_base & discretisation() const
Returns the discretization associated with the equation.
virtual void completer()
Completes the construction (initialization) of objects associated with the equation.
Probleme_base & probleme()
Returns the problem associated with the equation.
virtual void associer_sch_tps_base(const Schema_Temps_base &)
Associates the time scheme with the equation.
Schema_Temps_base & schema_temps()
Returns the time scheme associated with the equation.
virtual void discretiser()
Discretizes the equation.
Champs_compris champs_compris_
Domaine_dis_base & domaine_dis()
Returns the discretized domain associated with the equation.
Base class for an incompressible fluid and its properties:
Milieu_base This class is the base of the (physical) medium hierarchy.
Convection_Diffusion_std & equation()
A character string (Nom) in uppercase.
const Nom & que_suis_je() const
Returns the string identifying the class.
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
class Operateur Generic class of the operator hierarchy.
Helper class to factorize the readOn method of Objet_U classes.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
void typer(const Nom &, const Equation_base &)
Types the source by computing the required type name from the provided parameters.
_SIZE_ dimension(int d) const
Op_Diff_Fluctu_Temp terme_diffusif
const Operateur & operateur(int) const override
surcharge de la methode d'Equation_base.
void set_param(Param &titi) const override
const Milieu_base & milieu() const override
Transport_Fluctuation_Temperature_W()
void completer() override
Completes the construction (initialization) of objects associated with the equation.
const Motcle & domaine_application() const override
Returns "indeterminate" Navier_Stokes_standard for example overrides this method.
int nombre_d_operateurs() const override
surcharge de la methode d'Equation_base.
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
void associer_milieu_base(const Milieu_base &) override
association entre Transport_Fluctuation_Temperature_W et Milieu_base.
void associer_modele_turbulence(const Modele_turbulence_scal_Fluctuation_Temperature_W &)
void discretiser() override
Discretizes the equation.