mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
fvPatchFields/derived/flowRateInletVelocity: Write the extrapolateProfile switch
This commit is contained in:
@ -234,6 +234,8 @@ void Foam::flowRateInletVelocityFvPatchVectorField::write(Ostream& os) const
|
|||||||
writeEntryIfDifferent<word>(os, "rho", "rho", rhoName_);
|
writeEntryIfDifferent<word>(os, "rho", "rho", rhoName_);
|
||||||
writeEntryIfDifferent<scalar>(os, "rhoInlet", -VGREAT, rhoInlet_);
|
writeEntryIfDifferent<scalar>(os, "rhoInlet", -VGREAT, rhoInlet_);
|
||||||
}
|
}
|
||||||
|
os.writeKeyword("extrapolateProfile")
|
||||||
|
<< extrapolateProfile_ << token::END_STATEMENT << nl;
|
||||||
writeEntry("value", os);
|
writeEntry("value", os);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -43,7 +43,6 @@ Description
|
|||||||
- the flow rate is in m3/s
|
- the flow rate is in m3/s
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
|
|
||||||
\table
|
\table
|
||||||
Property | Description | Required | Default value
|
Property | Description | Required | Default value
|
||||||
massFlowRate | mass flow rate [kg/s] | no |
|
massFlowRate | mass flow rate [kg/s] | no |
|
||||||
|
|||||||
Reference in New Issue
Block a user