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

Storing data in unsteady simulations

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 14, 2009, 15:29
Default Storing data in unsteady simulations
  #1
ems
New Member
 
Eric
Join Date: May 2009
Posts: 6
Rep Power: 8
ems is on a distinguished road
Hi all,

I was wondering if it is possible to store a scalar value from one time step to be used in a later time step (or even better, to access data directly from previous time steps). For example, I would like to use a field function that calculates current pressure based on a past pressure value (among other factors).

Thanks,

Eric
ems is offline   Reply With Quote

Old   December 18, 2009, 12:52
Default unsteady simulation ....
  #2
New Member
 
Subhadeep
Join Date: Aug 2009
Posts: 14
Rep Power: 8
Subhadeep is on a distinguished road
Quote:
Originally Posted by ems View Post
Hi all,

I was wondering if it is possible to store a scalar value from one time step to be used in a later time step (or even better, to access data directly from previous time steps). For example, I would like to use a field function that calculates current pressure based on a past pressure value (among other factors).

Thanks,

Eric
Eric,

StarCCM+ does provide 2nd order temporal resolution for unsteady simulations. What it means is that always the present solution is based on 2nd order forward prediction using the last two time step results. The time step and the number of inner iterations is under user's control. So based on your simulation's physical state you have to choose a small enough time step and also the number of inner iteration so as the solution is really the physical solution if started from your initial solution.

You may want to prove solution independency 1st with time step and then with the same time step but by varying the number of inner iterations.

now with saving unsteady scalar variables you have to do a bit of work I think. If its a particular section or region you can use point, line or even plane and then write a small macro and write the tabulated data out in a directory after every time step. Then you can do whatever you want to do with that data outside in some other post processing tools you use.

Remember to let the run the unsteady simulation for some time to wash away the initials before you start collecting the data at your specific location.
Subhadeep is offline   Reply With Quote

Old   March 26, 2010, 09:34
Default
  #3
New Member
 
li chao
Join Date: Oct 2009
Posts: 11
Rep Power: 7
jelon is on a distinguished road
I want to use Field function to make it ,but failed!
jelon is offline   Reply With Quote

Old   April 3, 2010, 06:55
Default
  #4
Senior Member
 
Join Date: Mar 2009
Posts: 203
Rep Power: 9
Maddin is on a distinguished road
I didn't tried it, but I would try to use a plot as a table via import/export?!
Maddin is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Time Series data from saved unsteady data Atul FLUENT 4 November 26, 2008 06:12
Using an unsteady solver for unstable simulations Amit FLUENT 0 October 16, 2006 09:53
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27
Loading data from previous simulations. Ale FLUENT 2 September 9, 2003 12:12
data storing with c++ yfyap Main CFD Forum 7 April 27, 2001 10:43


All times are GMT -4. The time now is 22:40.