Finding root of a function
Dear All,
I have just implemented rootfinding operations of a function f(x) = 0. If someone is interested, have a look at the SVN  it currently lives in the ODE library. Enjoy, Hrv 
Hihttp://www.cfdonline.com/Op
Hihttp://www.cfdonline.com/OpenFOAM_D...part/happy.gif
I am about to be solving 4 sets of nonlinear equations on each face on certain boundarypatches. As far as I can see, the function implemented by Hrv is for 1 equation!?! Is there anywhere in OF implemented some kind of solver for N nonlinear set of equations? If not, could you please suggest to me a suitable opensource implementation, preferable in C++. Best regards, Niels P.S. Thank you for an utterly fantastic workshop. 
Dear all,
Has anyone been able to use the BisectionRoot, or RiddersRoot or the NewtonSecant methods in the "findRoot" folder on the svn? Say I want to solve for x in 0 = 3 + 4(Exp(2x)Exp(3x)) I have the findRoot folder in src/ODE and added the path to my /make for the solver. How, then do I implement any of the findRoot methods to get x? Best regards, Sandra 
I fixed my issue on this link : http://www.cfdonline.com/Forums/ope...ngmethod.html
Quote:

All times are GMT 4. The time now is 00:15. 