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

Follow quantity of an element during simulation ?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By anishtain4

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2016, 04:47
Default Follow quantity of an element during simulation ?
  #1
Member
 
AdOo
Join Date: Mar 2016
Location: Bordeaux
Posts: 91
Rep Power: 10
adrieno is on a distinguished road
Hi foamers,

I'm simulating (using reacting foam) a leak of CH4 in something looks like a pipe.
I would like to know at each time (I'm doing a steady-state simulation) the quantity of CH4 in my pipe. Is it possible to do that ?

FIRST:
Is it possible to know the quantity (mass) of an element during a simulation ?

SECOND:
If yes, is it possible to plot it during simulation (like we can plot residuals) ?

Thank you,
Adrien
adrieno is offline   Reply With Quote

Old   April 11, 2016, 12:12
Default
  #2
Member
 
AdOo
Join Date: Mar 2016
Location: Bordeaux
Posts: 91
Rep Power: 10
adrieno is on a distinguished road
All I want to do is to plot the mass balance for CH4 (which one element among others in my flow) in fact...
adrieno is offline   Reply With Quote

Old   April 11, 2016, 16:29
Default
  #3
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
anishtain4 is on a distinguished road
Seems you want need fieldAverage function object:
http://cfd.direct/openfoam/user-guide/function-objects/
check the tutorials to find similar cases.
adrieno likes this.
anishtain4 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
[Gmsh] gmshToFoam unhandled element flowris OpenFOAM Meshing & Mesh Conversion 4 February 20, 2023 18:50
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 14:06
[Gmsh] discretizer - gmshToFoam Andyjoe OpenFOAM Meshing & Mesh Conversion 13 March 14, 2012 05:35
Solid-Liquid Two Phase Flow Numerical Simulation with the Finite Element Method Qing Hao Main CFD Forum 2 January 9, 1999 00:31
3-D Contaminant Dispersal Simulation Apple L S Chan Main CFD Forum 1 December 23, 1998 11:06


All times are GMT -4. The time now is 13:01.