From ad98934e90c4b3e1e71eabf90af6b1a96367c1fa Mon Sep 17 00:00:00 2001 From: sergio Date: Thu, 25 Jan 2018 08:46:48 -0800 Subject: [PATCH] ENH: Changing fanFvPatchField operation for non-dimensional mode. The non-dimensional table takes non-dimensional U as entry, not flow rate --- .../fields/fvPatchFields/derived/fan/fanFvPatchFields.C | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/fan/fanFvPatchFields.C b/src/finiteVolume/fields/fvPatchFields/derived/fan/fanFvPatchFields.C index 3570d327b9..7e7e78f355 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/fan/fanFvPatchFields.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/fan/fanFvPatchFields.C @@ -3,7 +3,7 @@ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation - \\/ M anipulation | Copyright (C) 2017 OpenCFD Ltd. + \\/ M anipulation | Copyright (C) 2017-2018 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -51,11 +51,10 @@ void Foam::fanFvPatchField::calcFanJump() if (nonDimensional_) { - // Create an adimensional volumetric flow rate + // Create an adimensional velocity Un = 120.0*Un/pow3(constant::mathematical::pi) - * patch().magSf() - / pow3(dm_)/rpm_; + / dm_/rpm_; } }