16#include <Frottement_interfacial_bulles_composant.h>
17#include <Pb_Multiphase.h>
32 param.lire_avec_accolades_depuis(is);
34 const Pb_Multiphase *pbm = sub_type(Pb_Multiphase, pb_.valeur()) ? &ref_cast(Pb_Multiphase, pb_.valeur()) : nullptr;
42 const DoubleTab& rho,
const DoubleTab& mu,
const DoubleTab& sigma,
double Dh,
43 const DoubleTab& ndv,
const DoubleTab& d_bulles, DoubleTab& coeff)
const
51 for (k = 0; k < N; k++) rho_m += alpha(k) * rho(k);
52 for (k = 0; k < N; k++)
53 for (l = 0; l < N; l++)
55 if (
r_bulle_>0) coeff(k, l, 0) = (coeff(k, l, 1) = 1. / 8 *
C_d_ * 3 * alpha(k) * alpha(l) /
r_bulle_ * rho_m) * ndv(k, l);
Class defining operators and methods for all reading operation in an input flow (file,...
Frottement_interfacial_base class: utility for interfacial friction operators taking the form.
Interfacial friction coefficients for a bubbly flow (component-based).
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
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.
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