Peano
Loading...
Searching...
No Matches
channel-flow Namespace Reference

Variables

str initial_conditions
 
str boundary_conditions
 
str refinement_criterion
 
 parser = exahype2.ArgumentParser("ExaHyPE 2 - Finite Volumes Testing Script")
 
 min_depth
 
 degrees_of_freedom
 
 end_time
 
 args = parser.parse_args()
 
list size = [1.0, 1.0, 1.0]
 
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
 
 limiter
 
 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

channel-flow.args = parser.parse_args()

Definition at line 41 of file channel-flow.py.

◆ boundary_conditions

channel-flow.boundary_conditions
Initial value:
1= """
2 for (int i = 0; i < NumberOfUnknowns + NumberOfAuxiliaryVariables; i++) {
3 Qoutside[i] = Qinside[i];
4 }
5
6 // Inlet boundary condition (x[0] = 0.0)
7 if (tarch::la::smallerEquals(x[0], MaxAdmissibleCellH)) {
8 Qoutside[Shortcuts::rhoU + 0] = 1.0;
9 }
10
11 // Outlet boundary condition
12 if (tarch::la::greaterEquals(x[0], DomainSize[0] - MaxAdmissibleCellH)) {
13 Qoutside[Shortcuts::rhoU + 0] = Qinside[Shortcuts::rhoU + 0];
14 }
15"""

Definition at line 18 of file channel-flow.py.

◆ degrees_of_freedom

channel-flow.degrees_of_freedom

Definition at line 40 of file channel-flow.py.

◆ dimensions

channel-flow.dimensions

Definition at line 83 of file channel-flow.py.

◆ end_time

channel-flow.end_time

Definition at line 40 of file channel-flow.py.

◆ first_plot_time_stamp

channel-flow.first_plot_time_stamp

Definition at line 88 of file channel-flow.py.

◆ flux

channel-flow.flux

Definition at line 64 of file channel-flow.py.

◆ fv_solver

channel-flow.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)

Definition at line 47 of file channel-flow.py.

◆ initial_conditions

channel-flow.initial_conditions
Initial value:
1= """
2 Q[Shortcuts::rho] = 1.0;
3 Q[Shortcuts::rhoU + 0] = 0.0; // Flow in x-direction
4 Q[Shortcuts::rhoU + 1] = 0.0; // No vertical velocity
5#if DIMENSIONS == 3
6 Q[Shortcuts::rhoU + 2] = 0.0;
7#endif
8 Q[Shortcuts::rhoE] = 1.0 / (GAMMA - 1.0) + 0.5 * (Q[Shortcuts::rhoU + 0] * Q[Shortcuts::rhoU + 0] + Q[Shortcuts::rhoU + 1] * Q[Shortcuts::rhoU + 1]) / Q[Shortcuts::rho];
9"""

Definition at line 8 of file channel-flow.py.

◆ limiter

channel-flow.limiter

Definition at line 65 of file channel-flow.py.

◆ make

channel-flow.make

Definition at line 104 of file channel-flow.py.

◆ make_clean_first

channel-flow.make_clean_first

Definition at line 104 of file channel-flow.py.

◆ max_eigenvalue

channel-flow.max_eigenvalue

Definition at line 63 of file channel-flow.py.

◆ max_end_time

channel-flow.max_end_time

Definition at line 87 of file channel-flow.py.

◆ max_h

float channel-flow.max_h = 1.1 * min(size) / (3.0**args.min_depth)

Definition at line 44 of file channel-flow.py.

◆ min_depth

channel-flow.min_depth

Definition at line 40 of file channel-flow.py.

◆ min_end_time

channel-flow.min_end_time

Definition at line 86 of file channel-flow.py.

◆ min_h

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

Definition at line 45 of file channel-flow.py.

◆ mode

channel-flow.mode

Definition at line 100 of file channel-flow.py.

◆ offset

channel-flow.offset

Definition at line 85 of file channel-flow.py.

◆ parser

channel-flow.parser = exahype2.ArgumentParser("ExaHyPE 2 - Finite Volumes Testing Script")

Definition at line 39 of file channel-flow.py.

◆ periodic_BC

channel-flow.periodic_BC

Definition at line 90 of file channel-flow.py.

◆ project

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

Definition at line 68 of file channel-flow.py.

◆ refinement_criterion

channel-flow.refinement_criterion
Initial value:
1= """
2 auto result = ::exahype2::RefinementCommand::Keep;
3 return result;
4"""

Definition at line 34 of file channel-flow.py.

◆ size

channel-flow.size = [1.0, 1.0, 1.0]

Definition at line 43 of file channel-flow.py.

◆ throw_away_data_after_build

channel-flow.throw_away_data_after_build

Definition at line 104 of file channel-flow.py.

◆ time_in_between_plots

channel-flow.time_in_between_plots = 0.0

Definition at line 77 of file channel-flow.py.

◆ True

channel-flow.True

Definition at line 104 of file channel-flow.py.