Peano
Loading...
Searching...
No Matches
isothermal-stratification Namespace Reference

Variables

str initial_conditions
 
str boundary_conditions
 
str compute_usq
 
tuple calculate_pressure
 
tuple calculate_pressure_perturbations
 
tuple limiter
 
tuple reconstruction
 
 parser = exahype2.ArgumentParser("ExaHyPE 2 - Finite Volumes Testing Script")
 
 min_depth
 
 degrees_of_freedom
 
 args = parser.parse_args()
 
list size = [40_000, 40_000, 40_000]
 
float max_h = 1.1 * min(size) / (3.0**args.min_depth)
 
float min_h = max_h * 3.0 ** (-args.amr_levels)
 
 fv_solver
 
 max_eigenvalue
 
 flux
 
 riemann_solver
 
 source_term
 Source term needs to be commented out for Godunov.
 
 project
 
float time_in_between_plots = 0.0
 
 dimensions
 
 offset
 
 min_end_time
 
 max_end_time
 
 first_plot_time_stamp
 
 periodic_BC
 
 mode
 
 make
 
 True
 
 make_clean_first
 
 throw_away_data_after_build
 

Variable Documentation

◆ args

isothermal-stratification.args = parser.parse_args()

Definition at line 286 of file isothermal-stratification.py.

◆ boundary_conditions

isothermal-stratification.boundary_conditions

Definition at line 54 of file isothermal-stratification.py.

◆ calculate_pressure

tuple isothermal-stratification.calculate_pressure
Initial value:
1= (
2
3 + compute_usq
4 +
5)

Definition at line 122 of file isothermal-stratification.py.

◆ calculate_pressure_perturbations

tuple isothermal-stratification.calculate_pressure_perturbations
Initial value:
1= (
2
3 + calculate_pressure
4 +
5)

Definition at line 142 of file isothermal-stratification.py.

◆ compute_usq

str isothermal-stratification.compute_usq
Initial value:
1= """
2 auto computeUSq = [] (
3 const {{COMPUTE_PRECISION}}* const NOALIAS Q,
4 {{COMPUTE_PRECISION}}& uSq
5 ) {
6 const int ShortcutRho = 0;
7 const int ShortcutRhoU = 1;
8
9 const auto u = Q[ShortcutRhoU + 0] / Q[ShortcutRho];
10 const auto v = Q[ShortcutRhoU + 1] / Q[ShortcutRho];
11 #if DIMENSIONS == 3
12 const auto w = Q[ShortcutRhoU + 2] / Q[ShortcutRho];
13 uSq = u * u + v * v + w * w;
14 #else
15 uSq = u * u + v * v;
16 #endif
17 };
18"""

Definition at line 103 of file isothermal-stratification.py.

◆ degrees_of_freedom

isothermal-stratification.degrees_of_freedom

Definition at line 284 of file isothermal-stratification.py.

◆ dimensions

isothermal-stratification.dimensions

Definition at line 339 of file isothermal-stratification.py.

◆ first_plot_time_stamp

isothermal-stratification.first_plot_time_stamp

Definition at line 344 of file isothermal-stratification.py.

◆ flux

isothermal-stratification.flux

Definition at line 309 of file isothermal-stratification.py.

◆ fv_solver

isothermal-stratification.fv_solver
Initial value:
1= exahype2.solvers.fv.musclhancock.GlobalAdaptiveTimeStep(
2 name="FVSolver",
3 patch_size=args.degrees_of_freedom,
4 unknowns={"rho": 1, "rhoU": args.dimensions, "rhoE": 1},
5 auxiliary_variables=0,
6 min_volume_h=min_h,
7 max_volume_h=max_h,
8 time_step_relaxation=0.5,
9 use_enclave_tasking=args.enclave_tasking,
10 number_of_enclave_tasks=args.ntasks,
11 reconstruction=reconstruction, # Specific to MUSCL-Hancock
12)

Definition at line 292 of file isothermal-stratification.py.

◆ initial_conditions

