CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

To calculate total value of mass generation in the whole domain

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   November 15, 2012, 07:21
Default To calculate total value of mass generation in the whole domain
Join Date: Jan 2010
Location: Finland
Posts: 67
Rep Power: 7
Gitesh P is on a distinguished road

Does anyone know how to calculate an averaged value of any field in OpenFoam/paraFoam ?

I mean if I want to calculate total value of mass generation in the whole domain then how I can do that in OF or in ParaFoam.

With regards,
Gitesh P is offline   Reply With Quote

Old   November 20, 2012, 12:17
Join Date: Aug 2012
Location: Berlin
Posts: 74
Rep Power: 5
vainilreb is on a distinguished road
If you simulate rho and the mass fractions for every time step, you could simply use the calculator to calculate "rho*<species>" and use "integrateVariables" to get the total mass of this species in the system. Comparing this value at different points of time should give information on the species production.

Do you agree?
vainilreb is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Total mass flow/flux through a plane problem nwalters FLUENT 1 December 18, 2010 13:23
uniform mass fraction throughout domain ranjith CFX 12 November 11, 2010 00:39
Mass transfer in a solid domain Frank Weise CFX 0 July 17, 2008 10:54
How to calculate particle mass flow rate at outlet Randy FLUENT 1 December 18, 2006 15:52
total mass flux correction for compressible fluid? Francesco Di Maio Main CFD Forum 0 August 21, 2000 04:23

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