16#include <Perte_Charge_Anisotrope_PolyMAC_CDO_Face.h>
29 Cerr <<
"The direction field must be defined with " <<
dimension <<
" components" << finl;
44 if (mot ==
"lambda_ortho")
51 double dh,
double nu,
double reynolds,
double& coeff_ortho,
52 double& coeff_long,
double& u_l, DoubleVect& v_valeur)
const
54 coeffs_perte_charge_impl(u, pos, t, norme_u, dh, nu, reynolds,
K_, coeff_ortho, coeff_long, u_l, v_valeur,
lambda);
68 Cerr <<
"The direction field must be defined with " <<
dimension <<
" components" << finl;
83 if (mot ==
"lambda_ortho")
90 double dh,
double nu,
double reynolds,
double& coeff_ortho,
91 double& coeff_long,
double& u_l, DoubleVect& v_valeur)
const
93 coeffs_perte_charge_impl(u, pos, t, norme_u, dh, nu, reynolds,
K_, coeff_ortho, coeff_long, u_l, v_valeur,
lambda);
Class defining operators and methods for all reading operation in an input flow (file,...
A character string (Nom) in uppercase.
virtual void set_param(Param &) const
virtual int lire_motcle_non_standard(const Motcle &motlu, Entree &is)
Reads non-simple-type parameters of an Objet_U from an input stream.
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 coeffs_perte_charge_impl(const DoubleVect &, const DoubleVect &, double, double, double, double, double, double, double &, double &, double &, DoubleVect &, Parser_U &) const
Implements the effective computation of the pressure drop for a given location.
int lire_motcle_non_standard_impl(const Motcle &, Entree &)
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.
void ajouter_non_std(const char *keyword, const Objet_U *value, Param::Nature nat=Param::OPTIONAL)
Register a keyword handled by Objet_U::lire_motcle_non_standard.
Anisotropic pressure drop (along a unit vector v and in the plane orthogonal to this vector).
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
void coeffs_perte_charge(const DoubleVect &, const DoubleVect &, double, double, double, double, double, double &, double &, double &, DoubleVect &) const override
Implements the effective computation of the pressure drop for a given location.
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.
void coeffs_perte_charge(const DoubleVect &, const DoubleVect &, double, double, double, double, double, double &, double &, double &, DoubleVect &) const override
Called for each face by ajouter().
void set_param(Param &titi) const override
Factorises the features of several pressure drop classes in VEF, face velocity.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.