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/)
-   -   fvmesh prolem in the source code (http://www.cfd-online.com/Forums/openfoam-programming-development/110829-fvmesh-prolem-source-code.html)

T.Matrix December 21, 2012 22:31

fvmesh prolem in the source code
 
when I read fvMesh source code, I find that the cell volumes of old time and old-old time is dimensionedField. The code is as following. So why do they need to be set dimensionedField and don't set the same as Cell centres.

//- Cell volumes old time level

mutable DimensionedField<scalar, volMesh>* V0Ptr_;

//- Cell volumes old-old time level
mutable DimensionedField<scalar, volMesh>* V00Ptr_;


All times are GMT -4. The time now is 22:21.