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

Variables

 parser = exahype2.ArgumentParser("ExaHyPE 2 - Finite Differences Testing Script")
 min_depth
 degrees_of_freedom
 end_time
 time_step_relaxation
 periodic_boundary_conditions_x
 periodic_boundary_conditions_y
 periodic_boundary_conditions_z
 args = parser.parse_args()
float MOLAR_HEAT_CAPACITY = 25.78
float MOLAR_WEIGHT = 0.0269815386
int THERMAL_CONDUCTIVITY = 237
int DENSITY = 2700
float SPECIFIC_HEAT_CAPACITY = MOLAR_HEAT_CAPACITY / MOLAR_WEIGHT
int THERMAL_DIFFUSIVITY
str initial_conditions
str boundary_conditions
float max_h = 0.0007
float min_h = 0.0007
 fd_solver
 solver
 project
float time_in_between_plots = 0.0
 dimensions
 size
 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

fd.args = parser.parse_args()

Definition at line 17 of file fd.py.

◆ boundary_conditions

fd.boundary_conditions
Initial value:
1= """
2 // normal == 0 => left
3 // normal == 1 => bottom
4 // normal == 2 => right
5 // normal == 3 => top
6 if (normal == 0) {
7 // Heat sink
8 Qoutside0[Shortcuts::T] = 300; // in K
9 Qoutside0[Shortcuts::kappa] = Qinside[Shortcuts::kappa];
10 } else {
11 // Insulation everywhere else
12 Qoutside0[Shortcuts::T] = Qinside[Shortcuts::T];
13 Qoutside0[Shortcuts::kappa] = Qinside[Shortcuts::kappa];
14 }
15"""

Definition at line 43 of file fd.py.

◆ degrees_of_freedom

fd.degrees_of_freedom

Definition at line 10 of file fd.py.

◆ DENSITY

int fd.DENSITY = 2700

Definition at line 32 of file fd.py.

◆ dimensions

fd.dimensions

Definition at line 108 of file fd.py.

◆ end_time

fd.end_time

Definition at line 11 of file fd.py.

◆ fd_solver

fd.fd_solver
Initial value:
1= exahype2.solvers.fd.GlobalFixedTimeStep(
2 name="FDSolver",
3 patch_size=args.degrees_of_freedom,
4 unknowns={"T": 1},
5 auxiliary_variables={"kappa": 1},
6 min_h=min_h,
7 max_h=max_h,
8 normalised_time_step_size=(
9 args.time_step_relaxation * (min_h) ** 2 / THERMAL_DIFFUSIVITY
10 ),
11 order=1,
12)

Definition at line 62 of file fd.py.

◆ first_plot_time_stamp

fd.first_plot_time_stamp

Definition at line 113 of file fd.py.

◆ initial_conditions

fd.initial_conditions
Initial value:
1= """
2 Q[Shortcuts::T] = 400; // in K
3 Q[Shortcuts::kappa] = THERMAL_DIFFUSIVITY;
4"""

Definition at line 38 of file fd.py.

◆ make

fd.make

Definition at line 129 of file fd.py.

◆ make_clean_first

fd.make_clean_first

Definition at line 129 of file fd.py.

◆ max_end_time

fd.max_end_time

Definition at line 112 of file fd.py.

◆ max_h

float fd.max_h = 0.0007

Definition at line 59 of file fd.py.

◆ min_depth

fd.min_depth

Definition at line 9 of file fd.py.

◆ min_end_time

fd.min_end_time

Definition at line 111 of file fd.py.

◆ min_h

float fd.min_h = 0.0007

Definition at line 60 of file fd.py.

◆ mode

fd.mode

Definition at line 124 of file fd.py.

◆ MOLAR_HEAT_CAPACITY

float fd.MOLAR_HEAT_CAPACITY = 25.78

Definition at line 29 of file fd.py.

◆ MOLAR_WEIGHT

float fd.MOLAR_WEIGHT = 0.0269815386

Definition at line 30 of file fd.py.

◆ offset

fd.offset

Definition at line 110 of file fd.py.

◆ parser

fd.parser = exahype2.ArgumentParser("ExaHyPE 2 - Finite Differences Testing Script")

Definition at line 6 of file fd.py.

◆ periodic_BC

fd.periodic_BC

Definition at line 115 of file fd.py.

◆ periodic_boundary_conditions_x

fd.periodic_boundary_conditions_x

Definition at line 13 of file fd.py.

◆ periodic_boundary_conditions_y

fd.periodic_boundary_conditions_y

Definition at line 14 of file fd.py.

◆ periodic_boundary_conditions_z

fd.periodic_boundary_conditions_z

Definition at line 15 of file fd.py.

◆ project

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

Definition at line 93 of file fd.py.

◆ size

fd.size

Definition at line 109 of file fd.py.

◆ solver

fd.solver

Definition at line 78 of file fd.py.

◆ SPECIFIC_HEAT_CAPACITY

float fd.SPECIFIC_HEAT_CAPACITY = MOLAR_HEAT_CAPACITY / MOLAR_WEIGHT

Definition at line 33 of file fd.py.

◆ THERMAL_CONDUCTIVITY

int fd.THERMAL_CONDUCTIVITY = 237

Definition at line 31 of file fd.py.

◆ THERMAL_DIFFUSIVITY

int fd.THERMAL_DIFFUSIVITY
Initial value:
1= THERMAL_CONDUCTIVITY / (
2 SPECIFIC_HEAT_CAPACITY * DENSITY
3)

Definition at line 34 of file fd.py.

◆ throw_away_data_after_build

fd.throw_away_data_after_build

Definition at line 129 of file fd.py.

◆ time_in_between_plots

fd.time_in_between_plots = 0.0

Definition at line 102 of file fd.py.

◆ time_step_relaxation

fd.time_step_relaxation

Definition at line 12 of file fd.py.

◆ True

fd.True

Definition at line 129 of file fd.py.