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 "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 * * * * * * * * * * * * * * //
|
||||
|
||||
template<class CloudType>
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2013-2017 OpenFOAM Foundation
|
||||
Copyright (C) 2021 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -60,12 +61,6 @@ class PlessisMasliyahDragForce
|
||||
const volScalarField& alphac_;
|
||||
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Drag coefficient multiplied by Reynolds number
|
||||
scalar CdRe(const scalar Re) const;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
|
||||
Reference in New Issue
Block a user