16#include <Portance_interfaciale_Sugrue.h>
17#include <Pb_Multiphase.h>
30 param.ajouter(
"constante_gravitation", &
g_);
31 param.lire_avec_accolades_depuis(is);
33 const Pb_Multiphase *pbm = sub_type(Pb_Multiphase, pb_.valeur()) ? &ref_cast(Pb_Multiphase, pb_.valeur()) : nullptr;
36 for (
int n = 0; n < pbm->
nb_phases(); n++)
48 for (k = 0; k < N; k++)
51 int ind_trav = (k>
n_l) ? (
n_l*(N-1)-(
n_l-1)*(
n_l)/2) + (k-
n_l-1) : (k*(N-1)-(k-1)*(k)/2) + (
n_l-k-1);
55 double f_Wo = std::min(0.03, 5.0404 - 5.0781*std::pow(Wo, 0.0108));
56 double f_alp= std::max(1.0155-0.0154*std::exp(8.0506*in.
alpha[k]), 0.);
57 double Cl = f_Wo*f_alp ;
Class defining operators and methods for all reading operation in an input flow (file,...
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
Interfacial lift coefficients for deformable bubbly flows (Sugrue/Tomiyama model).
void coefficient(const input_t &input, output_t &output) const override
Base class for interfacial lift force operators of the form:
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
_SIZE_ dimension(int d) const