The open source CFD toolbox
Flow rate

# Properties

• Wrapper around the fixed condition
• Sets the velocity to a user-defined profile

# Usage

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>;
}


## Optional properties

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;


# Further information

Source code:

 Would you like to suggest an improvement to this page? Create an issue