CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   calculated Volume differs from BlockMesh Volume (http://www.cfd-online.com/Forums/openfoam-solving/96310-calculated-volume-differs-blockmesh-volume.html)

sailor79 January 19, 2012 03:32

calculated Volume differs from BlockMesh Volume
 
Hi OpenFOAM-folks,

I want to calculate the heat of each cell in chtMultiRegionFoam. As I got some strange results, I let OF write the CellVolumes and summed them up as follows:

Volume
Code:

V = mesh.V()[celli];
total Volume
Code:

VSum = sum(V);
My geometry is very simple at the moment: It is a cuboid.

checkMesh output: Total volume = 2.55e-06 (conform to dimensions of geometry)
field output VSum:
Code:

patchName
    {
        type            calculated;
        value          uniform 2.342286e-06;

Does someone has an idea, what the reason for this is?

Best regards,

Michael


All times are GMT -4. The time now is 12:31.