Procedure | Location | Procedure Type | Description |
---|---|---|---|
acosd | math | Function | Inverse cosine of x, result in degrees |
asind | math | Function | Inverse sine of x, result in degrees |
atan2d | math | Function | Inverse tangents of y/x (see atan2d), result in degrees |
atand | math | Function | Inverse tangents of x, result in degrees |
bisect | optimize | Interface | Find root of a function in an interval using bisection. |
boundary_conditions_t | boundary_conditions | Interface | This interface is used to initialize the boundary_conditions_t |
cosd | math | Function | Cosine of x in degrees |
create_mesh | tfmesh | Subroutine | This subroutine creates the mesh data structure. |
create_performance_model | performance_model | Subroutine | This subroutine creates a performance model object based on the type specified in the toml configuration file. The performance model type is read from the toml configuration file and the appropriate constructor function is called to create the performance model object. |
create_tfana_job | tfana | Subroutine | Load the configuration file and create the |
create_thermo | thermo | Subroutine | Create a thermodynamic model from the configuration file. |
cross_product | math | Function | Cross product in R3 |
curve_t | curves | Interface | Create a new curve from a sequence of points. |
deg2rad | math | Function | Conversion from degrees to radians |
diff | finite_differences | Interface | Approximate the derivative of a function using finite differences |
diff2 | finite_differences | Interface | Approximate the second derivative of a function using finite differences |
init_flowfield | flowfield | Subroutine | Initialize the flow field structure and set all fields to zero |
integral | finite_differences | Function | Returns the integral of f with respect to x using integrated Taylor expansion f: array of f values x: array of x values returns: the integral of f with respect to x |
intersection | curves | Function | Compute the intersection of two curves. |
load_machine_description | machine | Subroutine | Reads the machine description from a TOML table |
mass_flow_rate | flowfield | Function | Compute the mass flow rate through a quasinormal |
newton | optimize | Interface | Find root of a function using Newton’s or secant method. |
norm | math | Function | Standard L2 norm of a vector |
norm2 | math | Function | Standard L2 norm of a vector squared |
outer_product | math | Function | Outer product |
primitive_function | finite_differences | Function | Returns the integral of f with respect to x using integrated Taylor expansion f: array of f values x: array of x values returns: the integral of f with respect to x |
print_help | main | Subroutine | Prints a brief help message |
project_to_curve | curves | Subroutine | Project a point onto a curve. |
rad2deg | math | Function | Conversion from radians to degres |
ramp_function_t | math | Interface | Create a new ramp function with given start, duration, y1 and y2 |
recalculate_mesh_parameters | tfmesh | Subroutine | This subroutine recalculates the mesh parameters (streamline angles, curvatures, etc.) |
redistribute_streamlines_at_quasinormal | tfmesh | Subroutine | This subroutine redistributes the streamlines along a quasinormal. |
root_scalar | optimize | Interface | Find root of a function using given method |
save_flowfield | flowfield | Subroutine | Save the flow field to a Matlab/Octave compatible file |
sind | math | Function | Sine of x in degrees |
tand | math | Function | Tangents of x in degrees |
update_state_variables_at_quasinormal_from_Htot_S_C | tfana | Subroutine | Update the state variables at the given quasinormal from the total enthalpy, entropy and velocity components. |
Wt | flowfield | Function | Compute the tangential velocity. The rotating frame is taken into account for leading and trailing edge of rotors. Similarly, mirroring is taken into account for compressor stators and turbine rotors. |