Skip to content
Snippets Groups Projects
Commit 7a91bcf2 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[doc] Fix some fluid density ogs_file_param's.

parent bfb512c2
No related branches found
No related tags found
No related merge requests found
\ogs_missing_documentation
......@@ -74,21 +74,17 @@ std::unique_ptr<FluidProperty> createFluidDensityModel(
if (type == "Constant")
{
return std::unique_ptr<FluidProperty>(new ConstantFluidProperty(
//! \ogs_file_param{material__fluid__density__Constant_value}
//! \ogs_file_param{material__fluid__density__value}
config.getConfigParameter<double>("value")));
}
//! \ogs_file_param{material__fluid__density__LiquidDensity}
else if (type == "LiquidDensity")
return createLiquidDensity(config);
//! \ogs_file_param{material__fluid__density__TemperatureDependent}
else if (type == "TemperatureDependent")
return createLinearTemperatureDependentDensity(config);
//! \ogs_file_param{material__fluid__density__IdealGasLaw}
else if (type == "IdealGasLaw")
{
//! \ogs_file_param{material__fluid__density__IdealGasLaw__molar_mass}
return std::unique_ptr<FluidProperty>(
//! \ogs_file_param{material__fluid__density__IdealGasLaw__molar_mass}
new IdealGasLaw(config.getConfigParameter<double>("molar_mass")));
}
else
......
......@@ -80,7 +80,7 @@ std::unique_ptr<FluidProperty> createViscosityModel(
{
INFO("Using Vogels model, which gives viscosity in SI unit, Pa s");
auto const fluid_type =
//! \ogs_file_param{material__fluid__viscosity__Vogels__fluid_type}
//! \ogs_file_param{material__fluid__viscosity__Vogels__liquid_type}
config.getConfigParameter<std::string>("liquid_type");
if (fluid_type == "Water")
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment