Commit df58bb96 authored by mattijs's avatar mattijs
Browse files

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

parent e2260675
......@@ -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_),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment