mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-13 11:28:24 +01:00
37 lines
1022 B
R
37 lines
1022 B
R
rows <- 1000
|
|
cols <- 1000
|
|
|
|
grid_def <- matrix(1, nrow = rows, ncol = cols)
|
|
|
|
# Define grid configuration for POET model
|
|
grid_setup <- list(
|
|
pqc_in_file = "./SurfExBase.pqi",
|
|
pqc_db_file = "./SMILE_2021_11_01_TH.dat", # Path to the database file for Phreeqc
|
|
grid_def = grid_def, # Definition of the grid, containing IDs according to the Phreeqc input script
|
|
grid_size = c(rows, cols) / 10, # Size of the grid in meters
|
|
constant_cells = c() # IDs of cells with constant concentration
|
|
)
|
|
|
|
bound_def <- list(
|
|
"type" = rep("constant", cols),
|
|
"sol_id" = rep(2, cols),
|
|
"cell" = seq(1, cols)
|
|
)
|
|
|
|
diffusion_setup <- list(
|
|
boundaries = list(
|
|
"N" = bound_def
|
|
),
|
|
alpha_x = 1e-6,
|
|
alpha_y = 1e-6
|
|
)
|
|
|
|
|
|
chemistry_setup <- list()
|
|
|
|
# Define a setup list for simulation configuration
|
|
setup <- list(
|
|
Grid = grid_setup, # Parameters related to the grid structure
|
|
Diffusion = diffusion_setup, # Parameters related to the diffusion process
|
|
Chemistry = chemistry_setup # Parameters related to the chemistry process
|
|
) |