The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Your opinion on a class of ODE problems
01-22-2016, 04:03 AM (This post was last modified: 01-22-2016 04:05 AM by Namir.)
Post: #1
Your opinion on a class of ODE problems
I am using various numerical methods to solve a system of differential equations. These equations model chemical reactions. To be specific, the ODEs are sets of equations for monitoring the change in the concentration of chemical that participate in reactions -- chained irreversible reactions and chained consecutive equilibrium reactions. Due to rounding and inherit errors in the methods, I discovered that the solutions violate the "conservation of matter law" because the sum of the concentrations (or weights to be more exact) of the chemicals change with time!

My first fix to this problem is to readjust the concentration of one of the chemicals (say the main chemical that starts the reaction) to preserve the conservation of matter law. The conservation of matter law represents a constraint on the ODE solutions, which admittedly is unusual.

Your opinion? and suggestions? Is any fix corrupting the "math" and rendering the numerical solution invalid?

Namir
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Your opinion on a class of ODE problems - Namir - 01-22-2016 04:03 AM



User(s) browsing this thread: 1 Guest(s)