BUG: swirlFanVelocity: preserve pressure name. Fixes #1138.

This commit is contained in:
mattijs
2018-12-20 14:33:49 +00:00
parent e22606756b
commit df58bb96a8

View File

@ -187,6 +187,7 @@ Foam::swirlFanVelocityFvPatchField::swirlFanVelocityFvPatchField
:
fixedJumpFvPatchField<vector>(ptf),
phiName_(ptf.phiName_),
pName_(ptf.pName_),
rhoName_(ptf.rhoName_),
origin_(ptf.origin_),
rpm_(ptf.rpm_),
@ -205,6 +206,7 @@ Foam::swirlFanVelocityFvPatchField::swirlFanVelocityFvPatchField
:
fixedJumpFvPatchField<vector>(ptf, iF),
phiName_(ptf.phiName_),
pName_(ptf.pName_),
rhoName_(ptf.rhoName_),
origin_(ptf.origin_),
rpm_(ptf.rpm_),