Jump to content
Geochemist's Workbench Support Forum

Constraining reactions to specific locations along flow paths in x1t

Recommended Posts

I am wondering how to constrain a kinetic  mineral dissolution/precipitation reaction to a specific region of a 1-D flow path. I know how to do this for a reaction I want to constrain to the beginning or the end of a flow path, but what if I want to have the reaction only occurring in the middle of the path? Also, what if I want to have the reaction happen at the beginning and then again at the end, but not along the middle of the flow path? For example, the following portion of a script for calcite and dolomite dissolution/precipitation along a specified portion of a flow path does not work (see attached). 

I know I could write a C++ library to do these kinds of manipulations, but I'd rather not have to do so if I can simple change the syntax of my x1t script.

Constraining locations of reactions in x1t.jpg

Link to comment
Share on other sites

  • 5 months later...

Hey Karen, 

I was attempting to input the above script into my model, and I stumbled across a "node by node" function in the mineral "mass" box. If you select "node by node", where you select "volume%" as your units, you can change the volume percent of the mineral in each node of your model. Maybe this was part of a recent update.


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.

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.

  • Create New...