flowRateInletVelocityFvPatchVectorField: Avoid writing rho if not required
This commit is contained in:
@ -142,6 +142,7 @@ flowRateInletVelocityFvPatchVectorField
|
||||
)
|
||||
:
|
||||
fixedValueFvPatchField<vector>(p, iF, dict, false),
|
||||
rhoName_("rho"),
|
||||
rhoInlet_(dict.lookupOrDefault<scalar>("rhoInlet", -vGreat)),
|
||||
alphaName_(dict.lookupOrDefault<word>("alpha", word::null))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user