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 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: kmooney
Forum: OpenFOAM Running, Solving & CFD August 9, 2015, 20:20
Replies: 16
Views: 19,653
Posted By kmooney
Something like this should work if executed in a...

Something like this should work if executed in a top level of a solver:


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

 
Forum Jump

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