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 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: romant
Forum: OpenFOAM October 11, 2011, 10:03
Replies: 10
Views: 8,484
Posted By romant
global volume

Hej,

it is easiest calculated


scalar volumeSum = sum(cellVolu).value();


or if you don't need it in a program, just run
Forum: OpenFOAM September 15, 2011, 10:43
Replies: 10
Views: 8,484
Posted By romant
no this should have been in C++ in the source...

no this should have been in C++ in the source code.
Forum: OpenFOAM September 15, 2011, 10:20
Replies: 10
Views: 8,484
Posted By romant
you could create a field for all the cell volumes...

you could create a field for all the cell volumes and then access your specific cell the field is created with

volScalarField cellVolu
(
IOobject
(
"cellVolu",
...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 16:24.