|
[Sponsors] |
September 27, 2016, 12:40 |
obtain time-averaged values after simulation
|
#1 |
New Member
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10 |
Hi,
I work in 2D to simulate a fluidized bed, after finishing the simulation, I would like to obtain time-averaged profiles of parameters, for example, time-averaged solid volume fraction at specific bed height, time-averaged gas velocity at specific bed height etc. But I don't know how, do anybody have any idea? Thanks in advance! Haiqin |
|
September 27, 2016, 12:56 |
|
#2 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
That's sort of a loaded question. I am assuming this was an unsteady analysis, no? What kind of analysis; RANS, LES, DNS?
|
|
September 27, 2016, 13:10 |
|
#3 |
New Member
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10 |
||
September 27, 2016, 15:21 |
|
#4 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
So RANS, LES or DNS? If you aren't sure, just tell me what turbulence model you are using.
|
|
September 27, 2016, 16:00 |
|
#5 |
New Member
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10 |
||
September 27, 2016, 16:04 |
|
#6 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
Ok... so transient laminar problem? Do you have time-variant boundary conditions? It seems odd that you would setup a model in this way, but I am not familiar with fluidized bed analysis.
Lets approach this from a different angle. Can you share a screen shot of your physics continua selections? I just want to make sure I give you the best answer I can. |
|
September 27, 2016, 17:47 |
|
#7 |
New Member
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10 |
well, perhaps I should describe my question in another way:
for a simulation of transient problem, one parameter (the solid volume fraction, for example) has been recorded in a history file at each time step during the simulation. So when the simulation finished, there should be a set of solid volume fraction values recorded in the history file that correspond to different time step. And what I want to do is to extract the time series solid volume fraction values. |
|
September 27, 2016, 18:03 |
|
#8 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
That is a much better question. The way it was phrased before I was going to tell you that RANS analysis results (which I assume you have) are already time averaged across each time step. If your flow is laminar and you aren't looking at varying boundary conditions or how the bed fills from an empty state then your results are not going to change from time step to time step therefore all of your results will be time-averaged if you look at a single time step.
Based on your rephrased question, I would ask whether you read the help documentation > user guide > analyzing > recording and viewing solutions? Its not clear if your volume fraction is a global value or shown for each cell (a scalar plot). Solution histories are maybe not the right tool to do this if it is a global value. They are for saving scalar, vector and xy plots at each time step so they can be recalled. If its a global value (a single value volume fraction of your domain at a given time step) then you need to setup a report and monitor to capture this in a report plot. |
|
September 28, 2016, 05:02 |
|
#9 |
New Member
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10 |
The parameter of solid volume fraction in my case is not a global value. Now I can extract the value for specific position at specific time step from the history file (this has been done by following the user guide), but I hope to extract values at all time steps with one operation. I can fulfill the objective by repeating the operation of extracting value at specific time step, but obviously it is time-consuming and kind of stupid.
|
|
September 28, 2016, 10:14 |
|
#10 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
So if you need to get volume fraction for a specific X,Y,Z at each time step the easiest thing to have set it up before you ran. You can probably create a macro to step through the solution histories based extract the data. Or if you have time I would setup a derived part probe > point then create a report and monitor for volume fraction. Make sure the monitor is set to update at each time step, not each iteration then create a report plot from the monitor. Also, make sure the x-axis is set to physical time not iteration. You will end up with volume fraction vs time at X,Y,Z at the end of each time step.
|
|
September 29, 2016, 01:24 |
|
#11 |
Senior Member
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25 |
What you want to look in to is a field mean monitor. There is data on it in the user guide. You have to be very careful with it though for large grids if you use the windowing function, since you can easily eat up your system memory.
|
|
September 29, 2016, 12:25 |
|
#12 | |
New Member
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10 |
Quote:
But thanks very much for your suggestions and time. |
||
September 29, 2016, 12:26 |
|
#13 |
New Member
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10 |
That may be a good way, I should try. Thanks for the suggestion.
|
|
September 29, 2016, 12:26 |
|
#14 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
You said you needed one point. If you need multiple points, do what me3840 suggested.
|
|
Tags |
time-averaged value |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
Unexpected deltaT decrease in pimpleFoam simulation | robyTKD | OpenFOAM Running, Solving & CFD | 9 | June 27, 2014 07:52 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 10:34 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |