CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: potentialFoam
Forum: OpenFOAM Meshing & Mesh Conversion January 22, 2016, 03:57
Replies: 5
Views: 4,069
Posted By potentialFoam
Thanks Alexey, it works :) (I use scalar...

Thanks Alexey,

it works :)
(I use scalar vol = gSum( mesh_.V() ); )
Forum: OpenFOAM Meshing & Mesh Conversion January 21, 2016, 12:34
Replies: 5
Views: 4,069
Posted By potentialFoam
Dear Foamers, I would like to get the total...

Dear Foamers,

I would like to get the total volume of a solution domain.
I tried

scalar totalVolume(0.0);
forAll(mesh_.cells(),i) //cellI)
{
totalVolume += mesh_.V()[i]; //cellI];
}
Showing results 1 to 2 of 2

 
Forum Jump

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