|
[Sponsors] |
How to force function object writing only to a file? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 16, 2021, 09:19 |
How to force function object writing only to a file?
|
#1 |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 15 |
Hi
Is it possible to set a function object (e.g. wallHeatFlux) to be written as field into time directories only at prescribed times and written to the file more frequently? For instance, if I have in controlDict Code:
application rhoPimpleFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 1; deltaT 0.01; writeControl runTime; writeInterval 0.1; Code:
functions { HF { type wallHeatFlux; libs ("libfieldFunctionObjects.so"); patches (movingWall); // (wall1 "(wall2|wall3)"); writeToFile true; executeControl timeStep; executeInterval 1; writeControl writeTime; } } But in the postProcessing directory the output will also be only written in these times. Is it possible to set HF to be written in time directories only at writeTime and writing to the file in postProcessing directory more frequently?
__________________
best regards pblasiak |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 03:30 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 17:34 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 01:22 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 21:53 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 11:46 |