[Richards] Update tests to math parser syntax

parent 689282a9
......@@ -19,7 +19,7 @@ def evaluate(iniinfo,runtime):
vtk_file = vtks[-1]
influx = float(iniinfo["_ode.flux"])
initial_head = float(iniinfo["richards.initial.headLower"])
initial_head = float(iniinfo["_ode.headLower"])
extensions = list(map(float,iniinfo["grid.extensions"].split()))
# get parameter data
......
......@@ -16,6 +16,9 @@ output.fileName = ode_homogeneous_sand | unique
output.outputPath = ode_homogeneous_sand | unique
output.vertexData = false
initial.type = analytic
initial.equation = -y
boundary.file = "{_asset_path}/bcs/infiltration_2d.dat"
parameters.file = "{_asset_path}/param/param.yml"
......@@ -33,5 +36,6 @@ numerics.FEorder = 1, 2, 3 | expand prec
[_ode]
flux = -5.55e-6
headLower = 0.
head_abstol = 3E-6, 2E-8, 6E-8 | expand prec
flux_abstol = 5E-11, 1E-9, 3E-12 | expand prec
......@@ -20,6 +20,9 @@ output.fileName = ode_homogeneous_silt | unique
output.outputPath = ode_homogeneous_silt | unique
output.vertexData = false
initial.type = analytic
initial.equation = -y
boundary.file = "{_asset_path}/bcs/infiltration_2d.dat"
parameters.file = "{_asset_path}/param/param.yml"
......@@ -37,5 +40,6 @@ numerics.FEorder = 1, 2, 3 | expand prec
[_ode]
flux = -5.55e-6
headLower = 0.
head_abstol = 6E-6, 4E-6, 9E-6 | expand prec
flux_abstol = 2E-9, 2E-8, 3E-9 | expand prec
......@@ -20,6 +20,9 @@ output.fileName = ode_layered | unique
output.outputPath = ode_layered | unique
output.vertexData = false
initial.type = analytic
initial.equation = -y
boundary.file = "{_asset_path}/bcs/infiltration_2d.dat"
parameters.file = "{_asset_path}/param/param.yml"
......@@ -37,5 +40,6 @@ numerics.FEorder = 1, 2, 3 | expand prec
[_ode]
flux = -5.55e-6
headLower = 0.
head_abstol = 3E-5, 4E-8, 4E-6 | expand prec
flux_abstol = 5E-10, 4E-9, 5E-11 | expand prec
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment