CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

To calculate total value of mass generation in the whole domain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2012, 06:21
Default To calculate total value of mass generation in the whole domain
  #1
Member
 
Gitesh
Join Date: Jan 2010
Location: Finland
Posts: 73
Rep Power: 16
Gitesh P is on a distinguished road
Hello,

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,
GP
Gitesh P is offline   Reply With Quote

Old   November 20, 2012, 11:17
Default
  #2
Member
 
Robert
Join Date: Aug 2012
Location: Berlin
Posts: 74
Rep Power: 13
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

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to calculate particle mass flow rate at outlet Randy FLUENT 6 April 29, 2020 13:47
Total mass flow/flux through a plane problem nwalters FLUENT 1 December 18, 2010 12:23
uniform mass fraction throughout domain ranjith CFX 12 November 10, 2010 23:39
Mass transfer in a solid domain Frank Weise CFX 0 July 17, 2008 10:54
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 18:02.