16#include <Frottement_interfacial_Sonnenburg.h>
17#include <Pb_Multiphase.h>
31 param.lire_avec_accolades_depuis(is);
34 const Pb_Multiphase *pbm = sub_type(Pb_Multiphase, pb_.valeur()) ? &ref_cast(Pb_Multiphase, pb_.valeur()) : nullptr;
37 for (
int n = 0; n < pbm->
nb_phases(); n++)
48 const DoubleTab& rho,
const DoubleTab& mu,
const DoubleTab& sigma,
double Dh,
49 const DoubleTab& ndv,
const DoubleTab& d_bulles, DoubleTab& coeff)
const
52 if (alpha(
n_l) < 1e-8 || alpha(
n_g) < 1e-8)
return;
53 double a_u = 32, b_u = 9. / 16 * sqrt(rho(
n_g) / rho(
n_l)), c_u = 40, alp = std::min(std::max(alpha(
n_g), 1e-3), 0.999),
54 fac = 16. / 9 * (1 - alp * (1 - b_u)) / (tanh(a_u * alp) * (1 - std::pow(alp, c_u)));
Class defining operators and methods for all reading operation in an input flow (file,...
Interfacial friction coefficients corresponding to the Sonnenburg drift-flux correlation,...
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.