Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
Parameters::IsothermalIdealGasDensityParameters Struct Reference

#include <parameters.h>

Public Member Functions

void parse_parameters (ParameterHandler &prm, const Dimensionality &dimensions)

Static Public Member Functions

static void declare_parameters (ParameterHandler &prm)

Public Attributes

double density_ref = 1.2
double R = 287.05
double T = 293.15

Detailed Description

Isothermal ideal gas model to solve for isothermal weakly compressible fluid flows.

Definition at line 488 of file parameters.h.

Member Function Documentation

◆ declare_parameters()

void Parameters::IsothermalIdealGasDensityParameters::declare_parameters ( ParameterHandler & prm)
static

Declare the isothermal ideal-gas density parameters.

Parameters
[in,out]prmThe parameter handler object.

Definition at line 669 of file parameters.cc.

References density_ref, R, and T.

◆ parse_parameters()

void Parameters::IsothermalIdealGasDensityParameters::parse_parameters ( ParameterHandler & prm,
const Dimensionality & dimensions )

Parse the isothermal ideal-gas density parameters.

Parameters
[in]prmThe parameter handler object.
[in]dimensionsDimensionality used to interpret the parameter units.

Definition at line 698 of file parameters.cc.

References density_ref, Parameters::Dimensionality::density_scaling, R, Parameters::Dimensionality::specific_gas_constant_scaling, T, and Parameters::Dimensionality::temperature.

Member Data Documentation

◆ density_ref

double Parameters::IsothermalIdealGasDensityParameters::density_ref = 1.2

Reference state density of the gas in kg/m^3.

Definition at line 491 of file parameters.h.

◆ R

double Parameters::IsothermalIdealGasDensityParameters::R = 287.05

Specific gas constant in J/kg/K.

Definition at line 493 of file parameters.h.

◆ T

double Parameters::IsothermalIdealGasDensityParameters::T = 293.15

Absolute temperature of the ideal gas in K.

Definition at line 495 of file parameters.h.


The documentation for this struct was generated from the following files: