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

fluid residence time

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 15, 2012, 23:43
Default fluid residence time
  #1
New Member
 
Jonas L. Ansoni
Join Date: Jun 2011
Posts: 22
Rep Power: 6
Jonas Ansoni is on a distinguished road
Hi,

I am trying to find the time residence of water in a tank. I'm thinking in calculate the residence time as the time which the water takes to travel from the inlet to outlet through the streamlines. I'm using a solver like pisoFoam.
Does anyone have any suggestion or know other way to compute the residence time distribution on the openFoam.

Any advice will be greatly appreciated.

Thanks
Jonas Ansoni is offline   Reply With Quote

Old   September 20, 2012, 17:20
Default
  #2
New Member
 
Jonas L. Ansoni
Join Date: Jun 2011
Posts: 22
Rep Power: 6
Jonas Ansoni is on a distinguished road
Hello,

I attached a code where I calculate the velocity components and multiply by a time step, with this I can find the next position of this particle in the next time step with only one particle using the icoFoam solver. However, I have to do this calculation using various particles triggered automatically from inlet.

My questions are: How can I do this calculation utilizing various particles and compare if the calculated points arrived in the outlet using the openFoam classes.

I tested the code cavity example, attached a figure.

Any advice will be greatly appreciated.
Attached Images
File Type: png testCavity.PNG (20.0 KB, 20 views)
Attached Files
File Type: zip icoFoamTEST.zip (2.4 KB, 3 views)

Last edited by Jonas Ansoni; September 20, 2012 at 17:38.
Jonas Ansoni is offline   Reply With Quote

Old   September 21, 2012, 08:46
Default
  #3
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 237
Rep Power: 9
olivierG is on a distinguished road
hello,

I think there is already a tools in Paraview to plot path line and color with time.
But if you want a more advanced result, you should look at "residence time distribution": add a scalar, run a transient with a dirac / a step function and plot the RDT.

regards,
olivier
olivierG is offline   Reply With Quote

Old   September 22, 2012, 00:22
Default
  #4
New Member
 
Jonas L. Ansoni
Join Date: Jun 2011
Posts: 22
Rep Power: 6
Jonas Ansoni is on a distinguished road
Hi Olivier, thanks for your answer.

I'm working with Multidisciplinary Design Optimization problems where I need to optimize a geometry according with the RTD. I developed a script that generates the geometries, meshes, and call the openfoam solver automatically and a objective function .

Could you give me more details of how to calculate the RTD, as you mentioned above?

Thanks in advance for your attention.

Jonas
Jonas Ansoni is offline   Reply With Quote

Reply

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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 28 May 28, 2015 13:37
FSI: Pressure and Normal Force don't match with expected values Geraud CFX 6 August 21, 2012 15:34
Multiple floating objects CKH OpenFOAM 10 September 21, 2011 23:13
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 00:36
residence time Sugen Chetty Main CFD Forum 0 January 28, 2002 10:50


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