## Walker equation and nitrification

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!
Posts: 25
Joined: Wed Oct 07, 2009 3:32 pm

### Walker equation and nitrification

I am working on a nitrogen chain model. I am using the Walker equation for water content dependence for denitrification (ramps up as water content approaches saturation). I would like to use the Walker equation for nitrification. Is there a way to manipulate the equation parameters so that it ramps down at high water contents? Thanks.

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

### Re: Walker equation and nitrification

Walker's equation has been developed for the degradation of pesticides and can produce the following reduction functions.
Walker.png (22.97 KiB) Viewed 485 times
I think that it would be difficult to manipulate it to produce different shapes. J.

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

### Re: Walker equation and nitrification

Hi David,

I have looked at that again. If you select negative values for B, you can likely achieve what you want.
Walker1.png (30.38 KiB) Viewed 485 times
J.

Posts: 25
Joined: Wed Oct 07, 2009 3:32 pm

### Re: Walker equation and nitrification

Perfect! Thanks so much.

Posts: 25
Joined: Wed Oct 07, 2009 3:32 pm

### Re: Walker equation and nitrification

Oops, when I use a negative exponent I get an error:

"Floating Point Error! Calculation unstable.

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

### Re: Walker equation and nitrification

The code was indeed working only for Walker equation with positive exponent (as designed). I copy below the computational module that can handle both cases (I do not think that PC-Progress will be updating version 2 of HYDRUS (2D/3D) when version 3 is already released).

J.
H2D_Calc.rar