Dino Posted November 6, 2017 Share Posted November 6, 2017 I have a file with a custom rate law for the dissolution of glass. in separate files, i have custom rate laws for the precipitation of alteration products. I recently added a rate law for the precipitation of amorphous silica and i get a react errro "bad rate law type". However, this rate law is nearly exactly the same as the others that work fine. The only difference is that the glass rate is connected to the amorphous silica through xaffin. Is that the problem? How would i get around that problem? Perhaps use chalcedony as the precipitating phase but with the same thermo properties as SiO2(am)? I can provide the appropriate files if needed. Thanks for your help. Quote Link to comment Share on other sites More sharing options...
Brian Farrell Posted November 6, 2017 Share Posted November 6, 2017 Hello, Please provide your React script and custom rate law scripts (if they're separate files) so that we can take a look. Thanks, Brian Farrell Aqueous Solutions LLC Quote Link to comment Share on other sites More sharing options...
Dino Posted November 6, 2017 Author Share Posted November 6, 2017 here they are. I use a modified (phases added and TRIS) version of the LLNL data base. it is too big to attach. you'll have to change the P0798 rate file since the link would not allow me to upload that type of file (even with the 'txt' extension). BTW, how do you generate a '.bas' file? I've done it in the past, but probably by accident... Denis P0798wSiO2add.9.rea amorphsilica.txt copy P0798 Rate.txt Quote Link to comment Share on other sites More sharing options...
Brian Farrell Posted November 6, 2017 Share Posted November 6, 2017 Hi Denis, Thanks for attaching the React input and basic scripts. If your custom thermo dataset is too large to upload to the forum, can you please email it to support@gwb.com? You might use a text editor like Notepad or Notepad++ to write your basic script. When you're ready to save it, go to File - Save As, change the "Save as type" to "All Files", then give it a name like MyRateLawScript.bas. Or, you can open the folder containing your text file in Windows Explorer and right-click on the file, then click "Rename". Change the extension from ".txt" to ".bas". Hope this helps, Brian Quote Link to comment Share on other sites More sharing options...
Brian Farrell Posted November 7, 2017 Share Posted November 7, 2017 Hi Denis, I think the only problem is that React doesn’t recognize your amorphsilica.txt file as a basic script file. Once you rename the file so it has a .bas extension, you can edit your React script to look for the updated file. Regards, Brian Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.