16#include <Portance_interfaciale_Sugrue_Modifiee.h>
17#include <Frottement_interfacial_base.h>
18#include <Pb_Multiphase.h>
19#include <Sources_helpers_Multiphase.h>
32 param.ajouter(
"constante_gravitation", &
g_);
33 param.lire_avec_accolades_depuis(is);
45 for (
int k = 0; k < N; k++)
48 const int ind_trav = sigma_pair_index(k,
n_l, N);
53 double dv0 = 0.2, epsilon = 1.e-4;
54 int step = 1, iter_max = 20;
55 DoubleTab dv(N, N), coeff(N, N, 2);
59 for (
int n = 0; n < N ; n++)
62 sum_alpha += alpha_l(n);
64 for (
int n = 0; n < N ; n++)
65 alpha_l(n) /= sum_alpha;
80 const double Wo = std::min(Eo * in.
k_turb[
n_l]/std::max(dv0*dv0, 1.e-8) , 6.);
81 const double f_Wo = std::min(0.03, 5.0404 - 5.0781*std::pow(Wo, 0.0108));
82 const double f_alp = in.
alpha[k] < .7 ? 1 : (in.
alpha[k] > .95 ? 0 : (.95 - in.
alpha[k])/.25);
83 const double Cl = f_Wo*f_alp ;
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.
virtual 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 =0
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.
Multiphase thermohydraulics problem of type "3*N equations":
Modified Sugrue lift coefficient for deformable bubbly flow.
void coefficient(const input_t &input, output_t &output) const override
Base class for interfacial lift force operators of the form:
int find_liquid_phase() const
Finds the continuous liquid phase index in a multiphase problem.
const Correlation_base & get_correlation(std::string nom_correlation) 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