16#include <Source_Frottement_interfacial_base.h>
17#include <Champ_Face_base.h>
18#include <Pb_Multiphase.h>
19#include <Matrix_tools.h>
20#include <Array_tools.h>
21#include <Domaine_VF.h>
30 param.ajouter(
"a_res", &
a_res_);
31 param.ajouter(
"dv_min", &
dv_min);
32 param.ajouter(
"exp_res", &
exp_res);
33 param.ajouter(
"beta", &
beta_);
34 param.lire_avec_accolades_depuis(is);
36 const Pb_Multiphase& pbm = ref_cast(Pb_Multiphase,
equation().probleme());
39 if (!res_en_T)
Process::exit(
"Source_Frottement_interfacial_base::readOn NOT YET PORTED TO ENTHALPY EQUATION ! TODO FIXME !!");
61 const DoubleTab& inco = ch.
valeurs();
62 const IntTab& fcl = ch.
fcl();
65 Stencil stencil(0, 2);
69 for (f = 0; f < domaine.nb_faces(); f++)
72 for (k = 0; k < N; k++)
73 for (l = 0; l < N; l++) stencil.
append_line(N * f + k, N * f + l);
80 tableau_trier_retirer_doublons(stencil);
const IntTab & fcl() const
DoubleTab & valeurs() override
Returns the array of field values at the current time.
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,...
const Nom & le_nom() const override
Returns the name of the field.
Matrice_Morse class - Represents a (sparse) matrix M, not necessarily square,.
int nb_colonnes() const override
Return local number of columns (=size on the current proc).
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
const std::string & getString() 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.
virtual bool resolution_en_T() const
int has_correlation(std::string nom_correlation) const
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.
Carries the terms of the momentum equation for multiphase flow without turbulence modelling.
Base class for output streams.
Interfacial friction source term of the form:
void dimensionner_blocs(matrices_t matrices, const tabs_t &semi_impl={}) const override
virtual void dimensionner_blocs_aux(Stencil &) const
void completer() override
Updates internal references of the Source_base object.
_SIZE_ size_totale() const