Peano
Loading...
Searching...
No Matches
thunderstorm Namespace Reference

Variables

 parser
 
 min_depth
 
 degrees_of_freedom
 
 end_time
 
 default
 
 type
 
 help
 
 args = parser.parse_args()
 
list size = [1_200e3, 220e3, 1_200e3]
 
tuple atmosphere_initial_conditions
 ATMOSPHERE SOLVER #.
 
str atmosphere_boundary_conditions
 
float max_h = 1.1 * min(size) / (3.0**args.min_depth)
 
float min_h = max_h * 3.0 ** (-args.amr_levels)
 
dict atmosphere_unknowns
 
dict atmosphere_auxiliary_variables
 
 atmosphere_solver
 
 initial_conditions
 
 boundary_conditions
 
 flux
 
 riemann_solver
 
 max_eigenvalue
 
 source_term
 
dict diffusion_unknowns
 DIFFUSION SOLVER #.
 
dict diffusion_auxiliary_variables
 
tuple diffusion_initial_conditions
 
str diffusion_boundary_conditions
 
 diffusion_solver
 
 solver
 
 project
 PEANO PROJECT #.
 
 make
 
 True
 
 make_clean_first
 
 throw_away_data_after_build
 

Variable Documentation

◆ args

thunderstorm.args = parser.parse_args()

Definition at line 35 of file thunderstorm.py.

◆ atmosphere_auxiliary_variables

dict thunderstorm.atmosphere_auxiliary_variables
Initial value:
1= {
2 "T": 1,
3 "O": 1,
4 "O2": 1,
5 "N2": 1,
6 "backgroundDensity": 1,
7 "backgroundPressure": 1,
8 }

Definition at line 156 of file thunderstorm.py.

◆ atmosphere_boundary_conditions

str thunderstorm.atmosphere_boundary_conditions

Definition at line 74 of file thunderstorm.py.

◆ atmosphere_initial_conditions

tuple thunderstorm.atmosphere_initial_conditions
Initial value:
1= (
3 csv_file_path=args.csv_file_path,
4 initialize_density=True,
5 initialize_hydrogen=False,
6 )
7 +
8 )
get_CSV_initializer(csv_file_path, bool initialize_density, bool initialize_hydrogen)

ATMOSPHERE SOLVER #.

Definition at line 44 of file thunderstorm.py.

◆ atmosphere_solver

thunderstorm.atmosphere_solver
Initial value:
1= exahype2.solvers.fv.godunov.GlobalAdaptiveTimeStep(
2 name="FVSolver",
3 patch_size=args.degrees_of_freedom,
4 unknowns=atmosphere_unknowns,
5 auxiliary_variables=atmosphere_auxiliary_variables,
6 min_volume_h=min_h,
7 max_volume_h=max_h,
8 time_step_relaxation=0.5,
9 )

Definition at line 165 of file thunderstorm.py.

◆ atmosphere_unknowns

dict thunderstorm.atmosphere_unknowns
Initial value:
1= {
2 "rho": 1,
3 "rhou": 1,
4 "rhov": 1,
5 "E": 1,
6 }

Definition at line 146 of file thunderstorm.py.

◆ boundary_conditions

thunderstorm.boundary_conditions

Definition at line 177 of file thunderstorm.py.

◆ default

thunderstorm.default

Definition at line 31 of file thunderstorm.py.

◆ degrees_of_freedom

thunderstorm.degrees_of_freedom

Definition at line 25 of file thunderstorm.py.

◆ diffusion_auxiliary_variables

dict thunderstorm.diffusion_auxiliary_variables
Initial value:
1= {
2 "nu": 1,
3 "kappa": 1,
4 "rho": 1,
5 "E": 1,
6 "O": 1,
7 "O2": 1,
8 "N2": 1,
9 "backgroundU": 1,
10 "backgroundV": 1,
11 }

Definition at line 210 of file thunderstorm.py.

◆ diffusion_boundary_conditions

