CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   solve or .solve? (

ata January 23, 2011 09:36

solve or .solve?
Hi FOAMers
I changed this part of icoFoam code:




and I got same results.
can any one tell me what is difference between pEqn.solve(); and solve(pEqn);
Thanks a lot

hjasak January 23, 2011 15:57

Nothing. Global function solve(...) calls the member function .solve(). You can choose whichever looks prettier to you.


ata January 24, 2011 02:32

Dear Prof. Jasak
Thank you very much for quick reply.
Would you please tell me why UEqn.solve(); does not work in icoFoam?
Best regards

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