|
[Sponsors] |
November 23, 2021, 19:25 |
Disable OpenFOAM output
|
#1 |
New Member
Russian Federation
Join Date: Apr 2020
Posts: 18
Rep Power: 6 |
Hi, dear colleagues.
Does anybody know is there a possibility to disable OpenFOAM solver output in a specific case? For example, if I run the solver through runApplication, its output is written in "log.<solverName>". Otherwise, it is written to std. But can I disable this output at all or set this output to be written only at writeTime? |
|
November 24, 2021, 06:27 |
|
#2 |
Member
Join Date: Oct 2011
Posts: 56
Rep Power: 15 |
hi,
you can edit your controlDict. There are options for the dictionary keyword "writeControl", look here: https://cfd.direct/openfoam/user-guide/v9-controlDict/ HTH, fanta |
|
November 24, 2021, 21:39 |
|
#3 | |
New Member
Russian Federation
Join Date: Apr 2020
Posts: 18
Rep Power: 6 |
Quote:
|
||
November 26, 2021, 05:22 |
|
#4 |
Senior Member
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 144
Rep Power: 20 |
Hi,
you can simply redirect the output to /dev/null: Code:
whateverFoam > /dev/null Code:
whateverFoam > /dev/null 2>&1 Jan |
|
Tags |
openfoam, output to file |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 26 | June 21, 2024 07:54 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
How to get the output pressure of OpenFoam? | IGH | OpenFOAM Post-Processing | 3 | October 4, 2017 11:38 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 04:19 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |