16#include <Perte_Charge_Circulaire_PolyMAC_CDO_Face.h>
29 Cerr <<
"The direction field must be defined with " <<
dimension <<
" components" << finl;
51 else if (mot ==
"lambda_ortho")
58 double dh,
double nu,
double reynolds,
double& coeff_ortho,
59 double& coeff_long,
double& u_l, DoubleVect& av_valeur)
const
61 coeffs_perte_charge_impl(u, pos, t, norme_u, dh, nu, reynolds,
K_, coeff_ortho, coeff_long, u_l, av_valeur,
lambda);
75 Cerr <<
"The direction field must be defined with " <<
dimension <<
" components" << finl;
97 else if (mot ==
"lambda_ortho")
104 double dh,
double nu,
double reynolds,
double& coeff_ortho,
105 double& coeff_long,
double& u_l, DoubleVect& av_valeur)
const
107 coeffs_perte_charge_impl(u, pos, t, norme_u, dh, nu, reynolds,
K_, coeff_ortho, coeff_long, u_l, av_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.
v
Direction vector of the pressure drop.
int lire_motcle_non_standard_impl(const Motcle &, Entree &)
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.
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).
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
Implements the effective computation of the pressure drop for a given location.
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.