|
[Sponsors] |
November 30, 2017, 11:38 |
Using previous time step data of every cell
|
#1 |
New Member
Pedro Jorge
Join Date: Jun 2017
Posts: 1
Rep Power: 0 |
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 |
|
December 24, 2017, 16:12 |
|
#2 |
Senior Member
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20 |
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
|
|
|
|
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 |