Jump to content
Geochemist's Workbench Support Forum

Writing a custom rate law script which starts reaction when 5 years in simulation have passed.


Recommended Posts

Posted

Hi, 
I am struggling to write a custom rate law script. I want the reaction to start when 5 years have passed in simulation. It would be very helpful if you could provide me with some example scripts. 

Thanks.

Posted

Hello Aditya,

I believe everything you need to write your custom script can be found in chapter 5. Custom Rate Law of the GWB Reaction Modeling User Guide. My suggestion is to look at how to write a script that specifies the calculation of your reaction rate prior to year 5 and after year 5. You can view in this post from a different user to see how such a script may look like.

Hope this helps,
Jia Wang
Aqueous Solutions LLC

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...