The condition is specified in the field file for a volumetric flow rate using:
<patchName> { type flowRateInletVelocity; volumetricFlowRate <Function1>; value <field value>; }
Field file for a mass flow rate:
<patchName> { type flowRateInletVelocity; massFlowRate <Function1>; value <field value>; }
A uniform plug flow is set by default. To set the profile according to the downstream cells:
extrapolateProfile yes;
To convert from a mass flow rate to a volumetric flow rate:
rho rho;
To convert from a mass flow rate to a volumetric flow rate for incompressible flows:
rhoInlet 1.0;
Source code:
Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2016 OpenCFD Ltd.