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: jens_klostermann
Forum: OpenFOAM March 3, 2010, 09:37
Replies: 12
Views: 4,362
Posted By jens_klostermann
I don't know, what you want to do. But cellVolu...

I don't know, what you want to do. But cellVolu gives you a field of the cell volumes (this is already of type volScalarField).
If alpha1 is your volume fraction denity*cellVolu gives you the mass...
Forum: OpenFOAM March 3, 2010, 08:14
Replies: 12
Views: 4,362
Posted By jens_klostermann
I would go with Laurence idea: ...

I would go with Laurence idea:

volScalarField cellVolu
(
IOobject
(
"cellVolu",
runTime.timeName(),
mesh,
IOobject::NO_READ,
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 03:45.