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

Using previous time step data of every cell

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 30, 2017, 12:38
Default Using previous time step data of every cell
  #1
New Member
 
Pedro Jorge
Join Date: Jun 2017
Posts: 1
Rep Power: 0
Alaskamate is on a distinguished road
Hello everyone,

I'm trying to compute the following equation in every cell of the domain:

S(t) = S(t-1) + dS/dt.

I know i can get the previous value of S by using a field monitor with a sliding sample window = 2, however this would give me a mean or a sum of the field. What i need is to update the quantity S in every cell. Is there any way i can acess the data from the previous time step?

Thank you
Alaskamate is offline   Reply With Quote

Old   December 24, 2017, 17:12
Default
  #2
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 346
Rep Power: 13
ping is on a distinguished road
field monitors like sum and mean do the sum or means only in each cell and not in the whole domain like a report calculation so they do exactly what you have requested and this is easy to confirm with a simple test and a couple of scaler scenes
ping 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
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 02:20
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 07:47
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 23:40
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 12 September 17, 2007 17:48
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 23:04.