16#include <Fluide_Dilatable_base.h>
17#include <Loi_Etat_TPPI_base.h>
18#include <Champ_Uniforme.h>
32 param.lire_avec_accolades_depuis(is);
39 Cerr <<
"Loi_Etat_TPPI_base::inverser_Pth should not be called !! " << finl;
45 if (!le_fluide->has_viscosite_dynamique())
47 Cerr <<
"Error in Loi_Etat_TPPI_base::verify_fields() ... Mu is not read in your medium and it must be calculated by EOS/CoolProp !!!" << finl;
53 Cerr <<
"Error in Loi_Etat_TPPI_base::verify_fields() ... Mu should not be Champ_Uniforme since it must be calculated by EOS/CoolProp !!!" << finl;
57 if (!le_fluide->has_conductivite())
59 Cerr <<
"Error in Loi_Etat_TPPI_base::verify_fields() ... Lambda is not read in your medium and it must be calculated by EOS/CoolProp !!!" << finl;
65 Cerr <<
"Error in Loi_Etat_TPPI_base::verify_fields() ... Lambda should not be Champ_Uniforme since it must be calculated by EOS/CoolProp !!!" << finl;
69 if (!le_fluide->has_diffusivite())
71 Cerr <<
"Error in Loi_Etat_TPPI_base::verify_fields() ... Alpha is not read in your medium and it must be calculated by EOS/CoolProp !!!" << finl;
77 Cerr <<
"Error in Loi_Etat_TPPI_base::verify_fields() ... Alpha should not be Champ_Uniforme since it must be calculated by EOS/CoolProp !!!" << finl;
90 Cerr <<
"Loi_Etat_TPPI_base::calculer_masse_volumique should not be called !! " << finl;
class Champ_Don_base base class of Given Fields (not calculated)
Class defining operators and methods for all reading operation in an input flow (file,...
Base state law class for mono-species ideal gases.
void preparer_calcul() override
Prepares the fluid for computation by filling temperature and computing density.
double inverser_Pth(double, double) override
Computes the thermodynamic pressure from temperature and density.
virtual void calculer_masse_volumique()
Recomputes the density (masse volumique).
virtual void preparer_calcul()
Prepares the fluid for computation by filling temperature and computing density.
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.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.