16#include <Portance_interfaciale_Tomiyama.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_Eo = .00105*Eo*Eo*Eo - .0159*Eo*Eo - .0204*Eo + .474;
57 if (Eo<4) Cl = std::min( .288*std::tanh( .121*Re ), f_Eo) ;
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 a deformable bubbly flow (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