16#include <Transport_Flux_Chaleur_Turbulente.h>
17#include <Modele_turbulence_scal_Fluctuation_Temperature.h>
18#include <Discret_Thermique.h>
19#include <Les_Pb_Turb.h>
22#include <Fluide_base.h>
51 const Probleme_base& pb =
probleme();
52 Cerr <<
"Construction and typing for the source term of the Transport_Flux_Chaleur_Turbulente transport equation." << finl;
53 if (sub_type(Pb_Thermohydraulique_Turbulent,pb))
55 Nom typ =
"Source_Transport_Flux_Chaleur_Turbulente";
58 so->associer_eqn(*
this);
72 Cerr <<
"Reading and typing of the diffusion operator : " << finl;
112 Cerr <<
"Error for Transport_Flux_Chaleur_Turbulente::operateur(int i)" << finl;
113 Cerr <<
"Transport_Flux_Chaleur_Turbulente has " <<
nombre_d_operateurs() <<
" operators "<<finl;
114 Cerr <<
"and you are trying to access the " << i <<
" th one."<<finl;
143 Cerr <<
"Error for Transport_Flux_Chaleur_Turbulente::operateur(int i)" << finl;
144 Cerr <<
"Transport_Flux_Chaleur_Turbulente has " <<
nombre_d_operateurs() <<
" operators "<<finl;
145 Cerr <<
"and you are trying to access the " << i <<
" th one."<<finl;
154 Cerr <<
"Method Transport_Flux_Chaleur_Turbulente::completer() " << finl;
161 le_dom_Cl_dis->completer();
169 Cerr <<
que_suis_je()<<
" equation discretization" << finl;
184 Cerr <<
"No fluid has been associated to"
185 <<
"Transport_Flux_Chaleur_Turbulente equation." << finl;
188 return le_fluide.valeur();
195 Cerr <<
"No fluid has been associated to"
196 <<
"Transport_Flux_Chaleur_Turbulente equation." << finl;
199 return le_fluide.valeur();
212 mon_modele_fluctu = modele;
218 static Motcle domaine =
"Thermique";
224 static const double LIM = 1.e+2;
225 DoubleTab& chaleur = le_Flux_Chaleur_Turbulente->valeurs();
227 for (
int n=0; n<size; n++)
229 if ( (chaleur(n) >= LIM) || (chaleur(n) <= -LIM) )
virtual void associer_eqn(const Equation_base &)
Associates the field with the equation of which it represents an unknown.
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.
Class Discret_Thermique: base class representing a spatial discretisation applied to thermal problems...
void Flux_Chaleur_Turb(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 const Champ_Inc_base & inconnue() const =0
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.
virtual void completer()
Updates the references of the objects associated with the operator.
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
Operateur_Conv terme_convectif
const Motcle & domaine_application() const override
Returns "indeterminate" Navier_Stokes_standard for example overrides this method.
void associer_modele_turbulence(const Modele_turbulence_scal_Fluctuation_Temperature &)
void discretiser() override
Discretizes the equation.
void associer_milieu_base(const Milieu_base &) override
int nombre_d_operateurs() const override
surcharge de la methode d'Equation_base.
const Milieu_base & milieu() const override
void associer_vitesse(const Champ_Inc_base &)
Op_Diff_Flux_Chaleur_Turb terme_diffusif
Transport_Flux_Chaleur_Turbulente()
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
void set_param(Param &titi) const override
void completer() override
Completes the construction (initialization) of objects associated with the equation.
const Champ_Inc_base & inconnue() const override
renvoie le champ inconnue.
const Operateur & operateur(int) const override
surcharge de la methode d'Equation_base.