|
[Sponsors] |
August 11, 2021, 12:08 |
Estimate residence time per region
|
#1 |
Member
Marc
Join Date: May 2017
Posts: 42
Rep Power: 9 |
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, ), 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 () as: where represents the volume of the -th cell and is the magnitude of the flow rate vector of the -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! |
|
|
|
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 |