|
[Sponsors] |
November 23, 2021, 18: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, 05:27 |
|
#2 |
Member
Join Date: Oct 2011
Posts: 49
Rep Power: 14 |
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, 20:39 |
|
#3 | |
New Member
Russian Federation
Join Date: Apr 2020
Posts: 18
Rep Power: 6 |
Quote:
|
||
November 26, 2021, 04:22 |
|
#4 |
Senior Member
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 137
Rep Power: 19 |
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 | 25 | August 14, 2022 13:55 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 05:29 |
How to get the output pressure of OpenFoam? | IGH | OpenFOAM Post-Processing | 3 | October 4, 2017 10:38 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 03:19 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 13:36 |