Recommended Iteration Criteria when having solute transport

A discussion forum for users of the new HYDRUS 2D/3D. HYDRUS is a software package for simulating water, heat and solute movement in two- and three-dimensional variably saturated media. Happy Posting!
mGohar
Posts: 36
Joined: Wed Jul 15, 2015 11:16 pm
Location: USA

Recommended Iteration Criteria when having solute transport

Hi,

My question: when I have three different solutes to model (with different concentrations) and two of them have nonlinear adsorption parameters, what would be the recommended Iteration Criteria, i.e. Absolute Con. Tol. (and Relative Con. Tol.)? And does it have something to do with maximum time step?

Currently I am using 1E-6 for Absolute (the lowest input concentration is of order 1E-4) and 0.001 for Relative one but after a while I get convergence error saying modify the Iteration Criteria for nonlinear adsorption.

Thanks,

mGohar
Posts: 36
Joined: Wed Jul 15, 2015 11:16 pm
Location: USA

Re: Recommended Iteration Criteria when having solute transp

The recommended value for Relative tolerance concentration as recommended in the manual is '0.001'. In the case when there are multiple solutes, as I re-read the help, the solution is to specify (very) small value for Absolute T.C. and let the Relative one do the job since the final tolerance is evaluated by the sum of these two criteria. (I hope I'm right about this )

I solved the convergence error by refining the mesh size on the surface (there is evaporation on it).

Jirka
Posts: 5216
Joined: Sat Mar 16, 2002 3:47 pm
Location: USA
Location: Riverside, CA

Re: Recommended Iteration Criteria when having solute transp

You are right.

if(abs(cNew(i)-cTemp(i)).gt.cTolA+cTolR*Conc(jS,i)) lConv=.false.
cTolA- absolute tolerance
cTolR- relative tolerance
Conc - concentration at previous time step
cTemp - concentration at previous iteration at the current time step
cNew - latest concentration

cTolA is there mainly so that the absolute tolerance is not zero (when conc is zero).

J.