This module provides the definition and methods for boundarys.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private, | parameter | :: | block_size | = | 576 |
lattice dx and dt on each level
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | private, | allocatable | :: | dtLvl(:) | dt in LB unit, dtLvl(minLevel) = 1.0 |
||
real(kind=rk), | private, | allocatable | :: | dxLvl(:) | dx in LB unit, dxLvl(minLevel) = 1.0 |
Global parameter type definition, filled with
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(tem_general_type), | private | :: | general | Treelm param parameter type |
|||
type(mus_abortCriteria_type), | private | :: | mus_Aborts | Musubi specific abort criteria |
|||
type(mus_latticeUnit_type), | private | :: | lattice | Lattice dx and dt on each level |
|||
type(mus_physics_type), | private | :: | physics | contains basic SI units to convert from lattice to physical and vice versa |
|||
character(len=labelLen), | private | :: | controlRoutine | type of the control routine |
|||
logical, | private | :: | init_allElems | = | .false. | initialize all elements with valid entries? This should only be activated for debugging, as it needs to be ensured that all helper elements are filled by communication and interpolation instead of filling initial values (consider restart!) |
|
character(len=labelLen), | private | :: | scaling | type of the scaling: * acoustic * diffusive |
|||
integer, | private | :: | scaleFactor | Temporal scaling factor for the scaling. Acoustic = 2, Diffusive = 4 |
|||
integer, | private | :: | nNesting | = | 2 | To calculate turbulent viscosity, velocity on buffer ghost elements should be valid to nesting is set to same as scaling Factor |
|
integer, | private | :: | reqInterval | Required interval, in which the update MUST occur. This is required for the musubi multilevel, where the time step should only be determined active, when the end of the largest cycle is reached. |
|||
logical, | private | :: | comm_reduced | = | .true. | ||
character(len=labelLen), | private | :: | version | = | 'v2.0' | need to set solver version in general%solver%version |
|
logical, | private | :: | restart_triggered | = | .false. | active when restart is triggered by restart timeControl dump restart when simulation reached end only when restart is not triggered by its timeControl before |
|
logical, | private | :: | remove_solid | = | .true. | remove solid from BC list |
|
integer, | private | :: | block | = | block_size | Block size for compute kernel |
|
logical, | private | :: | initial_balance | = | .false. | Initial balance |
|
logical, | private | :: | dump_level_timing | = | .false. | scratch file unit contains solver specific info in dump in restart header This file should contain the information in form of a Lua script. KM: Not required anymore. Load config file name from restart header integer :: solSpec_unit = -1 Dump level timing |
|
logical, | private | :: | dump_linear_partition | = | .false. | Dump linear partition |
|
logical, | private | :: | dump_bc_timing | = | .false. | Dump computation and bc timing information for all ranks |
load global parameter from conf
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mus_param_type), | intent(inout) | :: | params | global parameter info |
||
type(flu_state) | :: | conf | lua state |
This routine writes global parameter into solver specific string in lua format
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mus_param_type), | intent(in) | :: | me | |||
type(aot_out_type) | :: | conf |
This routine initialize lattice dx and dt
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mus_latticeUnit_type), | intent(out) | :: | lattice | Lattice unit |
||
integer, | intent(in) | :: | minLevel | minlevel and maxlevel |
||
integer, | intent(in) | :: | maxLevel | minlevel and maxlevel |
||
integer, | intent(in) | :: | scaleFactor | scaleFactor depending on acoustic or diffusive scaling |