16#include <Pb_Multiphase_HEM.h>
34 if (corr.second->que_suis_je() ==
"Flux_interfacial_Coef_Constant")
36 Cout <<
"Flux_interfacial_Coef_Constant is already defined." << finl;
40 Cerr <<
"An interfacial flux correlation is already defined in the data file, but from a different kind that coef_constant." << finl;
41 Cerr <<
"For a Pb_HEM, the interfacial flux correlation must be of the kind coef_constant. Please either remove the line as it will be automatically added or modify the expression." << finl;
49 Cout <<
"Pb_HEM: we add a interfacial flux correlation with constant coefficient." << finl;
50 Nom corr_FICC(
"{ flux_interfacial coef_constant { ");
54 corr_FICC +=
" 1e10 ";
57 Cout <<
"Expression added: " << corr_FICC << finl;
58 Cout <<
"Please add this line to the data file directly if you want to modify the enforced coefficient 1e10." << finl;
60 EChaine corr_flux_inter_coef_const(corr_FICC);
An input stream whose source is a character string.
Class defining operators and methods for all reading operation in an input flow (file,...
class Nom: a character string for naming TRUST objects.
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.
void typer_lire_correlation_hem() override
Multiphase thermohydraulics problem of type "3*N equations":
const Nom & nom_phase(int i) const
virtual Entree & lire_correlations(Entree &is)
int has_correlation(std::string nom_correlation) const
std::map< std::string, OWN_PTR(Correlation_base)> correlations_
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.