Skip to content

Exend output of fvOptions with respect to the status of activate keyword

Functionality to add/problem to solve

When using fvOption models, we don't get any information about if the model is active or not. E.g. having several cases while using porous media activated and deactivated it is not possible to know if a case was run with or without the porous model (it cannot be determined via the log file). To make it more consistent, I added the output if the model is active or not.

Target audience

The community

Proposal

Applying the proposed patch lead to the given additional output. Feel free to change the output if you wish but in general this simple output is nice to have in general.

Creating finite volume options from "system/fvOptions"

Selecting finite volume options type explicitPorositySource
    Source: porosity1
    Model: deactivated                              <<<<<<<<<<<<< Added
    - selecting cells using cellZones (porousZone)
    - selected 10 cell(s) with volume 0.002
Porosity region porosity1:
    selecting model: DarcyForchheimer

Best, Tobi

0001-ENH-Output-the-status-of-activation-of-the-fvOption-.patch

Edited by Tobias Holzmann