16#ifndef Loi_Etat_GR_base_included
17#define Loi_Etat_GR_base_included
21#define RU_ 8.3143*4.18448
24#include <Loi_Etat_base.h>
45 double De_DP(
double,
double)
const override;
46 double De_DT(
double,
double)
const override;
47 double Cp_calc(
double,
double)
const;
54 double Drho_DP(
double,
double)
const override = 0;
55 double Drho_DT(
double,
double)
const override = 0;
56 virtual double DT_DH(
double,
double)
const = 0;
void calculer_Cp() override
Computes Cp using the PolyCp_ polynomial.
void initialiser_inco_ch() override
Initialises the enthalpy unknown.
double calculer_masse_volumique(double, double) const override=0
double De_DT(double, double) const override
virtual double calculer_temperature(double, double)=0
double masse_molaire() const
double De_DP(double, double) const override
void calculer_lambda() override
Computes the conductivity divided by Cp: equivalent to k*dT/dh for using enthalpy in the diffusion op...
double Drho_DT(double, double) const override=0
void calculer_masse_volumique() override
Recomputes the density (masse volumique).
double calculer_H(double, double) const override=0
For ideal gases: does nothing. For real gases: must recompute enthalpy from pressure and temperature.
double inverser_Pth(double, double) override
Computes the thermodynamic pressure from enthalpy and density by Newton iteration.
double Cp_calc(double, double) const
Computes Cp as a function of physical quantities P and h. Cp = dh/dT = de/dT - 1/rho^2 * drho/dT.
void remplir_T() override
Fills the temperature array from the enthalpy unknown.
const Nom type_fluide() const override
Returns the type of fluid associated.
void initialiser() override
Initialises the state law by computing Pth.
virtual double DT_DH(double, double) const =0
double Drho_DP(double, double) const override=0
class Nom: a character string for naming TRUST objects.