16#include <Flux_interfacial_Zeitoun.h>
17#include <Pb_Multiphase.h>
29 param.ajouter(
"dv_min", &
dv_min_);
30 param.lire_avec_accolades_depuis(is);
39 for (
int n = 0; n < pbm->
nb_phases(); n++)
44 if (!pbm->
has_champ(
"diametre_bulles"))
Process::exit(
"Flux_interfacial_Ranz_Mashall : bubble diameter needed !");
64 for (k = 0; k < N; k++)
67 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);
68 if ( in.
T[k] > in.
T[
n_l])
75 double dTl_Ja = (in.
T[k] - in.
T[
n_l] > 2.) ? - in.
rho[
n_l] * in.
Cp[
n_l] / (in.
rho[k] * in.
Lvap[ind_trav] ) : 0. ;
77 double Nu = 2.04* std::pow(Re_b, .61)* std::pow(std::max(in.
alpha[k],
a_min_coeff), 0.328)* std::pow(Ja, -0.308);
78 double da_Nu = 2.04* std::pow(Re_b, .61)*( (in.
alpha[k] >
a_min_coeff) ? 0.328*std::pow(in.
alpha[k], 0.328-1.) : 0. )* std::pow(Ja, -1.308);
79 double dP_Nu = 2.04* std::pow(Re_b, .61)* std::pow(std::max(in.
alpha[k],
a_min_coeff), 0.328)* -.308*dP_Ja *std::pow(Ja, -1.308);
80 double dTk_Nu = 2.04* std::pow(Re_b, .61)* std::pow(std::max(in.
alpha[k],
a_min_coeff), 0.328)* -.308*dTk_Ja *std::pow(Ja, -1.308);
81 double dTl_Nu = 2.04* std::pow(Re_b, .61)* std::pow(std::max(in.
alpha[k],
a_min_coeff), 0.328)* -.308*dTl_Ja *std::pow(Ja, -1.308);
94 double hi_loc = out.
hi(
n_l, k);
102 out.
hi(
n_l, k) = 1.e8;
107 out.
hi(k,
n_l) = 1e8;
Class defining operators and methods for all reading operation in an input flow (file,...
Zeitoun interfacial heat flux correlation.
void coeffs(const input_t &in, output_t &out) const override
void completer() override
Base class for interfacial heat flux correlations of 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.
Multiphase thermohydraulics problem of type "3*N equations":
const Nom & nom_phase(int i) const
bool has_champ(const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Carries the terms of the momentum equation for multiphase flow without turbulence modelling.
Base class for output streams.
_SIZE_ dimension(int d) const