16#include <Frottement_interfacial_Simonnet.h>
17#include <Pb_Multiphase.h>
18#include <Milieu_composite.h>
32 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++)
43 const DoubleTab& rho,
const DoubleTab& mu,
const DoubleTab& sigma,
double Dh,
44 const DoubleTab& ndv,
const DoubleTab& d_bulles, DoubleTab& coeff)
const
52 ndv, d_bulles, coeff);
55 for (
int k = 0; k < N; k++)
58 double correction = ( alpha(
n_l) < 1.e-6 ) ? alpha(
n_l) * std::pow( std::pow(1.e-6,
m_) + std::pow(4.8*alpha(k)/1.e-6,
m_) , -2./
m_) :
59 alpha(
n_l) * std::pow( std::pow(alpha(
n_l),
m_) + std::pow(4.8*alpha(k)/alpha(
n_l),
m_) , -2./
m_) ;
61 coeff(k,
n_l, 1) *= correction ;
62 coeff(k,
n_l, 0) *= correction ;
63 coeff(
n_l, k, 0) *= correction ;
64 coeff(
n_l, k, 1) *= correction ;
static void typer_lire_correlation(OWN_PTR(Correlation_base)&, const Probleme_base &, const Nom &, Entree &)
Class defining operators and methods for all reading operation in an input flow (file,...
Interfacial friction coefficients for a bubbly flow, accounting for density effects.
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.
_SIZE_ dimension(int d) const