From df58bb96a804e3cd322b6a5cc780cefbeb06608f Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Thu, 20 Dec 2018 14:33:49 +0000 Subject: [PATCH] BUG: swirlFanVelocity: preserve pressure name. Fixes #1138. --- .../derived/swirlFanVelocity/swirlFanVelocityFvPatchField.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/swirlFanVelocity/swirlFanVelocityFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/swirlFanVelocity/swirlFanVelocityFvPatchField.C index 67d1d62467d..7275d53d9ce 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/swirlFanVelocity/swirlFanVelocityFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/swirlFanVelocity/swirlFanVelocityFvPatchField.C @@ -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_), -- GitLab