Fixed examples to have fewer warnings. Fixed headers of some database files. Changed some output from warnings to comments.

This commit is contained in:
David Parkhurst 2025-01-04 13:13:06 -07:00
parent 09d4a0ba8e
commit da8a610a66
15 changed files with 38 additions and 29 deletions

View File

@ -8,6 +8,8 @@ examplesdir = $(docdir)/examples
dist_examples_DATA = $(EXAMPLES)
EXAMPLES= \
co2.dat \
co2_VP.dat \
co2.tsv \
ex1 \
ex2 \

4
ex11
View File

@ -58,13 +58,13 @@ USER_GRAPH 1
END
TRANSPORT
-cells 40
-lengths 0.002
-lengths 40*0.002
-shifts 100
-time_step 720.0
-flow_direction forward
-boundary_conditions flux flux
-diffusion_coefficient 0.0e-9
-dispersivities 0.002
-dispersivities 40*0.002
-correct_disp true
-punch_cells 40
-punch_frequency 1

4
ex12
View File

@ -47,8 +47,8 @@ TRANSPORT # Make column temperature 0C, displace Cl
-shifts 60
-flow_direction forward
-boundary_conditions flux flux
-lengths 0.333333
-dispersivities 0.0 # No dispersion
-lengths 60*0.333333
-dispersivities 60*0.0 # No dispersion
-diffusion_coefficient 0.0 # No diffusion
-thermal_diffusion 1.0 # No retardation for heat
END

7
ex12a
View File

@ -56,9 +56,9 @@ TRANSPORT # Diffuse 24C, NaCl solution from column ends
-shifts 1
-flow_direction diffusion
-boundary_conditions constant closed
-lengths 1.0
-lengths 20*1.0
-thermal_diffusion 3.0 # Heat is retarded equal to Na
-dispersivities 0.0 # No dispersion
-dispersivities 20*0.0 # No dispersion
-diffusion_coefficient 0.3e-9 # m^2/s
-time_step 1.0e+10 # 317 years, 19 substeps will be used
SELECTED_OUTPUT
@ -121,7 +121,8 @@ END
#
TRANSPORT # no need to redefine parameters that don't change from 20 cell model
-cells 60
-lengths 0.33333333333333333
-lengths 60*0.33333333333333333
-disp 60*0.0
-punch_cells 1-60
SELECTED_OUTPUT
-active true # See also PRINT; selected_output false

4
ex13a
View File

@ -34,8 +34,8 @@ TRANSPORT
-time_step 3600
-boundary_conditions flux flux
-diffusion_coefficient 0.0
-lengths 0.1
-dispersivities 0.015
-lengths 20*0.1
-dispersivities 20*0.015
-stagnant 1 6.8e-6 0.3 0.1
# 1 stagnant layer^, ^alpha, ^epsil(m), ^epsil(im)
END

8
ex13ac
View File

@ -34,8 +34,8 @@ TRANSPORT
-time_step 3600
-boundary_conditions flux flux
-diffusion_coefficient 0.0
-lengths 0.1
-dispersivities 0.015
-lengths 20*0.1
-dispersivities 20*0.015
-stagnant 1 6.8e-6 0.3 0.1
# 1 stagnant layer^, ^alpha, ^epsil(m), ^epsil(im)
END
@ -228,8 +228,8 @@ TRANSPORT
-time_step 3600
-boundary_conditions flux flux
-diffusion_coefficient 0.0
-lengths 0.1
-dispersivities 0.015
-lengths 20*0.1
-dispersivities 20*0.015
-stagnant 5
END
SOLUTION 0 # Original solution reenters

4
ex13b
View File

@ -55,8 +55,8 @@ TRANSPORT
-time_step 3600
-boundary_conditions flux flux
-diffusion_coefficient 0.0
-lengths 0.1
-dispersivities 0.015
-lengths 20*0.1
-dispersivities 20*0.015
-stagnant 1
END
SOLUTION 0 # Original solution reenters

4
ex13c
View File

@ -155,8 +155,8 @@ TRANSPORT
-time_step 3600
-boundary_conditions flux flux
-diffusion_coefficient 0.0
-lengths 0.1
-dispersivities 0.015
-lengths 20*0.1
-dispersivities 20*0.015
-stagnant 5
END
SOLUTION 0 # Original solution reenters

8
ex15
View File

@ -135,12 +135,12 @@ USER_GRAPH 2 Example 15
-end -end
TRANSPORT First 20 hours have NTA and cobalt in infilling solution
-cells 10
-lengths 1
-lengths 10*1
-shifts 20
-time_step 3600
-flow_direction forward
-boundary_conditions flux flux
-dispersivities .05
-dispersivities 10*.05
-correct_disp true
-diffusion_coefficient 0.0
-punch_cells 10
@ -183,13 +183,13 @@ USER_GRAPH 2
-end
TRANSPORT First 20 hours have NTA and cobalt in infilling solution
-cells 20
-lengths 0.5
-lengths 20*0.5
-shifts 40
-initial_time 0
-time_step 1800
-flow_direction forward
-boundary_conditions flux flux
-dispersivities .05
-dispersivities 20*.05
-correct_disp true
-diffusion_coefficient 0.0
-punch_cells 20

8
ex15a
View File

@ -118,12 +118,12 @@ USER_GRAPH Example 15A
-end
TRANSPORT First 20 hours have NTA and cobalt in infilling solution
-cells 10
-lengths 1
-lengths 10*1
-shifts 20
-time_step 3600
-flow_direction forward
-boundary_conditions flux flux
-dispersivities .05
-dispersivities 10*.05
-correct_disp true
-diffusion_coefficient 0.0
-punch_cells 10
@ -156,13 +156,13 @@ USER_GRAPH
-end
TRANSPORT First 20 hours have NTA and cobalt in infilling solution
-cells 20
-lengths 0.5
-lengths 20*0.5
-shifts 40
-initial_time 0
-time_step 1800
-flow_direction forward
-boundary_conditions flux flux
-dispersivities .05
-dispersivities 20*.05
-correct_disp true
-diffusion_coefficient 0.0
-punch_cells 20

8
ex15b
View File

@ -103,12 +103,12 @@ USER_PUNCH
-end
TRANSPORT First 20 hours have NTA and cobalt in infilling solution
-cells 10
-lengths 1
-lengths 10*1
-shifts 20
-time_step 3600
-flow_direction forward
-boundary_conditions flux flux
-dispersivities .05
-dispersivities 10*.05
-correct_disp true
-diffusion_coefficient 0.0
-punch_cells 10
@ -147,13 +147,13 @@ USER_PUNCH
-end
TRANSPORT First 20 hours have NTA and cobalt in infilling solution
-cells 20
-lengths 0.5
-lengths 20*0.5
-shifts 40
-initial_time 0
-time_step 1800
-flow_direction forward
-boundary_conditions flux flux
-dispersivities .05
-dispersivities 20*.05
-correct_disp true
-diffusion_coefficient 0.0
-punch_cells 20

1
ex20b
View File

@ -96,6 +96,7 @@ USER_PUNCH
END
PRINT
-selected_output false
-warnings 0
END
INCLUDE$ ex20_open
END

1
ex21
View File

@ -357,5 +357,6 @@ USER_PUNCH
END
PRINT
-selected_out false
-status false
INCLUDE$ radial
END

2
ex22
View File

@ -1,6 +1,8 @@
TITLE Example 22.--Compare experimental CO2 solubilities at high CO2 pressure with
Peng-Robinson calc`ns with fixed-volume gas_phase, 25, 50, 75, 100, 150 oC.
#PRINT; -reset false
PRINT
-warnings 0
SOLUTION 1
GAS_PHASE 1
-fixed_volume

2
ex9
View File

@ -96,6 +96,8 @@ Goethite
Fe_triOOH + 3 H+ = Fe_tri+3 + 2 H2O
log_k -1.0
END
PRINT
-warnings 0
SOLUTION 1
pH 7.0
pe 10.0 O2(g) -0.67