CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

obtain time-averaged values after simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2016, 12:40
Red face obtain time-averaged values after simulation
  #1
New Member
 
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10
Haiqin is on a distinguished road
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
Haiqin is offline   Reply With Quote

Old   September 27, 2016, 12:56
Default
  #2
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
That's sort of a loaded question. I am assuming this was an unsteady analysis, no? What kind of analysis; RANS, LES, DNS?
fluid23 is offline   Reply With Quote

Old   September 27, 2016, 13:10
Default
  #3
New Member
 
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10
Haiqin is on a distinguished road
Quote:
Originally Posted by MBdonCFD View Post
That's sort of a loaded question. I am assuming this was an unsteady analysis, no? What kind of analysis; RANS, LES, DNS?
Yes, it is a transient problem. It is a gas-solid fluidized bed, and simulated with multiphase flow model.
Haiqin is offline   Reply With Quote

Old   September 27, 2016, 15:21
Default
  #4
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
So RANS, LES or DNS? If you aren't sure, just tell me what turbulence model you are using.
fluid23 is offline   Reply With Quote

Old   September 27, 2016, 16:00
Default
  #5
New Member
 
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10
Haiqin is on a distinguished road
Quote:
Originally Posted by MBdonCFD View Post
So RANS, LES or DNS? If you aren't sure, just tell me what turbulence model you are using.
well, in my case, both the gas phase and solid phase were modeled with laminar model.
Haiqin is offline   Reply With Quote

Old   September 27, 2016, 16:04
Default
  #6
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
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.
fluid23 is offline   Reply With Quote

Old   September 27, 2016, 17:47
Default
  #7
New Member
 
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10
Haiqin is on a distinguished road
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.
Haiqin is offline   Reply With Quote

Old   September 27, 2016, 18:03
Default
  #8
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
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.
fluid23 is offline   Reply With Quote

Old   September 28, 2016, 05:02
Default
  #9
New Member
 
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10
Haiqin is on a distinguished road
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.
Haiqin is offline   Reply With Quote

Old   September 28, 2016, 10:14
Default
  #10
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
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.
fluid23 is offline   Reply With Quote

Old   September 29, 2016, 01:24
Default
  #11
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25
me3840 is on a distinguished road
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.
me3840 is offline   Reply With Quote

Old   September 29, 2016, 12:25
Default
  #12
New Member
 
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10
Haiqin is on a distinguished road
Quote:
Originally Posted by MBdonCFD View Post
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.
Actually, that is what I am doing now. But it is still kind of time-consuming in my case, because I need values in lots of points. I think I need to find out an easier way.
But thanks very much for your suggestions and time.
Haiqin is offline   Reply With Quote

Old   September 29, 2016, 12:26
Default
  #13
New Member
 
Haiqin
Join Date: Jun 2016
Posts: 15
Rep Power: 10
Haiqin is on a distinguished road
Quote:
Originally Posted by me3840 View Post
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.
That may be a good way, I should try. Thanks for the suggestion.
Haiqin is offline   Reply With Quote

Old   September 29, 2016, 12:26
Default
  #14
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
You said you needed one point. If you need multiple points, do what me3840 suggested.
fluid23 is offline   Reply With Quote

Reply

Tags
time-averaged value


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
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


All times are GMT -4. The time now is 18:47.