Skip to content
Snippets Groups Projects
Commit a496276b authored by David Seus's avatar David Seus
Browse files

mv InstallationTest to Setup folder

parent 461f210c
Branches
No related tags found
No related merge requests found
......@@ -446,26 +446,28 @@ pc_e_sym = hlp.generate_exact_symbolic_pc(
symbols = {"x": x,
"y": y,
"t": t}
# turn above symbolic code into exact solution for dolphin and
# construct the rhs that matches the above exact solution.
exact_solution_example = hlp.generate_exact_solution_expressions(
symbols=symbols,
isRichards=isRichards,
symbolic_pressure=p_e_sym,
symbolic_capillary_pressure=pc_e_sym,
saturation_pressure_relationship=S_pc_sym,
saturation_pressure_relationship_prime=S_pc_sym_prime,
viscosity=viscosity,
porosity=porosity,
relative_permeability=relative_permeability,
relative_permeability_prime=ka_prime,
densities=densities,
gravity_acceleration=gravity_acceleration,
include_gravity=include_gravity,
)
source_expression = exact_solution_example['source']
exact_solution = exact_solution_example['exact_solution']
initial_condition = exact_solution_example['initial_condition']
# turn above symbolic code into exact solution for dolphin and
# construct the rhs that matches the above exact solution.
exact_solution_example = hlp.generate_exact_solution_expressions(
symbols=symbols,
isRichards=isRichards,
symbolic_pressure=p_e_sym,
symbolic_capillary_pressure=pc_e_sym,
saturation_pressure_relationship=S_pc_sym,
saturation_pressure_relationship_prime=S_pc_sym_prime,
viscosity=viscosity,
porosity=porosity,
intrinsic_permeability=intrinsic_permeability,
relative_permeability=relative_permeability,
relative_permeability_prime=ka_prime,
densities=densities,
gravity_acceleration=gravity_acceleration,
include_gravity=include_gravity,
)
source_expression = exact_solution_example['source']
exact_solution = exact_solution_example['exact_solution']
initial_condition = exact_solution_example['initial_condition']
~~~
This block defines exact solution expressions and calculates source terms and
initial conditions from it.
......@@ -521,7 +523,7 @@ see `../LDDsimulation/helpers.py`, which in turn sets up the simulation object
and runs the simulation.
In case a mesh study is run the script ` hlp.merge_spacetime_errornorms(**kwrgs)`
is run to merge the space time error norms for each mesh size, that have been
saved in seperate files to allow parallel processing of the different mesh sizes.
saved in seperate files to allow parallel processing of the different mesh sizes.
~~~python
# MAIN ########################################################################
if __name__ == '__main__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment