WARNING: Maximum iterations exceeded, 100WARNING: Numerical method failed with this set of convergence parameters.WARNING: Trying smaller step size, pe step size 10, 5 ... WARNING: Maximum iterations exceeded, 200WARNING: Numerical method failed with this set of convergence parameters.WARNING: Trying reduced tolerance 1e-16 ...WARNING: Maximum iterations exceeded, 200WARNING: Numerical method failed with this set of convergence parameters.WARNING: Trying increased tolerance 1e-14 ...WARNING: Maximum iterations exceeded, 200WARNING: Numerical method failed with this set of convergence parameters.WARNING: Trying diagonal scaling ...WARNING: Maximum iterations exceeded, 200WARNING: Numerical method failed with this set of convergence parameters.WARNING: Trying diagonal scaling and reduced tolerance 1e-16 ...WARNING: Maximum iterations exceeded, 200WARNING: Numerical method failed with this set of convergence parameters.WARNING: Trying scaling pure_phase columns 1e-10 ...WARNING: Maximum iterations exceeded, 200WARNING: Numerical method failed with this set of convergence parameters.WARNING: Trying scaling pure_phase columns and diagonal scale 1e-10 ...WARNING: Maximum iterations exceeded, 200WARNING: Numerical method failed with this set of convergence parameters.WARNING: Trying increased scaling 1e-09 ...WARNING: Maximum iterations exceeded, 200WARNING: Numerical method failed with this set of convergence parameters.WARNING: Skipping optimize equations for first 5 iterations ...WARNING: Maximum iterations exceeded, 100WARNING: Numerical method failed with this set of convergence parameters.WARNING: Adding inequality to make concentrations greater than zero.WARNING: Maximum iterations exceeded, 100WARNING: Numerical method failed with this set of convergence parameters.WARNING: Trying reduced tolerance 1e-17 ...WARNING: Maximum iterations exceeded, 200WARNING: Numerical method failed with this set of convergence parameters.WARNING: Trying reduced tolerance 1e-18 ...WARNING: Maximum iterations exceeded, 200WARNING: Numerical method failed with this set of convergence parameters.WARNING: The program has failed to converge to a numerical solution.The following equations were not satisfied:ERROR: A(H2O) Activity of water has not converged. Residual: 3.878177e-04ERROR: Numerical method failed on all combinations of convergence parameters, cell/soln/mix 0Stopping.ERROR: ERROR: A(H2O) Activity of water has not converged. Residual: 3.878177e-04ERROR: Numerical method failed on all combinations of convergence parameters, cell/soln/mix 0ERROR: A(H2O) Activity of water has not converged. Residual: 3.878177e-04ERROR: Numerical method failed on all combinations of convergence parameters, cell/soln/mix 0ERROR: PhreeqcRM failed.ERROR: PhreeqcRM::RunCells
SOLUTION_SPECIESH2O + 0.01e- = H2O-0.01log_k -8
SELECTED_OUTPUT-reset false-high_precision true-molalities AT H2O H+ENDSOLUTION_MASTER_SPECIES T T 0 1 1 A A 0 1 1SOLUTION_SPECIEST = TA = AA + T = ATlog_k 2SOLUTION 0 formation water units Mol/L T 0.00001 A 0.00001ENDSELECTED_OUTPUT-reset false-high_precision true-molalities AT H2O H+END
0 A 1 AT 2 H+ 3 H2 4 H2O 5 O2 6 OH- 7 T
DILUPBiCGStab: Solving for T, Initial residual = 1, Final residual = 1.34983e-22, No Iterations 10 1.002011 1.108e-082 1.11063e-073 8.80961e-264 61.64515 06 1.07006e-077 1.00201 Estimated efficiency of chemistry without communication: 58.3619 Cells shifted between threads 0 Time rebalancing load 1.16015e-050 0.09013331 0.8124012 9.92048e-083 1.44626e-394 55.52535 2.94271e-156 9.5551e-087 0.0901333
SOLUTION_MASTER_SPECIES T T 0 1 1 A A 0 1 1SOLUTION_SPECIEST = TA = AA + T = ATlog_k 2SOLUTION 0 formation water units Mol/L T 1e-5 A 1e-5SOLUTION 1 formation water units Mol/L T 1e0 A 1e0END
SOLUTION 0 formation water units mol/l Na 10.00001 Cl 10.00001ENDSOLUTION 1-100 formation water units mol/l Na 10.00001 Cl 10.00001ENDUSER_PUNCH -head Na+ PH K_mmol Cl_mmol 10 PUNCH MOL("Na+"), -LA("H+") #TOT("K")*1000, TOT("Cl")*1000SELECTED_OUTPUT-reset false-high_precision true#-molalities Na+ Cl- H2OENDTRANSPORT -cells 100 -shifts 100 -flow_direction forward -boundary_conditions flux flux -lengths 0.1 -dispersivities 0.50 # No dispersion -diffusion_coefficient 0.3e-9 # No diffusion -time_step 1 # 317 years give 122 mixes -punch_cells 1 -punch_frequency 1USER_GRAPH 1 Example 11 -chart_title "Transport data" -headings NaCl Na Cl -axis_titles "PORE VOLUMES" "MOLES PER KILOGRAM WATER" -axis_scale x_axis auto -axis_scale y_axis auto -plot_concentration_vs time -start 10 x = (STEP_NO + 0.5) / cell_no#DIST #20 PLOT_XY x, TOT("Li")*1000, symbol = None #30 PLOT_XY x, -LA("H+"), symbol = None #30 PLOT_XY x, MOL("NaCl"), symbol = None 40 PLOT_XY x, MOL("Na+"), symbol = None #50 PLOT_XY x, MOL("Cl-"), symbol = None -endEND
Two options are available for the volume and mass of solution that are used in converting to transport concentrations: (1) the volume and mass of solution are calculated by PHREEQC, or (2) the volume of solution is the product of saturation (SetSaturation), porosity (SetPorosity), and representative volume (SetRepresentativeVolume), and the mass of solution is volume times density as defined by SetDensity. UseSolutionDensityVolume determines which option is used. For option 1, the databases that have partial molar volume definitions needed to accurately calculate solution volume are phreeqc.dat, Amm.dat, and pitzer.dat.
To convert from mg/L to moles of element in the representative volume of a reaction cell, mg/L is converted to mol/L and multiplied by the solution volume, which is the product of porosity (SetPorosity), saturation (SetSaturation), and representative volume (SetRepresentativeVolume). To convert from mol/L to moles of element in the representative volume of a reaction cell, mol/L is multiplied by the solution volume.
To convert from moles of element in the representative volume of a reaction cell to mg/L, the number of moles of an element is divided by the solution volume resulting in mol/L, and then converted to mg/L. To convert from moles of element in a cell to mol/L, the number of moles of an element is divided by the solution volume resulting in mol/L. To convert from moles of element in a cell to mass fraction, the number of moles of an element is converted to kg and divided by the total mass of the solution. Two options are available for the volume and mass of solution that are used in converting to transport concentrations: (1) the volume and mass of solution are calculated by PHREEQC, or (2) the volume of solution is the product of porosity (SetPorosity), saturation (SetSaturation), and representative volume (SetRepresentativeVolume), and the mass of solution is volume times density as defined by SetDensity. Which option is used is determined by UseSolutionDensityVolume.