str thunderstorm.diffusion_boundary_conditions
Initial value:
1= """
2 // normal == 0 => left
3 // normal == 1 => bottom
4 // normal == 2 => right
5 // normal == 3 => top
6
7 for (int unknown = 0; unknown < NumberOfUnknowns + NumberOfAuxiliaryVariables; ++unknown) {
8 Qoutside0[unknown] = Qinside[unknown];
9 }
10
11 if (normal == 1) {
12 // Reflective at bottom to keep atmosphere
13 // from escaping the domain through the Earth's surface
14 Qoutside0[Shortcuts::u] = Qinside[Shortcuts::u];
15 Qoutside0[Shortcuts::v] = -Qinside[Shortcuts::v];
16 #if DIMENSIONS == 3
17 Qoutside0[Shortcuts::w] = Qinside[Shortcuts::w];
18 #endif
19 }"""

Definition at line 268 of file thunderstorm.py.

◆ diffusion_initial_conditions

tuple thunderstorm.diffusion_initial_conditions
Initial value:
1= (
3 csv_file_path=args.csv_file_path,
4 initialize_density=True,
5 initialize_hydrogen=False,
6 )
7 +
8 )

Definition at line 226 of file thunderstorm.py.

◆ diffusion_solver

thunderstorm.diffusion_solver
Initial value:
1= exahype2.solvers.fd.GlobalAdaptiveTimeStep(
2 name="FDSolver",
3 patch_size=args.degrees_of_freedom,
4 unknowns=diffusion_unknowns,
5 auxiliary_variables=diffusion_auxiliary_variables,
6 min_h=min_h,
7 max_h=max_h,
8 time_step_relaxation=0.5,
9 order=1,
10 solvers_before_in_coupling=[atmosphere_solver],
11 )

Definition at line 288 of file thunderstorm.py.

◆ diffusion_unknowns

dict thunderstorm.diffusion_unknowns
Initial value:
1= {
2 "u": 1,
3 "v": 1,
4 }

DIFFUSION SOLVER #.

Definition at line 200 of file thunderstorm.py.

◆ end_time

thunderstorm.end_time

Definition at line 26 of file thunderstorm.py.

◆ flux

thunderstorm.flux

Definition at line 178 of file thunderstorm.py.

◆ help

thunderstorm.help

Definition at line 33 of file thunderstorm.py.

◆ initial_conditions

thunderstorm.initial_conditions

Definition at line 176 of file thunderstorm.py.

◆ make

thunderstorm.make

Definition at line 330 of file thunderstorm.py.

◆ make_clean_first

thunderstorm.make_clean_first

Definition at line 330 of file thunderstorm.py.

◆ max_eigenvalue

thunderstorm.max_eigenvalue

Definition at line 180 of file thunderstorm.py.

◆ max_h

float thunderstorm.max_h = 1.1 * min(size) / (3.0**args.min_depth)

Definition at line 143 of file thunderstorm.py.

◆ min_depth

thunderstorm.min_depth

Definition at line 24 of file thunderstorm.py.

◆ min_h

float thunderstorm.min_h = max_h * 3.0 ** (-args.amr_levels)

Definition at line 144 of file thunderstorm.py.

◆ parser

thunderstorm.parser
Initial value:
1= exahype2.ArgumentParser(
2 "ExaHyPE 2 Gravity Waves Thunderstorm Argument Parser"
3 )

Definition at line 20 of file thunderstorm.py.

◆ project

thunderstorm.project
Initial value:
2 atmospheric_solver=atmosphere_solver,
3 diffusion_solver=diffusion_solver,
4 chemical_solver=None,
5 size=size[: args.dimensions],
6 arguments=args,
7 )
create_peano_project(atmospheric_solver, diffusion_solver, chemical_solver, size, arguments)

PEANO PROJECT #.

Definition at line 314 of file thunderstorm.py.

◆ riemann_solver

thunderstorm.riemann_solver

Definition at line 179 of file thunderstorm.py.

◆ size

list thunderstorm.size = [1_200e3, 220e3, 1_200e3]

Definition at line 38 of file thunderstorm.py.

◆ solver

thunderstorm.solver

Definition at line 304 of file thunderstorm.py.

◆ source_term

thunderstorm.source_term

Definition at line 186 of file thunderstorm.py.

◆ throw_away_data_after_build

thunderstorm.throw_away_data_after_build

Definition at line 330 of file thunderstorm.py.

◆ True

thunderstorm.True

Definition at line 330 of file thunderstorm.py.

◆ type

thunderstorm.type

Definition at line 32 of file thunderstorm.py.