Procedures to write out results of simulations
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=8), | public | :: | ResultsDir | = | 'Results/' |
Initialise headers for plot files
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | numOfRotors |
Write rotor parameters to json file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(rotor_class), | intent(in) | :: | rotor | |||
| integer, | intent(in) | :: | nt | |||
| real(kind=dp), | intent(in) | :: | dt | |||
| integer, | intent(in) | :: | nr | |||
| real(kind=dp), | intent(in) | :: | density | |||
| real(kind=dp), | intent(in) | :: | velSound | |||
| type(switches_class), | intent(in) | :: | switches |
Plot rotor geometry and wake to file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | timestamp | |||
| type(rotor_class), | intent(in) | :: | rotor | |||
| integer, | intent(in) | :: | wakeSuppress |
Write velocities at probe locations
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | timestamp | |||
| real(kind=dp), | intent(in), | dimension(:, :) | :: | probe | ||
| real(kind=dp), | intent(in), | dimension(:, :) | :: | probeVel | ||
| type(rotor_class), | intent(inout), | dimension(:) | :: | rotor | ||
| real(kind=dp), | intent(in) | :: | t |
Write filaments to file for using with grid-based plots
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | timestamp | |||
| type(rotor_class), | intent(in), | dimension(:) | :: | rotor |
Plot surface geometry to file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(rotor_class), | intent(in) | :: | rotor |
Wake tip to file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | timestamp | |||
| type(rotor_class), | intent(in) | :: | rotor |
Skew parameter to file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | timestamp | |||
| type(rotor_class), | intent(in) | :: | rotor |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | timestamp | |||
| type(rotor_class), | intent(in) | :: | rotor |
Rotor dynamics to file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | timestamp | |||
| type(rotor_class), | intent(in) | :: | rotor |
Calculate inflow velocity along directionVector on the blades of rotor(rotorNumber) at rotor(rotorNumber)%secCP
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | timestamp | |||
| type(rotor_class), | intent(inout), | dimension(:) | :: | rotorArray | ||
| integer, | intent(in) | :: | rotorNumber | |||
| real(kind=dp), | intent(in), | dimension(3) | :: | directionVector |
Calculate inflow velocity along directionVector on the blades of rotor(rotorNumber) at rotor(rotorNumber)%secCP
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | timestamp | |||
| type(rotor_class), | intent(in) | :: | rotor |