Implementation of Method of Manufactured Solutions for BRAGINSKII model in circular geometry
MMS solution for electron density
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t) | :: | equi |
Equilibrium |
|||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
MMS solution for electrostatic potential
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t) | :: | equi |
Equilibrium |
|||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
MMS solution for generalised vorticity
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t) | :: | equi |
Equilibrium |
|||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
MMS solution for parallel ion velocity
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t) | :: | equi |
Equilibrium |
|||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
MMS solution for parallel current
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t) | :: | equi |
Equilibrium |
|||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
MMS solution for parallel electromagnetic potential
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t) | :: | equi |
Equilibrium |
|||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
MMS solution for generalised electromagnetic potential (aixiliary)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t) | :: | equi |
Equilibrium |
|||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
MMS solution for electron temperature
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t) | :: | equi |
Equilibrium |
|||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
MMS solution for ion temperature
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t) | :: | equi |
Equilibrium |
|||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
MMS solution for electron heat flux
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t) | :: | equi |
Equilibrium |
|||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
MMS solution for ion heat flux
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t) | :: | equi |
Equilibrium |
|||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
MMS source for continuity equation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t), | intent(inout) | :: | equi |
Equilibrium |
||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
||
| real(kind=GP), | intent(in) | :: | chi |
Value of characteristc function of penalisation |
||
| real(kind=GP), | intent(in) | :: | lognepen |
Value that shall be penalised to |
||
| real(kind=GP), | intent(in) | :: | src_ne |
Particle source value |
MMS source for continuity equation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t), | intent(inout) | :: | equi |
Equilibrium |
||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
||
| real(kind=GP), | intent(in) | :: | chi |
Value of characteristc function of penalisation |
||
| real(kind=GP), | intent(in) | :: | vortpen |
Value that shall be penalised to |
||
| real(kind=GP), | intent(in) | :: | src_vort |
Vorticity source value |
MMS source for parallel momentum equation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t), | intent(inout) | :: | equi |
Equilibrium |
||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
||
| real(kind=GP), | intent(in) | :: | chi |
Value of characteristc function of penalisation |
||
| real(kind=GP), | intent(in) | :: | uparpen |
Value that shall be penalised to |
||
| real(kind=GP), | intent(in) | :: | src_upar |
Parallel momentum source value |
MMS source for Ohm's law
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t), | intent(inout) | :: | equi |
Equilibrium |
||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
||
| real(kind=GP), | intent(in) | :: | chi |
Value of characteristc function of penalisation |
||
| real(kind=GP), | intent(in) | :: | psiparpen |
Value that shall be penalised to |
MMS source for electron temperature equation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t), | intent(inout) | :: | equi |
Equilibrium |
||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
||
| real(kind=GP), | intent(in) | :: | chi |
Value of characteristc function of penalisation |
||
| real(kind=GP), | intent(in) | :: | logtepen |
Value that shall be penalised to |
||
| real(kind=GP), | intent(in) | :: | src_te |
Electron temperature source value |
MMS source for ion temperature equation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t), | intent(inout) | :: | equi |
Equilibrium |
||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
||
| real(kind=GP), | intent(in) | :: | chi |
Value of characteristc function of penalisation |
||
| real(kind=GP), | intent(in) | :: | logtipen |
Value that shall be penalised to |
||
| real(kind=GP), | intent(in) | :: | src_ti |
Ion temperature source value |
MMS source for elliptic Landau heat flux equation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t), | intent(inout) | :: | equi |
Equilibrium |
||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
||
| real(kind=GP), | intent(in) | :: | landaualpha |
Numerical parameter alpha of current Lorentzian |
||
| real(kind=GP), | intent(in) | :: | landaubeta |
Numerical parameter beta of current Lorentzian |
MMS source for elliptic Landau heat flux equation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t), | intent(inout) | :: | equi |
Equilibrium |
||
| real(kind=GP), | intent(in) | :: | x |
x-coordinate |
||
| real(kind=GP), | intent(in) | :: | y |
y-coordinate |
||
| real(kind=GP), | intent(in) | :: | z |
Axial coordinate z (represented by toroidal coordinate) |
||
| real(kind=GP), | intent(in) | :: | t |
Time |
||
| real(kind=GP), | intent(in) | :: | landaualpha |
Numerical parameter alpha of current Lorentzian |
||
| real(kind=GP), | intent(in) | :: | landaubeta |
Numerical parameter beta of current Lorentzian |
Prints information on numerical errors of numerical solutions
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(comm_handler_t), | intent(in) | :: | comm_handler |
Communicators |
||
| class(equilibrium_t), | intent(inout) | :: | equi |
Equilibrium |
||
| type(mesh_cart_t), | intent(in) | :: | mesh_cano |
Mesh (canonical) |
||
| type(mesh_cart_t), | intent(in) | :: | mesh_stag |
Mesh (staggered) |
||
| type(parallel_map_t), | intent(in) | :: | map |
Mesh within poloidal plane |
||
| real(kind=GP), | intent(in) | :: | tau |
Time |
||
| type(variable_t), | intent(in) | :: | ne |
Numerical solution for electron density |
||
| type(variable_t), | intent(in) | :: | pot |
Numerical solution for electrostatic potential |
||
| type(variable_t), | intent(in) | :: | vort |
Numerical solution for generalised vorticity |
||
| type(variable_t), | intent(in) | :: | upar |
Numerical solution for parallel ion velocity |
||
| type(variable_t), | intent(in) | :: | jpar |
Numerical solution for parallel current |
||
| type(variable_t), | intent(in) | :: | apar |
Numerical solution for parallel electromagnetic potential |
||
| type(variable_t), | intent(in) | :: | te |
Numerical solution for electron temperature |
||
| type(variable_t), | intent(in) | :: | ti |
Numerical solution for ion temperature |