|
[Sponsors] |
How to save a time-dependent scalar variable ? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 5, 2015, 09:35 |
How to save a time-dependent scalar variable ?
|
#1 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,086
Rep Power: 26 |
Hello Foamers,
I'm currently working on a custom solver and there is something I can't figure out. The solver calculates and uses a scalar variable (a rotational speed). It works fine but since this variable isn't written anywhere, I can't stop a case and restart it later. My first idea was to use an IOobject to write this variable with the other data in each time directory but I can't figure how. Since it's only a single scalar I have to use a IOdictionary but I'm unable to write data in it. So dear experienced users, how would you deal with this ? Any suggestions are welcome. Thanks, Yann |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient simulation not converging | skabilan | OpenFOAM Running, Solving & CFD | 14 | December 16, 2019 23:12 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 02:34 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 15:33 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 07:47 |
emag beta feature: charge density | charlotte | CFX | 4 | March 22, 2011 09:14 |