tfana Module

This module contains the main routines for the TFAna code.

The TFAna code is a simple streamline curvaturecode for axial flow compressors and turbines.

The method follows the description given in

[1] Aungier, R.H. (2003): Axial Flow Compressors. A Strategy for Aerodynamic Design and Analysis.

[2] Aungier, R.H. (2006): Turbine Aerodynamics. Axial-Flow and Radial-Inflow Turbine Design and Analysis.


Uses


Derived Types

type, public ::  tfana_job_t

This type contains the main data and methods for the TFAna code.

Read more…

Components

Type Visibility Attributes Name Initial
type(toml_context), public :: config_context

The context of the configuration table

type(toml_table), public, allocatable :: config_table

The configuration table

Type-Bound Procedures

procedure, public :: create_plots

Create and save plots

procedure, public :: create_report

Create and print or save performance report

procedure, public :: init

Initialize the data structures (mesh, flowfield, etc.)

procedure, public :: run

Run the main loop

procedure, public :: save_results

Save results to file


Subroutines

public subroutine create_tfana_job(job, filename)

Load the configuration file and create the tfana_job_t object.

Arguments

Type IntentOptional Attributes Name
type(tfana_job_t) :: job
character(len=*), intent(in) :: filename

Update the state variables at the given quasinormal from the total enthalpy, entropy and velocity components.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: i