mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: PlessisMasliyahDragForce: remove redundant CdRe function
This commit is contained in:
@ -28,25 +28,6 @@ License
|
|||||||
#include "PlessisMasliyahDragForce.H"
|
#include "PlessisMasliyahDragForce.H"
|
||||||
#include "volFields.H"
|
#include "volFields.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
|
||||||
|
|
||||||
template<class CloudType>
|
|
||||||
Foam::scalar Foam::PlessisMasliyahDragForce<CloudType>::CdRe
|
|
||||||
(
|
|
||||||
const scalar Re
|
|
||||||
) const
|
|
||||||
{
|
|
||||||
if (Re > 1000.0)
|
|
||||||
{
|
|
||||||
return 0.44*Re;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return 24.0*(1.0 + 0.15*pow(Re, 0.687));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2013-2017 OpenFOAM Foundation
|
Copyright (C) 2013-2017 OpenFOAM Foundation
|
||||||
|
Copyright (C) 2021 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -60,12 +61,6 @@ class PlessisMasliyahDragForce
|
|||||||
const volScalarField& alphac_;
|
const volScalarField& alphac_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- Drag coefficient multiplied by Reynolds number
|
|
||||||
scalar CdRe(const scalar Re) const;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
|
|||||||
Reference in New Issue
Block a user