16#include <Op_Diff_Turbulent_PolyMAC_MPFA_Elem.h>
17#include <Op_Diff_Turbulent_PolyMAC_MPFA_Face.h>
18#include <Probleme_base.h>
33void Op_Diff_Turbulent_PolyMAC_MPFA_Elem::get_noms_champs_postraitables(
Noms& nom,Option opt)
const
39void Op_Diff_Turbulent_PolyMAC_MPFA_Elem::creer_champ(
const Motcle& motlu)
45void Op_Diff_Turbulent_PolyMAC_MPFA_Elem::mettre_a_jour(
double temps)
58void Op_Diff_Turbulent_PolyMAC_MPFA_Elem::modifier_mu(DoubleTab& mu)
const
63 if (!sub_type(Op_Diff_Turbulent_PolyMAC_MPFA_Face, op_qdm))
65 Cerr <<
"Error in " <<
que_suis_je() <<
": no turbulent momentum diffusion found!" << finl;
69 const Correlation_base& corr_visc_qdm = ref_cast(Op_Diff_Turbulent_PolyMAC_MPFA_Face, op_qdm).correlation();
70 if (!corr_ || !sub_type(Viscosite_turbulente_base, corr_visc_qdm))
72 Cerr <<
"Error in " <<
que_suis_je() <<
": no turbulent viscosity correlation found!" << finl;
82 for (
int j = 0; j < diff_turb.
line_size(); j++)
83 diff_turb(i,j) -= mu(i,j);
86 ref_cast(Transport_turbulent_base, corr_.valeur()).modifier_mu(ref_cast(Convection_Diffusion_std,
equation()),
87 ref_cast(Viscosite_turbulente_base, corr_visc_qdm),
93 for (
int j = 0; j < diff_turb.
line_size(); j++)
94 diff_turb(i,j) += mu(i,j);
virtual void creer_champ(const Motcle &motlu)=0
virtual void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const =0
static void typer_lire_correlation(OWN_PTR(Correlation_base)&, const Probleme_base &, const Nom &, Entree &)
Class defining operators and methods for all reading operation in an input flow (file,...
Probleme_base & probleme()
Returns the problem associated with the equation.
virtual const Operateur & operateur(int) const =0
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
A character string (Nom) in uppercase.
An array of character strings (VECT(Nom)).
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.
void mettre_a_jour(double t) override
DOES NOTHING - to override in derived classes.
void completer() override
Associates the operator with the domaine_dis, the domaine_Cl_dis, and the unknown of its equation.
: class Op_Diff_Turbulent_PolyMAC_MPFA_Elem
void associer_proto(const Probleme_base &, Champs_compris &)
void ajout_champs_proto_elem()
void mettre_a_jour_proto_elem(const double temps)
void creer_champ_proto_elem(const Motcle &motlu)
void completer_proto_elem(const Operateur_Diff_base &op)
DoubleTab nu_ou_lambda_turb_
void get_noms_champs_postraitables_proto(const Nom &, Noms &nom, Option opt) const
Champs_compris champs_compris_
virtual void completer()
Associates the operator with the domaine_dis, the domaine_Cl_dis, and the unknown of its equation.
virtual Operateur_base & l_op_base()=0
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.
_SIZE_ dimension_tot(int) const override
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")