mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Adding swirlFanVelocity to files in finiteVolume and change fanFvPatch operation
This commit is contained in:
@ -216,6 +216,7 @@ $(derivedFvPatchFields)/prghTotalHydrostaticPressure/prghTotalHydrostaticPressur
|
|||||||
$(derivedFvPatchFields)/fixedProfile/fixedProfileFvPatchFields.C
|
$(derivedFvPatchFields)/fixedProfile/fixedProfileFvPatchFields.C
|
||||||
$(derivedFvPatchFields)/plenumPressure/plenumPressureFvPatchScalarField.C
|
$(derivedFvPatchFields)/plenumPressure/plenumPressureFvPatchScalarField.C
|
||||||
$(derivedFvPatchFields)/interfaceCompression/interfaceCompressionFvPatchScalarField.C
|
$(derivedFvPatchFields)/interfaceCompression/interfaceCompressionFvPatchScalarField.C
|
||||||
|
$(derivedFvPatchFields)/swirlFanVelocity/swirlFanVelocityFvPatchField.C
|
||||||
|
|
||||||
fvsPatchFields = fields/fvsPatchFields
|
fvsPatchFields = fields/fvsPatchFields
|
||||||
$(fvsPatchFields)/fvsPatchField/fvsPatchFields.C
|
$(fvsPatchFields)/fvsPatchField/fvsPatchFields.C
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
\\/ M anipulation | Copyright (C) 2017 OpenCFD Ltd.
|
\\/ M anipulation | Copyright (C) 2017-2018 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -51,11 +51,10 @@ void Foam::fanFvPatchField<Foam::scalar>::calcFanJump()
|
|||||||
|
|
||||||
if (nonDimensional_)
|
if (nonDimensional_)
|
||||||
{
|
{
|
||||||
// Create an adimensional volumetric flow rate
|
// Create an adimensional velocity
|
||||||
Un =
|
Un =
|
||||||
120.0*Un/pow3(constant::mathematical::pi)
|
120.0*Un/pow3(constant::mathematical::pi)
|
||||||
* patch().magSf()
|
/ dm_/rpm_;
|
||||||
/ pow3(dm_)/rpm_;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user