Skip to content

Commit

Permalink
revision of paper
Browse files Browse the repository at this point in the history
  • Loading branch information
fhesze committed Aug 16, 2019
2 parents 910dd05 + c3107f9 commit d39438e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
13 changes: 3 additions & 10 deletions examples/02_pump_test_het_3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
srf = SRF(model=cov_model, mean=-9, seed=1000)
# ogs base class
model = OGS(task_root="test_het_3D", task_id="model", output_dir="out")
# generate a radial 3D mesh and conductivity field
# generate a radial 3D mesh and conductivity field
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)
Expand All @@ -36,28 +36,21 @@
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],
PERMEABILITY_DISTRIBUTION=model.task_id + ".mpd",
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
PCS_TYPE="GROUNDWATER_FLOW",
NOD_VALUES="HEAD",
GEO_TYPE="DOMAIN",
DAT_TYPE="PVD",
TIM_TYPE=["STEPS", 1],
)
model.pcs.add_block( # set the process type
PCS_TYPE="GROUNDWATER_FLOW", NUM_TYPE="NEW", TIM_TYPE="STEADY"
Expand Down
2 changes: 1 addition & 1 deletion paper/paper.bib
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ @misc{zenodo_ogs5py
}

@misc{zenodo_gstools,
author = {Sebastian Müller, Lennart Schüler},
author = {Sebastian Müller and Lennart Schüler},
title = {gstools},
month = jan,
year = 2019,
Expand Down

0 comments on commit d39438e

Please sign in to comment.