Jump to content

[OLD] Redox models using Tact


webmaster
 Share

Recommended Posts

From: Laiq Rahman

Subject: redox models using TACT

We are finding it impossible to use code that incorporates a redox aspect in the TACT program but we have no problems with ACT2. The TACT program crashes giving a "segmentation fault" error message when the code incorporates lines setting oxygen fugacities etc. We are using the Solaris version of GWB (v3.0). The example of code below works but crashes if we add a line to fix the O2 activity, i.e. log activity O2(aq) = 1e-40

 

data = thermo.dat verify

swap H2S(g) for SO4--

diagram Fe++ vs pH

log activity main = -3

log activity Cl- = -3

log fugacity H2S(g) = -3

x-axis from 0 to 14 increment 1

y-axis from 100 to 200 increment 5

 

From: Craig Bethke

Subject: Re: redox models using TACT

We have sent you an updated version of Tact (3.0.2) that handles redox reactions a little better. However, the immediate problem with the your input script is the line

log activity O2(aq) = 1e-40

You should set either

log activity O2(aq) = -40

or

activity O2(aq) = 1e-40

to get the result you want.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...