16#include <Frottement_interfacial_Wallis.h>
17#include <Pb_Multiphase.h>
30 param.lire_avec_accolades_depuis(is);
33 const Pb_Multiphase *pbm = sub_type(Pb_Multiphase, pb_.valeur()) ? &ref_cast(Pb_Multiphase, pb_.valeur()) : nullptr;
35 for (
int n = 0; n < pbm->
nb_phases(); n++)
46 const DoubleTab& rho,
const DoubleTab& mu,
const DoubleTab& sigma,
double Dh,
47 const DoubleTab& ndv,
const DoubleTab& d_bulles, DoubleTab& coeff)
const
49 double A_i = 4 * sqrt(alpha(
n_g)) / Dh,
50 d_f = Dh / 2 * (1 - sqrt(alpha(
n_g))),
51 Cf = 0.005 * (1 + 300 * d_f / Dh);
Class defining operators and methods for all reading operation in an input flow (file,...
Interfacial friction coefficients for annular flow using the Wallis correlation. Parameters: none.
void coefficient(const DoubleTab &alpha, const DoubleTab &p, const DoubleTab &T, const DoubleTab &rho, const DoubleTab &mu, const DoubleTab &sigma, double Dh, const DoubleTab &ndv, const DoubleTab &d_bulles, DoubleTab &coeff) const override
Frottement_interfacial_base class: utility for interfacial friction operators taking the form.
virtual int debute_par(const char *const n) const
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.
const Nom & nom_phase(int i) const
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.