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 Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ping

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2017, 11: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, 16:12
Default
  #2
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
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
Bali likes this.
ping is offline   Reply With Quote

Reply


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
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 16, 2019 23:12
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 22:40
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 21:57.