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

fluid residence time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2012, 00:43
Default fluid residence time
  #1
New Member
 
Jonas L. Ansoni
Join Date: Jun 2011
Location: Brazil
Posts: 22
Rep Power: 15
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, 18:20
Default
  #2
New Member
 
Jonas L. Ansoni
Join Date: Jun 2011
Location: Brazil
Posts: 22
Rep Power: 15
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, 99 views)
Attached Files
File Type: zip icoFoamTEST.zip (2.4 KB, 24 views)

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

Old   September 21, 2012, 09:46
Default
  #3
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18
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, 01:22
Default
  #4
New Member
 
Jonas L. Ansoni
Join Date: Jun 2011
Location: Brazil
Posts: 22
Rep Power: 15
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


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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 07:55
Multiple floating objects CKH OpenFOAM Running, Solving & CFD 14 February 20, 2019 10:08
FSI: Pressure and Normal Force don't match with expected values Geraud CFX 6 August 21, 2012 16:34
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 01:36
residence time Sugen Chetty Main CFD Forum 0 January 28, 2002 10:50


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