This module gathers the various predefined initial conditions
This type contains datas to define gauss pulse
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | public | :: | center(3) |
Gauss pulse center |
|||
real(kind=rk), | public | :: | halfwidth |
half width of gauss pulse from center |
|||
real(kind=rk), | public | :: | amplitude |
height or magnitude of gauss pulse |
|||
real(kind=rk), | public | :: | background |
reference value. In case of density, it is reference density |
|||
real(kind=rk), | public | :: | dx |
spatial step size |
|||
real(kind=rk), | public | :: | dt |
time step size |
This type contains datas to define 2d co-rotating vortex pair
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | public | :: | center(3) |
spinning center |
|||
real(kind=rk), | public | :: | radius_rot |
distance of vortex centers / 2 |
|||
real(kind=rk), | public | :: | radius_C |
core radius = radius_rot/3 |
|||
real(kind=rk), | public | :: | circulation |
circulation of vortices |
|||
real(kind=rk), | public | :: | p0 |
reference pressure |
|||
real(kind=rk), | public | :: | rho0 |
reference density |
|||
real(kind=rk), | public | :: | kappa |
adiabatic exponent |
|||
real(kind=rk), | public | :: | cs |
speed of sound |
|||
real(kind=rk), | public | :: | Ma |
rotating Mach number |
|||
real(kind=rk), | public | :: | t |
position in time |
|||
type(cutoff_type), | public | :: | cutoff | ||||
logical, | public | :: | pressGaussModel |
Approximation of the pressure distribution inside the core radius with a gaussian pulse model |
|||
logical, | public | :: | rankineModel |
vortex core velocity model: rankine |
|||
real(kind=rk), | public | :: | matchFactor |
to match the gauss model to the pressure distribution Set to 2.2 |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | public | :: | x0(3) |
Origin points |
|||
real(kind=rk), | public | :: | u0(2) |
Ref velocity (X and Y) |
|||
real(kind=rk), | public | :: | p0 |
Ref pressure |
|||
real(kind=rk), | public | :: | tD |
Rate of decay coefficient |
|||
real(kind=rk), | public | :: | Re |
Reynolds number |
cutoff radius definition
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | active |
cutoff is active? |
|||
real(kind=rk), | public | :: | length |
cutoff values |
|||
real(kind=rk), | public | :: | r_min |
cutoff start |
|||
real(kind=rk), | public | :: | r_max |
cutoff end |
|||
logical, | public | :: | linear |
linear behavior |
|||
logical, | public | :: | quadratic |
quadratic behavior |
This function defines gauss pulse
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ic_gausspulse_type), | intent(in) | :: | me |
global gauss pulse data |
||
real(kind=rk), | intent(in) | :: | coord(n,3) |
coordinate of an element |
||
integer, | intent(in) | :: | n |
number of return values |
return value which is sent to state variable
This function defines the y-velocity component of the
spinning (= co-rotating) vortex pair
Source: complex velocity potential of both vortices
complex coordinates:
z = x+i*y
Gamma ... circulation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ic_2dcrvp_type), | intent(in) | :: | me |
global gauss pulse data |
||
real(kind=rk), | intent(in) | :: | coord(n,3) |
coordinate of an element |
||
integer, | intent(in) | :: | n |
number of return values |
return value which is sent to state variable
This function defines the y-velocity component of the
spinning (= co-rotating) vortex pair
Source: complex velocity potential of both vortices
complex coordinates:
z = x+i*y
Gamma ... circulation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ic_2dcrvp_type), | intent(in) | :: | me |
global gauss pulse data |
||
real(kind=rk), | intent(in) | :: | coord(n,3) |
coordinate of an element |
||
integer, | intent(in) | :: | n |
number of return values |
return value which is sent to state variable
This function defines the density of the spinning (= co-rotating) vortex pair See the matlab file where the pressure is plot in the ase-testcases/ repo in musubi/crvp/matlab/crvp_velPress_plot.m
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ic_2dcrvp_type), | intent(in) | :: | me |
global gauss pulse data |
||
real(kind=rk), | intent(in) | :: | coord(n,3) |
coordinate of an element |
||
integer, | intent(in) | :: | n |
number of return values |
return value which is sent to state variable
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ic_tgv_type), | intent(in) | :: | me |
global gauss pulse data |
||
real(kind=rk), | intent(in) | :: | coord(n,3) |
coordinate of an element |
||
integer, | intent(in) | :: | n |
number of return values |
return value which is sent to state variable
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ic_tgv_type), | intent(in) | :: | me |
global gauss pulse data |
||
real(kind=rk), | intent(in) | :: | coord(n,3) |
coordinate of an element |
||
integer, | intent(in) | :: | n |
number of return values |
return value which is sent to state variable
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ic_tgv_type), | intent(in) | :: | me |
global gauss pulse data |
||
real(kind=rk), | intent(in) | :: | coord(n,3) |
coordinate of an element |
||
integer, | intent(in) | :: | n |
number of return values |
return value which is sent to state variable
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ic_tgv_type), | intent(in) | :: | me |
global gauss pulse data |
||
real(kind=rk), | intent(in) | :: | coord(n,3) |
coordinate of an element |
||
integer, | intent(in) | :: | n |
number of return values |
return value which is sent to state variable
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ic_tgv_type), | intent(in) | :: | me |
global gauss pulse data |
||
real(kind=rk), | intent(in) | :: | coord(n,3) |
coordinate of an element |
||
integer, | intent(in) | :: | n |
number of return values |
return value which is sent to state variable
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ic_tgv_type), | intent(in) | :: | me |
global gauss pulse data |
||
real(kind=rk), | intent(in) | :: | coord(n,3) |
coordinate of an element |
||
integer, | intent(in) | :: | n |
number of return values |
return value which is sent to state variable
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ic_tgv_type), | intent(in) | :: | me |
global gauss pulse data |
||
real(kind=rk), | intent(in) | :: | coord(n,3) |
coordinate of an element |
||
integer, | intent(in) | :: | n |
number of return values |
return value which is sent to state variable
return the cutoff multiplication factor This routine returns the cutoff factor for a circle of size r_min. Outside r_min, the quantity is
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(cutoff_type), | intent(in) | :: | me |
global gauss pulse data |
||
real(kind=rk), | intent(in) | :: | radius |
coordinate of an element |
return value which is sent to state variable
load gauss pulse variables to set initial condition
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(flu_State) | :: | conf |
lua state type |
|||
integer, | intent(in) | :: | thandle |
aotus parent handle |
||
type(ic_gausspulse_type), | intent(out) | :: | me |
Global gauss pulse data type |
load crvp variables to set initial condition
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(flu_State) | :: | conf |
lua state type |
|||
integer, | intent(in) | :: | thandle |
aotus parent handle |
||
type(ic_2dcrvp_type), | intent(out) | :: | me |
Global gauss pulse data type |
load gauss pulse variables to set initial condition
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(flu_State) | :: | conf |
lua state type |
|||
integer, | intent(in) | :: | thandle |
aotus parent handle |
||
type(ic_tgv_type), | intent(out) | :: | me |
TGV data type |