|
[Sponsors] |
Only last timestep data is written, despite controlDict settings |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Alok
Join Date: Oct 2021
Posts: 2
Rep Power: 0 ![]() |
Hi all,
I'm basing my simulation on the motorBike tutorial. My `controlDict` looks like this: Code:
application simpleFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 100; deltaT 1; writeControl timeStep; writeInterval 10; purgeWrite 0; writeFormat binary; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable false; functions {} I've tried changing the `writeControl` setting to `runTime`, `adjustableRunTime`, modified the start and end times, but with no luck. I saw in another old post that included functions may be the issue, so I took them out (as you can see above), but that also didn't change anything. I'm a beginner to OpenFOAM, so I feel like I'm making a simple mistake. Any advice on what to do? I'm running v2012 on Ubuntu 20.04. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,298
Rep Power: 30 ![]() ![]() |
Hi Alok,
Where are you looking for your data? At the root of your case or in the processors directories? The motorbike tutorial runs in parallel which means the data is distributed in the processor* directories. This is where the data is saved depending on your writeControl. After the run, reconstructPar allows to reconstruct the data at the root of your case (one directory for each time step). In the motorbike tutorial, reconstructPar is used with the "-latestTime" option so it reconstructs only the last time step of the simulation. Cheers, Yann |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Alok
Join Date: Oct 2021
Posts: 2
Rep Power: 0 ![]() |
Ah perfect!
Re-running `reconstructPar` without the `-latestTime` flag did the trick. Thank you! |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to setup a simple OpenFOAM cluster? | TommiPLaiho | OpenFOAM Installation | 3 | October 27, 2013 15:15 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 09:28 |
No data is written into UDM | ivanbuz | Fluent UDF and Scheme Programming | 1 | August 13, 2009 18:49 |
ParaFoam : Written data doesnt have Full Regions | Velan | Main CFD Forum | 0 | January 12, 2009 03:55 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 17:27 |