Skip to content
Cory edited this page Jul 17, 2023 · 4 revisions

The flow module (flow_mod) is contained in flow.f95. It stores the flow type and its bound procedures. flow defines the freestream flow into which the body mesh is placed. It stores information such as Mach number, gamma, velocity, etc. It also calculates and stores a number of transformation and metric matrices used in calculating panel influence coefficients.

The functions used in MachLine for calculating local pressure coefficients are also implemented as part of the flow type. That is because these calculations are dependent only upon freestream parameters and a given local velocity. Hence, they are simplest to call as a procedure bound to the flow type.

Clone this wiki locally