16#include <Modele_turbulence_scal_base.h>
17#include <Navier_Stokes_std.h>
18#include <Op_Dift_EF_base.h>
22Op_Dift_EF_base::Op_Dift_EF_base()
40 le_modele_turbulence = mod;
47 if ( le_modele_turbulence->utiliser_loi_paroi())
51 const DoubleTab& tab = le_modele_turbulence->loi_paroi().Cisaillement_paroi();
79 Cerr <<
"Error in Op_Dift_EF::completer() " << finl;
81 Cerr <<
"instead of being associated to an equation dedicated to a turbulent flow."<<finl;
88 const Domaine_EF& le_dom_ef = le_dom_EF.valeur();
89 int nb_elem = le_dom_ef.
nb_elem();
91 for (
int elem=0; elem<nb_elem; elem++)
97 double coef = 1./(2*(dt_conv+DMINFLOAT)*
dimension*h_inv*dt_diff_sur_dt_conv) - diffu;
98 if (coef>0 && coef<borne_visco_turb(elem))
99 borne_visco_turb(elem) = coef;
class Champ_Fonc_base Base class of fields that are functions of a calculated quantity
virtual DoubleTab & valeurs()=0
double carre_pas_maille(int i) const
Class defining operators and methods for all reading operation in an input flow (file,...
virtual const RefObjU & get_modele(Type_modele type) const
Base class for the turbulence model hierarchy for Navier-Stokes equations.
const Champ_Fonc_base & viscosite_turbulente() const
Base class for scalar turbulence models coupled to a Navier-Stokes convection-diffusion equation.
const Champ_Fonc_base & conductivite_turbulente() const
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
Navier_Stokes_std This class carries the terms of the momentum equation.
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 Op_Diff_EF_base Base class for EF diffusion operators.
void associer_diffusivite_turbulente(const Champ_Fonc_base &)
void mettre_a_jour(double temps) override
DOES NOTHING - to override in derived classes.
void calculer_borne_locale(DoubleVect &, double, double) const override
void associer_modele_turbulence(const Modele_turbulence_hyd_base &)
void completer() override
Associates the operator with the domaine_dis, the domaine_Cl_dis, and the unknown of its equation.
void marque_elem(const Equation_base &eqn)
virtual const Champ_base & diffusivite() const =0
virtual void completer()
Associates the operator with the domaine_dis, the domaine_Cl_dis, and the unknown of its equation.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
virtual void declare_support_masse_volumique(int ok)
The constructor of a derived class that uses the density field must call this function with the value...
_SIZE_ size_array() const
_SIZE_ dimension(int d) const
const Objet_U & valeur() const