From c3107f9d37ed12db3328ca3945d968ce34fef551 Mon Sep 17 00:00:00 2001 From: MuellerSeb Date: Fri, 16 Aug 2019 15:53:07 +0200 Subject: [PATCH] update example 02 --- examples/02_pump_test_het_3D.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/examples/02_pump_test_het_3D.py b/examples/02_pump_test_het_3D.py index 953d281..5a8b4d1 100755 --- a/examples/02_pump_test_het_3D.py +++ b/examples/02_pump_test_het_3D.py @@ -12,7 +12,7 @@ model.gli.generate("radial", dim=3, angles=64, rad_out=100, z_size=-10) model.gli.add_polyline("pwell", [[0, 0, 0], [0, 0, -10]]) model.msh.generate( - "radial", dim=3, angles=64, rad=np.arange(101), z_arr=-np.arange(11), + "radial", dim=3, angles=64, rad=np.arange(101), z_arr=-np.arange(11) ) cond = np.exp(srf.mesh(model.msh)) mpd = MPD(model.task_id) @@ -36,12 +36,6 @@ GEO_TYPE=["POLYLINE", "pwell"], DIS_TYPE=["CONSTANT_NEUMANN", -1.0e-3], ) -model.ic.add_block( # set the initial condition - PCS_TYPE="GROUNDWATER_FLOW", - PRIMARY_VARIABLE="HEAD", - GEO_TYPE="DOMAIN", - DIS_TYPE=["CONSTANT", 0.0], -) model.mmp.add_block( # permeability, storage and porosity GEOMETRY_DIMENSION=3, STORAGE=[1, 1.0e-4], @@ -49,7 +43,7 @@ POROSITY=0.2, ) model.num.add_block( # numerical solver - PCS_TYPE='GROUNDWATER_FLOW', + PCS_TYPE="GROUNDWATER_FLOW", LINEAR_SOLVER=[2, 5, 1.0e-14, 1000, 1.0, 100, 4], ) model.out.add_block( # set the outputformat