Collect transient results CFD POST
Hello,
I am relatively new to the forum and to CFD world. I am designing a turbulence grid and I wanted to check that the place where the probe will be inserted is enough downstream compared to the grid in order to have an homogeneous flow at the probe. I have simulated the grid, in a transient simulation with k-e model. Why transient, well, I wanted to see the turbulence level which CFD was going to give to me. I have the simulations and using CFD post I wanted to evaluate the velocity in a point of the domain, in order to calculate the velocity fluctuations. I was trying to code with CEL language: 1) create the point 2) evaluate the velocity in Point 1 3) save the value in a table 4) save the table but I don't know how to open all the transient results in order to get the velocity, does anyone have a suggestion, please? Do you think there's an easier manner? Cheers, Antonio |
Probably the easiest thing to do is load the full run history. When you open the res file, select the last one and make sure "Load complete history" is selected.
|
Quote:
|
You can make a time series chart and export the results as a csv file.
|
Quote:
It takes a bit of time to open all the different files....but it;s better than coding! |
Great, glad to help. You are right, it does take a while to load, but it's a pretty easy solution once it does.
|
Another (faster) way to get a time dependent variable value at fixed points:
Create a monitor (or several monitors) point in CFX Pre at the the location of your point1 and with in your case the velocity to be monitored. In the CFX Solver you can now see the Monitor point plotted over the simulation time. There you are also able with a right click on the graph to export it as csv. That way you just avoid opening all trn files in Post. A second way is to use a perl/CEL Script wich writes you a csv file with all the information required. If this is of interest for you just have a look at this thread. I posted an exampe file there. http://www.cfd-online.com/Forums/cfx...tml#post385850 |
1 Attachment(s)
Dear sir
I am trying the temperature vs time plot but getting these errror I created a point location and trying using the CFD post |
The error message looks pretty clear to me - it cannot find transient data. Are you sure this is a transient simulation? Or does it only have a single time point in the results file?
|
It is transient solution as I set the time steps 1e-5 s and its runs with flow time as autosave name
|
Maybe a stupid question...but...do have written out transient results with all the varaibles you need? If not...then he will hardly find a value to post process
|
I have selected the variable like static temperature and pressuree absolute while prior to run- in the solutions - export CFD post compatible.
Since the error seem due to transient time step - is there any way to activate transient mode in CFD post also? |
You do not need to activate transient mode in CFD-Post. When it loads a transient results file with multiple time step data it handles it automatically.
|
2 Attachment(s)
Thanks !
I did that 1. If I wanna add the flow time in animation is there some way.. 2. I had actually two zones - both separated by an interior boundary... so the contour images are discontinuous between those two zones. Can I avoid that ... mean making smooth as both are fluid - same . Actually the top part is clearance volume- made finer mesh with inflation |
Time display - yes, add a text object.
CFD-Post shows the simulation results. If the simulation results are not smooth then why would you want to show them smooth. Maybe you need photoshop, not CFD-Post. Then you can draw whatever results you like in. |
Seems to me that you used Fluent for the simulation (hence the 'Export CFD-Post Compatible', 'zone', 'interior') but only exported the final result. If that is the case, what you should have done was create 'Automatic Exports' in the 'Calculation Activities' panel, or at least have saved several data files during the simulation.
If you didn't do either of those two then sorry, but you won't be able to extract transient data from the simulation. |
All times are GMT -4. The time now is 12:58. |