16#include <Transport_K_Omega.h>
17#include <Modele_turbulence_hyd_RANS_K_Omega_base.h>
18#include <Transport_2eq_base.h>
19#include <Modele_turbulence_hyd_K_Omega.h>
20#include <Fluide_Quasi_Compressible.h>
21#include <Discretisation_base.h>
22#include <Transport_K_Omega.h>
23#include <Probleme_base.h>
24#include <Equation_base.h>
25#include <Les_Pb_Turb.h>
74 Cerr <<
"Construction and typing for the source term of the Transport_K_Omega equation." << finl;
81 Nom typ =
"Source_Transport_K_Omega";
82 Cerr <<
"TYPAGE DES SOURCES : this " << *
this << finl;
85 so->associer_eqn(*
this);
93 if (mot ==
"diffusion")
95 Cerr <<
"Reading and typing of the diffusion operator : " << finl;
99 Cerr <<
"Paramètre with_nu_ nul. Association d'un champ uniforme nul pour la diffusion."
101 EChaine tt(
"Champ_Uniforme 1 0");
102 tt >> Champ_don_nul_;
116 else if (mot ==
"convection")
118 Cerr <<
"Reading and typing of the convection operator : " << finl;
125 else if (mot ==
"ecrire_fichier_xyz_valeur")
127 Cerr << mot <<
" is not understood by " <<
que_suis_je() << finl;
128 Cerr <<
"Use this keyword in the Navier Stokes equation, not in turbulence equation, please." << finl;
148 le_modele = mon_modele.
valeur();
149 liste_modeles_.add_if_not(le_modele);
197 Cerr <<
"Error for Transport_K_Omega::operateur("<<i<<
") !! " << finl;
199 Cerr <<
"and you are trying to access the " << i <<
" th one."<< finl;
223 Cerr <<
"Error for Transport_K_Omega::operateur("<<i<<
") !! " << finl;
225 Cerr <<
"and you are trying to access the " << i <<
" th one."<< finl;
241 static Motcle domaine =
"Transport_Komega";
An input stream whose source is a character string.
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 const Champ_Inc_base & inconnue() const =0
virtual void completer()
Completes the construction (initialization) of objects associated with the equation.
virtual Domaine_Cl_dis_base & domaine_Cl_dis()
Returns the discretized boundary condition domain associated with the equation.
Probleme_base & probleme()
Returns the problem associated with the equation.
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
virtual DoubleTab & corriger_derivee_impl(DoubleTab &)
Domaine_dis_base & domaine_dis()
Returns the discretized domain associated with the equation.
Fluide_Quasi_Compressible class This class represents a quasi-compressible fluid,.
Base class for an incompressible fluid and its properties:
const Champ_Don_base & viscosite_dynamique() const
const Champ_Don_base & viscosite_cinematique() const
Classe Modele_turbulence_hyd_2_eq_base Classe de base des modeles de type RANS a deux equations.
Classe Modele_turbulence_hyd_K_Omega Cette classe represente le modele de turbulence (k,...
const Turbulence_paroi_base & loi_paroi() const
Equation_base & equation()
Returns the equation associated with the turbulence model.
A character string (Nom) in uppercase.
class Nom: a character string for naming TRUST objects.
bool contient(const Nom &nom) const
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.
void dictionnaire(const char *option_name, int value)
Add an (option name, integer value) entry to the dictionary attached to a previously registered integ...
void ajouter(const char *keyword, const int *value, Param::Nature nat=Param::OPTIONAL)
Register an integer parameter.
Turbulent hydraulics problem.
Turbulent thermohydraulics problem.
class Probleme_base It is a Probleme_U that is not a coupling.
virtual const Equation_base & equation(int) const =0
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
Source Generic class of the source term hierarchy. A Source object can.
void typer(const Nom &, const Equation_base &)
Types the source by computing the required type name from the provided parameters.
const Objet_U & valeur() const
Operateur_Conv terme_convectif
void associer_vitesse(const Champ_base &)
Milieu_base & milieu() override
Renvoie le milieu (fluide) associe a l'equation.
const Modele_turbulence_hyd_2_eq_base & modele_turbulence() const
Renvoie le modele de turbulence associe a l'equation.
Operateur_Diff terme_diffusif
void associer(const Equation_base &)
void associer_milieu_base(const Milieu_base &) override
Associe un milieu physique a l'equation.
Entree & lire_op_diff_turbulent(Entree &is)
Classe Transport_K_Omega_base Classe de base pour les equations.
const Champ_Inc_base & inconnue() const override
Renvoie le champ inconnue de l'equation.
virtual void set_param(Param &) const override
classe Transport_K_Omega Cette classe represente l'equation de transport de l'energie cinetique
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
const Motcle & domaine_application() const override
Renvoie le nom du domaine d'application de l'equation.
int nombre_d_operateurs() const override
Renvoie le nombre d'operateurs de l'equation.
void associer_modele_turbulence(const Modele_turbulence_hyd_2_eq_base &) override
Associe un modele de turbulence K-Omega a l'equation.
Operateur_Grad Op_Grad_komega
DoubleTab & corriger_derivee_impl(DoubleTab &d) override
void set_param(Param ¶m) const override
const Operateur & operateur(int) const override
Renvoie l'operateur specifie par son index: renvoie terme_diffusif si i = 0.
void completer() override
Methode to associate the gradient operator.
Base class for the hierarchy of wall-law models computing turbulent quantities near walls....
virtual DoubleTab & corriger_derivee_impl(DoubleTab &d) const