Utility procedures and those to compute induced velocity of rotors
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(rotor_class), | public, | allocatable, dimension(:) | :: | rotor | |||
| integer, | public | :: | nt |
No. of timesteps |
|||
| integer, | public | :: | nr |
No. of rotors |
|||
| real(kind=dp), | public | :: | dt |
Timestep size |
|||
| integer, | public | :: | iterStart | ||||
| real(kind=dp), | public | :: | t |
Time |
|||
| real(kind=dp), | public | :: | density |
Density |
|||
| real(kind=dp), | public | :: | velSound |
Velocity of sound to compute Mach |
|||
| real(kind=dp), | public | :: | kinematicVisc |
Kinematic viscosity |
|||
| character(len=5), | public | :: | timestamp | ||||
| character(len=2), | public | :: | rotorChar | ||||
| character(len=10), | public | :: | rotorFile | ||||
| character(len=10), | public | :: | currentTime | ||||
| logical, | public | :: | fileExists | ||||
| real(kind=dp), | public | :: | subIterResidual | ||||
| real(kind=dp), | public | :: | flipSign |
Sign for mirroring image rotor (1 or -1 when imagePlane == 3) |
|||
| integer, | public | :: | i | ||||
| integer, | public | :: | is | ||||
| integer, | public | :: | ic | ||||
| integer, | public | :: | row | ||||
| integer, | public | :: | iter | ||||
| integer, | public | :: | ir | ||||
| integer, | public | :: | jr | ||||
| integer, | public | :: | ib | ||||
| integer, | public | :: | rowErase | ||||
| integer, | public | :: | hdf5Nt | ||||
| type(switches_class), | public | :: | switches | ||||
| real(kind=dp), | public, | allocatable, dimension(:, :) | :: | probe | |||
| real(kind=dp), | public, | allocatable, dimension(:, :) | :: | probeVel | |||
| integer(kind=HID_T), | public | :: | hdf5_file_id | ||||
| integer(kind=HID_T), | public | :: | hdf5_results_file_id |
Compute induced velocity by rotor (wing + wake) on Nwake corner points
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(rotor_class), | intent(in) | :: | rotor |
Rotor |
||
| type(Nwake_class), | intent(in), | dimension(:, :) | :: | Nwake |
Near wake |
|
| character(len=1), | optional | :: | optionalChar |
If 'P' is specified, predicted wake of rotor is used |
Compute induced velocity by rotor (wing + wake) on Fwake corner points
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(rotor_class), | intent(in) | :: | rotor |
Rotor |
||
| type(Fwake_class), | intent(in), | dimension(:) | :: | Fwake |
Far wake |
|
| character(len=1), | optional | :: | optionalChar |
If 'P' is specified, predicted wake of rotor is used |
Calculate 2nd order accurate induced velocity on near wake
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in), | dimension(:, :, :) | :: | v_wake_n |
Induced velocity on wake at timestep n |
|
| real(kind=dp), | intent(in), | dimension(:, :, :) | :: | v_wake_np1 |
Induced velocity on wake at timestep n+1 |
Calculate 2nd order accurate induced velocity on far wake
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in), | dimension(:, :) | :: | v_wake_n |
Induced velocity on wake at timestep n |
|
| real(kind=dp), | intent(in), | dimension(:, :) | :: | v_wake_np1 |
Induced velocity on wake at timestep n+1 |
Read config.nml input file (in namelist format)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename | |||
| character(len=*), | intent(in), | optional | :: | outputFilename |
Prints status message (or SUCCESS if left blank)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | optional | :: | statusMessage |