I'm very new to working in PFLOTRAN and I'm trying to create a Pyrite precipitation model similar to the 1-D Calcite flow and transport model found in exercises. I was able to create a list of Primary and Secondary species using the python script but I keep getting an infinite concentration error from my secondary species.
Error:
================================
PFLOTRAN Development Version
================================
"grid_structured_type" set to default value.
pflotran card:: NUMERICAL_METHODS
pflotran card:: NUMERICAL_METHODS
pflotran card:: CHEMISTRY
"Pyrite RATE_CONSTANT UNITS" set to default value.
pflotran card:: GRID
pflotran card:: FLUID_PROPERTY
"FLUID_PROPERTY,diffusion_coefficient units" set to default value.
pflotran card:: MATERIAL_PROPERTY
Name :: soil1
pflotran card:: CHARACTERISTIC_CURVES
Name :: default
WARNING: A default Saturation Function has been chosen in CHARACTERISTIC_CURVES(default),.
WARNING: A default Relative Permeability Function has been chosen in CHARACTERISTIC_CURVES(default),.
WARNING: A default Relative Permeability Function has been chosen in CHARACTERISTIC_CURVES(default),.
pflotran card:: OUTPUT
"OUTPUT,FORMAT,HDF5,# FILES" set to default value.
pflotran card:: TIME
pflotran card:: REGION
all
pflotran card:: REGION
west
pflotran card:: REGION
east
pflotran card:: FLOW_CONDITION
initial_pressure
pflotran card:: FLOW_CONDITION
inlet_flux
pflotran card:: TRANSPORT_CONDITION
background_conc
pflotran card:: TRANSPORT_CONDITION
inlet_conc
pflotran card:: CONSTRAINT
initial_constraint
Constraint Species: H+
Constraint Species: SO4--
Constraint Species: Fe++
Constraint Species: H2O
Constraint Species: O2(aq)
Constraint Minerals: Pyrite
pflotran card:: CONSTRAINT
inlet_constraint
Constraint Species: H+
Constraint Species: SO4--
Constraint Species: Fe++
Constraint Species: H2O
Constraint Species: O2(aq)
pflotran card:: INITIAL_CONDITION
"Initial Condition name" set to default value.
pflotran card:: BOUNDARY_CONDITION
pflotran card:: BOUNDARY_CONDITION
pflotran card:: STRATA
pflotran card:: END_SUBSURFACE
Extent of Gridded Domain
X: 0.000000E+00 - 1.000000E+02
Y: 0.000000E+00 - 1.000000E+00
Z: 0.000000E+00 - 1.000000E+00
Size of Gridded Domain
Number of grid cells: 100
Min/Max Cell Volumes [m^3]
Maximum: 1.000000E+00
Minimum: 1.000000E+00
Number of active grid cells: 100
Number of inactive grid cells: 0
Setting up TRAN Realization
(0): ERROR: Infinite concentrations found in constraint "initial_constraint".
(0): Species "H2S(aq)" has an infinite (or near infinite) concentration (Infinity).
ERROR(0): Secondary aqueous concentrations RESULTING from constraint concentrations must be reasonable.
Stopping!
WARNING! There are options you set that were not used!
WARNING! could be spelling mistake, etc!
There is one unused database option. It is:
Option left: name:-input_prefix value: pyrite_flow_and_tran source: command line
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:
Process name: [[11959,1],0]
Exit code: 87
--------------------------------------------------------------------------
Input File: