flowRateInletVelocity, flowRateOutletVelocity BCs: Updated docs

This commit is contained in:
Henry Weller 2017-07-16 22:59:30 +01:00
parent ddc01e5b8c
commit ba50e560aa
3 changed files with 5 additions and 3 deletions

View file

@ -47,6 +47,7 @@ Usage
Property | Description | Required | Default value Property | Description | Required | Default value
massFlowRate | mass flow rate [kg/s] | no | massFlowRate | mass flow rate [kg/s] | no |
volumetricFlowRate | volumetric flow rate [m3/s]| no | volumetricFlowRate | volumetric flow rate [m3/s]| no |
rho | density field name | no | rho
rhoInlet | inlet density | no | rhoInlet | inlet density | no |
extrapolateProfile | Extrapolate velocity profile | no | false extrapolateProfile | Extrapolate velocity profile | no | false
\endtable \endtable
@ -63,7 +64,7 @@ Usage
\endverbatim \endverbatim
Example of the boundary condition specification for a mass flow rate: Example of the boundary condition specification for a mass flow rate:
\verbatim \verbatim
<patchName> <patchName>
{ {
type flowRateInletVelocity; type flowRateInletVelocity;

View file

@ -148,7 +148,7 @@ void Foam::flowRateOutletVelocityFvPatchVectorField::updateValues
{ {
const scalar t = db().time().timeOutputValue(); const scalar t = db().time().timeOutputValue();
const vectorField n = patch().nf(); const vectorField n(patch().nf());
// Extrapolate patch velocity // Extrapolate patch velocity
vectorField Up(this->patchInternalField()); vectorField Up(this->patchInternalField());

View file

@ -46,7 +46,8 @@ Usage
Property | Description | Required | Default value Property | Description | Required | Default value
massFlowRate | mass flow rate [kg/s] | no | massFlowRate | mass flow rate [kg/s] | no |
volumetricFlowRate | volumetric flow rate [m^3/s]| no | volumetricFlowRate | volumetric flow rate [m^3/s]| no |
rhoOutlet | outlet density | no | rho | density field name | no | rho
rhoOutlet | outlet density | no |
\endtable \endtable
Example of the boundary condition specification for a volumetric flow rate: Example of the boundary condition specification for a volumetric flow rate: