16#include <Source_Portance_interfaciale_base.h>
17#include <Portance_interfaciale_base.h>
18#include <Pb_Multiphase.h>
19#include <Discret_Thyd.h>
31 param.ajouter(
"beta", &
beta_);
32 param.ajouter(
"g", &
g_);
33 param.lire_avec_accolades_depuis(is);
35 Pb_Multiphase *pbm = sub_type(Pb_Multiphase,
equation().probleme()) ? &ref_cast(Pb_Multiphase,
equation().probleme()) : nullptr;
40 if (!res_en_T)
Process::exit(
"Source_Portance_interfaciale_base::readOn NOT YET PORTED TO ENTHALPY EQUATION ! TODO FIXME !!");
42 for (
int n = 0; n < pbm->
nb_phases(); n++)
57 if (motlu ==
"wobble")
63 Noms noms(N), unites(N);
66 Motcle typeChamp =
"champ_elem" ;
71 if (motlu ==
"C_lift")
77 Noms noms(N), unites(N);
80 Motcle typeChamp =
"champ_elem" ;
static void typer_lire_correlation(OWN_PTR(Correlation_base)&, const Probleme_base &, const Nom &, Entree &)
class Discret_Thyd This class is the base class representing a discretization
void discretiser_champ(const Motcle &directive, const Domaine_dis_base &z, const Nom &nom, const Nom &unite, int nb_comp, int nb_pas_dt, double temps, OWN_PTR(Champ_Inc_base)&champ, const Nom &sous_type=NOM_VIDE) const
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
Class defining operators and methods for all reading operation in an input flow (file,...
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
A character string (Nom) in uppercase.
virtual int debute_par(const char *const n) const
An array of character strings (VECT(Nom)).
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":
virtual bool resolution_en_T() const
const Nom & nom_phase(int i) const
void creer_champ(const Motcle &motlu) override
const Discretisation_base & discretisation() const
Returns the discretization associated with the problem.
int has_correlation(std::string nom_correlation) const
const Correlation_base & get_correlation(std::string nom_correlation) const
const Domaine_dis_base & domaine_dis() const
Returns the discretized domain associated with the problem (const version).
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
Interfacial lift force source term of the form:
void creer_champ(const Motcle &motlu) override
void completer() override
Updates internal references of the Source_base object.
Champs_compris champs_compris_
bool has_champ(const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override