16#include <Modele_turbulence_scal_Schmidt.h>
17#include <Modifier_pour_fluide_dilatable.h>
18#include <Convection_Diffusion_std.h>
32 Cerr <<
"The value of the turbulent Schmidt number is " <<
LeScturb_ << finl;
50 if (mot ==
Motcle(
"diffusion_turbulente"))
65 if (mot ==
Motcle(
"diffusion_turbulente"))
84 DoubleTab& lambda_t = conductivite_turbulente_->valeurs();
86 if (
equation().probleme().is_dilatable())
87 multiplier_par_rho_si_dilatable(lambda_t, mil);
88 conductivite_turbulente_->valeurs().echange_espace_virtuel();
102 const DoubleTab& nu_t = la_viscosite_turbulente_->valeurs();
103 double temps = la_viscosite_turbulente_->temps();
104 int n = alpha_t.
size();
105 if (nu_t.
size() != n)
107 Cerr <<
"The DoubleTab arrays of diffusivite_turbulente and viscosite_turbulente fields" << finl;
108 Cerr <<
"must have the same number of nodal values" << finl;
112 for (
int i = 0; i < n; i++)
115 if (
equation().probleme().is_dilatable())
class Champ_Fonc_base Base class of fields that are functions of a calculated quantity
class Champ_base This class is the base of the fields hierarchy.
Class defining operators and methods for all reading operation in an input flow (file,...
Probleme_base & probleme()
Returns the problem associated with the equation.
Milieu_base This class is the base of the (physical) medium hierarchy.
Scalar turbulence model using the turbulent Schmidt number to compute turbulent diffusion:
virtual int a_pour_Champ_Fonc(const Motcle &, OBS_PTR(Champ_base)&) const
Returns 1 if a functional field (Champ_Fonc) with the specified name is owned by the turbulence model...
void mettre_a_jour(double) override
Computes the turbulent coefficient used in the equation and the wall law.
virtual int comprend_champ(const Motcle &) const
Returns 1 if the keyword passed as parameter is a field name of the object.
Champ_Fonc_base & calculer_diffusion_turbulente()
Computes the turbulent diffusion.
void set_param(Param &) const override
Convection_Diffusion_std & equation()
virtual void set_param(Param &) const override
int loi_paroi_non_nulle() const
Returns whether a wall law is set (const version).
Base class for scalar turbulence models that compute turbulent diffusivity as:
OBS_PTR(Champ_Fonc_base) la_viscosite_turbulente_
A character string (Nom) in uppercase.
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.
Helper class to factorize the readOn method of Objet_U classes.
void ajouter(const char *keyword, const int *value, Param::Nature nat=Param::OPTIONAL)
Register an integer parameter.
virtual const Milieu_base & milieu() const
Returns the physical medium associated with the problem (const version).
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.