boundary_conditions Module

This module reads the boundary conditions from the input file and stores them in a derived type.


Uses


Interfaces

public interface boundary_conditions_t

This interface is used to initialize the boundary_conditions_t

  • private function init_boundary_conditions(table) result(bc)

    This function initializes the boundary_conditions_t derived type from the input file.

    Arguments

    Type IntentOptional Attributes Name
    type(toml_table), intent(inout) :: table

    The input file

    Return Value type(boundary_conditions_t)

    The boundary conditions data


Derived Types

type, public ::  boundary_conditions_t

This derived type stores the boundary conditions for the simulation.

Components

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)

Constructor

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.