16#ifndef Loi_Etat_base_included
17#define Loi_Etat_base_included
19#include <Champs_compris_interface.h>
20#include <Champs_compris.h>
21#include <Champ_Don_base.h>
61 virtual double calculer_H(
double,
double)
const;
62 virtual double Drho_DP(
double,
double)
const ;
63 virtual double Drho_DT(
double,
double)
const ;
64 virtual double De_DP(
double,
double)
const ;
65 virtual double De_DT(
double,
double)
const ;
84 inline const DoubleTab&
temperature()
const {
return temperature_->valeurs(); }
99 Champs_compris champs_compris_;
class Champ_Don_base base class of Given Fields (not calculated)
class Champ_base This class is the base of the fields hierarchy.
class Champs_compris_interface This class contains an interface of methods intended to manage
Base class for a dilatable fluid, inheriting from Fluide_base.
void assoscier_probleme(const Probleme_base &pb)
Associates the problem with the state law.
virtual void initialiser()=0
virtual void initialiser_inco_ch()
Initialises the heat equation unknown; sets rho arrays and updates density.
virtual double De_DP(double, double) const
virtual double calculer_masse_volumique(double, double) const =0
const DoubleTab & rho_n() const
virtual void calculer_Cp()=0
friend class Fluide_Weakly_Compressible
void mettre_a_jour(double)
Updates the state law and the density field.
const Champ_base & get_champ(const Motcle &nom) const override
virtual void abortTimeStep()
virtual double De_DT(double, double) const
void creer_champ(const Motcle &motlu) override
const DoubleTab & temperature() const
Champ_Don_base & ch_temperature()
virtual void remplir_T()=0
virtual const Nom type_fluide() const =0
virtual void compute_tab_rho(DoubleTab &)
virtual double inverser_Pth(double, double)=0
virtual void associer_fluide(const Fluide_Dilatable_base &)
Associates the fluid with the state law.
virtual void calculer_masse_volumique()
Recomputes the density (masse volumique).
virtual double Drho_DT(double, double) const
virtual void preparer_calcul()
Prepares the fluid for computation by filling temperature and computing density.
Champs_compris & champs_compris()
virtual void calculer_alpha()
Computes the thermal diffusivity.
virtual double calculer_H(double, double) const
For ideal gases: does nothing. For real gases: must recompute enthalpy from pressure and temperature.
virtual double Drho_DP(double, double) const
OBS_PTR(Fluide_Dilatable_base) le_fluide
void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override
OBS_PTR(Probleme_base) le_prob_
virtual void calculer_lambda()
Computes the thermal conductivity.
virtual void calculer_mu()
Computes the dynamic viscosity.
void calculer_nu()
Computes the kinematic viscosity.
virtual void calculer_nu_sur_Sc()
Does nothing; overloaded in Loi_Etat_Melange_Binaire.
bool has_champ(const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override
OWN_PTR(Champ_Don_base) temperature_
const DoubleTab & rho_np1() const
friend class Fluide_Quasi_Compressible
virtual void calculer_mu_sur_Sc()
Does nothing; overloaded in Loi_Etat_Melange_GP.
A character string (Nom) in uppercase.
class Nom: a character string for naming TRUST objects.
An array of character strings (VECT(Nom)).
Objet_U()
Default constructor: assigns a unique identifier to the object (object_id_) and registers the object ...
class Probleme_base It is a Probleme_U that is not a coupling.