isothermal-stratification.initial_conditions
Initial value:
1= """
2 const auto scaleHeight = (GAS_CONSTANT * TEMPERATURE) / GRAVITY / MEAN_MOLECULAR_MASS;
3 const auto exponentialDistribution = tarch::la::pow(tarch::la::E, -x(1) / scaleHeight);
4
5 Q[Shortcuts::rho] = GROUND_DENSITY * exponentialDistribution;
6 Q[Shortcuts::rhoU + 0] = 0.0;
7 Q[Shortcuts::rhoU + 1] = 0.0;
8#if DIMENSIONS == 3
9 Q[Shortcuts::rhoU + 2] = 0.0;
10#endif
11
12 const auto pressure = Q[Shortcuts::rho] * GAS_CONSTANT * TEMPERATURE / MEAN_MOLECULAR_MASS;
13 Q[Shortcuts::rhoE] = pressure / (GAMMA - 1.0);
14"""

Definition at line 39 of file isothermal-stratification.py.

◆ limiter

isothermal-stratification.limiter
Initial value:
1= (
2 calculate_pressure_perturbations
3 +
4)

Definition at line 187 of file isothermal-stratification.py.

◆ make

isothermal-stratification.make

Definition at line 365 of file isothermal-stratification.py.

◆ make_clean_first

isothermal-stratification.make_clean_first

Definition at line 365 of file isothermal-stratification.py.

◆ max_eigenvalue

isothermal-stratification.max_eigenvalue

Definition at line 308 of file isothermal-stratification.py.

◆ max_end_time

isothermal-stratification.max_end_time

Definition at line 343 of file isothermal-stratification.py.

◆ max_h

float isothermal-stratification.max_h = 1.1 * min(size) / (3.0**args.min_depth)

Definition at line 289 of file isothermal-stratification.py.

◆ min_depth

isothermal-stratification.min_depth

Definition at line 283 of file isothermal-stratification.py.

◆ min_end_time

isothermal-stratification.min_end_time

Definition at line 342 of file isothermal-stratification.py.

◆ min_h

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

Definition at line 290 of file isothermal-stratification.py.

◆ mode

isothermal-stratification.mode

Definition at line 356 of file isothermal-stratification.py.

◆ offset

isothermal-stratification.offset

Definition at line 341 of file isothermal-stratification.py.

◆ parser

isothermal-stratification.parser = exahype2.ArgumentParser("ExaHyPE 2 - Finite Volumes Testing Script")

Definition at line 281 of file isothermal-stratification.py.

◆ periodic_BC

isothermal-stratification.periodic_BC

Definition at line 346 of file isothermal-stratification.py.

◆ project

isothermal-stratification.project
Initial value:
1= exahype2.Project(
2 namespace=["tests", "exahype2", "fv"],
3 project_name="IsothermalStratification",
4 directory=".",
5 executable="ExaHyPE",
6)

Definition at line 324 of file isothermal-stratification.py.

◆ reconstruction

tuple isothermal-stratification.reconstruction
Initial value:
1= (
2
3 + calculate_pressure
4 +
5 + compute_usq
6 +
7)

Definition at line 216 of file isothermal-stratification.py.

◆ riemann_solver

isothermal-stratification.riemann_solver

Definition at line 311 of file isothermal-stratification.py.

◆ size

isothermal-stratification.size = [40_000, 40_000, 40_000]

Definition at line 288 of file isothermal-stratification.py.

◆ source_term

isothermal-stratification.source_term

Source term needs to be commented out for Godunov.

# Otherwise, the effects of the source term will be # taken into account twice (f-wave and cell centered). # MUSCL-Hancock needs the source term in both places. #

Definition at line 321 of file isothermal-stratification.py.

◆ throw_away_data_after_build

isothermal-stratification.throw_away_data_after_build

Definition at line 365 of file isothermal-stratification.py.

◆ time_in_between_plots

isothermal-stratification.time_in_between_plots = 0.0

Definition at line 333 of file isothermal-stratification.py.

◆ True

isothermal-stratification.True

Definition at line 365 of file isothermal-stratification.py.