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);
Une entree dont la source est une chaine de caracteres.
Class defining operators and methods for all reading operation in an input flow (file,...
class Nom Une chaine de caractere pour nommer les objets de TRUST
virtual Entree & readOn(Entree &)
Lecture d'un Objet_U sur un flot d'entree Methode a surcharger.
virtual Sortie & printOn(Sortie &) const
Ecriture de l'objet sur un flot de sortie Methode a surcharger.
void typer_lire_correlation_hem() override
classe Pb_Multiphase Cette classe represente un probleme de thermohydraulique multiphase de type "3*N...
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)
Routine de sortie de TRUST dans une region Kokkos.
Classe de base des flux de sortie.