This module reads the boundary conditions from the input file and stores them in a derived type.
This interface is used to initialize the boundary_conditions_t
This function initializes the boundary_conditions_t derived type from the input file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(toml_table), | intent(inout) | :: | table |
The input file |
The boundary conditions data
This derived type stores the boundary conditions for the simulation.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=rkind), | public | :: | Ttot |
Total temperature at the inlet in (K) |
|||
| real(kind=rkind), | public | :: | mdot |
Mass flow rate at the inlet in (kg/s) |
|||
| real(kind=rkind), | public | :: | pTot |
Total pressure at the inlet in (Pa) |
|||
| real(kind=rkind), | public | :: | rpm |
Rotational speed of the rotor in (rpm) |
This interface is used to initialize the boundary_conditions_t
| private function init_boundary_conditions (table) | This function initializes the boundary_conditions_t derived type from the input file. |