41 EosVDW(std::vector<std::string>& nameParameterEos,
int& number);
79 virtual double dedrho(
const double&
density,
const double& )
const;
TypeEOS
Enumeration for the type of EOS (IG: ideal gas, SG: stiffened gas, NASG: Noble-Abel stiffened gas,...
Definition Eos.h:40
Class describing a Van Der Waals equation of state.
Definition EosVDW.h:39
double m_r
Universal constant of the fluid.
Definition EosVDW.h:97
virtual ~EosVDW()
Definition EosVDW.cpp:48
virtual double computePressure(const double &density, const double &) const
Compute pressure.
Definition EosVDW.cpp:75
double m_gamma
Polytropic constant.
Definition EosVDW.h:100
double m_a
Constant parameter of VDW EOS.
Definition EosVDW.h:98
virtual double computeTemperature(const double &density, const double &) const
Compute temperature.
Definition EosVDW.cpp:83
virtual void assignParametersEos(std::string name, std::vector< double > parametersEos)
Assign the values of the attributes for EosVDW from data defined in the code.
Definition EosVDW.cpp:52
virtual double computeEnergy(const double &density, const double &) const
Compute internal energy.
Definition EosVDW.cpp:68
virtual TypeEOS getType() const
Get the type that is to say the reduced name of the EOS in ECOGEN.
Definition EosVDW.h:94
double m_p0
Reference pressure.
Definition EosVDW.h:101
virtual double dedrho(const double &density, const double &) const
Compute partial derivative dedrho.
Definition EosVDW.cpp:90
virtual void verifyAndCorrectDensityMax(double &density) const
Do nothing for VDW.
Definition EosVDW.cpp:106
double m_b
Constant parameter of VDW EOS.
Definition EosVDW.h:99
double m_rho0
Reference density.
Definition EosVDW.h:102
virtual double dedrhoSecond(const double &density, const double &) const
Compute partial derivative dedrhoSecond.
Definition EosVDW.cpp:97
General class for Equation of State (EOS).
Definition Eos.h:54