CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Question about transport equations (https://www.cfd-online.com/Forums/openfoam-programming-development/131763-question-about-transport-equations.html)

maybee March 20, 2014 11:06

Question about transport equations
 
hi,

I have read the article
http://openfoamwiki.net/index.php/Ho...sport_equation
and a part of
http://www.foamcfd.org/Nabla/guides/...x14-330002.4.1

If I solve a basic transportequation (differential equation) like

Code:

solve (
          fvm::ddt(MyField)
          ==
          -fvc::div(phase.phiAlpha())   
          );

will the values of "MyField" be overwritten automatically after the solving is completed or will I have to add some code?

greetings maybee


All times are GMT -4. The time now is 11:26.