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

Estimate residence time per region

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2021, 12:08
Post Estimate residence time per region
  #1
Member
 
Marc
Join Date: May 2017
Posts: 42
Rep Power: 9
Dreoasteh is on a distinguished road
Hi,

I'm trying to solve a problem with my current simulation but I'm stuck, so maybe someone can help me out.

As you can see in the image, I have this pipe flow with a small jet hitting the main flow (right hand side) and then an outlet (left hand side). I put some arrows to help visualize the flow direction. The simulation is 3D, so this is only a slice for visualization purposes. The five colors in the image represent different regions, so the values of the scalar field shown are just categories (i.e. region 0, region 1, region 2, etc).

What I would like is to have an estimate of the residence time within each region. I have all fields available (i.e. U, phi, cell volume and so on) but I don't know how to go about estimating it.

The option of computing a residence time distribution (doing something like this: https://www.cfd.at/sites/default/fil...ExampleTen.pdf) by running a frozen flow simulation is not an option because I have this "region" scalar field on a regular and downsampled VTK file, so I do not have access to a mesh from which to run an OpenFOAM case from.

I have tried using phi (i.e. the flow rate, \phi_i), which is originally a surface field, to compute a phi volume vector field (using this utility https://openfoamwiki.net/index.php/C...rpolate-fields). Then I estimate the residence time for each cell (\tau_{i}) as:

\tau_i = \frac{vol_i}{ \lVert \phi_i  \rVert}

where vol_i represents the volume of the i-th cell and \lVert \phi_i  \rVert is the magnitude of the flow rate vector of the i-th cell.

Then the total residence time for the region will be just the sum of the residence times of each cell in that region. However, the result was not a reasonable value.

Any ideas as to what I can do to estimate the residence time in each region?

Thanks in advance!
Attached Images
File Type: jpg pipe.jpg (11.5 KB, 9 views)
Dreoasteh 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
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 5, 2023 23:48
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 10:54
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 07:47


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