45 const double reference_density,
double reference_concentration,
46 const double fluid_density_concentration_difference_ratio,
47 double reference_pressure,
48 const double fluid_density_pressure_difference_ratio)
52 fluid_density_concentration_difference_ratio),
55 fluid_density_pressure_difference_ratio)
62 return "Linear concentration and pressure dependent density";
Base class of fluid properties.
std::array< double, PropertyVariableNumber > ArrayType
const double _fluid_density_concentration_difference_ratio
LinearConcentrationAndPressureDependentDensity(const double reference_density, double reference_concentration, const double fluid_density_concentration_difference_ratio, double reference_pressure, const double fluid_density_pressure_difference_ratio)
double getValue(const ArrayType &var_vals) const override
const double _reference_density
std::string getName() const override
Get model name.
double getdValue(const ArrayType &, const PropertyVariableType var) const override
const double _reference_concentration
const double _fluid_density_pressure_difference_ratio
const double _reference_pressure
PropertyVariableType
Variable that determine the property.