Update grid configuration and diffusion boundary definitions in Initialization.md

Max Lübke 2024-04-12 14:39:19 +02:00
parent 23d93f91cc
commit 730c5fa29c

@ -18,6 +18,8 @@ list(
## Grid (Geometry)
$x$ equals to the horizontal axis, $y$ to the vertical axis.
```r
# Define grid configuration for POET model
Grid <- list(
@ -30,7 +32,7 @@ Grid <- list(
pqc_db_string = character(), # Phreeqc database file as string
#---#
grid_def = matrix(), # Definition of the grid, containing IDs according to the Phreeqc input script
grid_size = numeric(), # Size of the grid in meters
grid_size = numeric(), # Size of the grid in meters (x,y)
constant_cells = numeric(), # IDs of cells with constant concentration (PLACEHOLDER)
porosity = numeric(nrow * ncol) | numeric(1), # Porosity of the grid (PLACEHOLDER)
)
@ -47,7 +49,7 @@ Diffusion <- list(
boundaries = list( # Define boundary conditions for diffusion
"N" = list(
"type" = character(), # Define the type of boundary (e.g. "fixed_grad", "closed", "constant")
"cell" = numeric(), # Define the cell ID; counting begins @ 1
"cell" = numeric(), # Define the cell ID; counting begins @ 1 (N/W beginning on the left side to the right, E/S on the upper side downwards)
"sol_id" = numeric(), # Define the Phreeqc solution ID for the boundary
),
# Only those boundaries needs to be defined, which are not "closed"