CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   solve() and solve(mesh.solve("")) (http://www.cfd-online.com/Forums/openfoam-programming-development/106449-solve-solve-mesh-solve.html)

Tobi August 29, 2012 09:28

solve() and solve(mesh.solve(""))
 
Hi all,

I have a question to the two solve functions:

Code:

myScalar.solve();
and
Code:

myScalar.Solve(mesh.solve("S"));
Whats the difference?
The only thing I know is that with the second line, my solver is faster. About 67 iterations pro step with solve(), to 5 - 8 iterations with solve(mesh.solve()).

Can someone help me?
tobi


All times are GMT -4. The time now is 08:56.