mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
functionObjects::Peclet -> functionObjects::PecletNo for consistency with functionObjects::CourantNo
This commit is contained in:
@ -40,6 +40,6 @@ vorticity/vorticity.C
|
||||
Q/Q.C
|
||||
Lambda2/Lambda2.C
|
||||
CourantNo/CourantNo.C
|
||||
Peclet/Peclet.C
|
||||
PecletNo/PecletNo.C
|
||||
|
||||
LIB = $(FOAM_LIBBIN)/libfieldFunctionObjects
|
||||
|
||||
@ -23,7 +23,7 @@ License
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "Peclet.H"
|
||||
#include "PecletNo.H"
|
||||
#include "turbulenceModel.H"
|
||||
#include "surfaceInterpolate.H"
|
||||
#include "addToRunTimeSelectionTable.H"
|
||||
@ -34,12 +34,12 @@ namespace Foam
|
||||
{
|
||||
namespace functionObjects
|
||||
{
|
||||
defineTypeNameAndDebug(Peclet, 0);
|
||||
defineTypeNameAndDebug(PecletNo, 0);
|
||||
|
||||
addToRunTimeSelectionTable
|
||||
(
|
||||
functionObject,
|
||||
Peclet,
|
||||
PecletNo,
|
||||
dictionary
|
||||
);
|
||||
}
|
||||
@ -48,7 +48,7 @@ namespace functionObjects
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
Foam::functionObjects::Peclet::Peclet
|
||||
Foam::functionObjects::PecletNo::PecletNo
|
||||
(
|
||||
const word& name,
|
||||
const Time& runTime,
|
||||
@ -63,13 +63,13 @@ Foam::functionObjects::Peclet::Peclet
|
||||
|
||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||
|
||||
Foam::functionObjects::Peclet::~Peclet()
|
||||
Foam::functionObjects::PecletNo::~PecletNo()
|
||||
{}
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||
|
||||
bool Foam::functionObjects::Peclet::read(const dictionary& dict)
|
||||
bool Foam::functionObjects::PecletNo::read(const dictionary& dict)
|
||||
{
|
||||
fieldExpression::read(dict);
|
||||
|
||||
@ -79,7 +79,7 @@ bool Foam::functionObjects::Peclet::read(const dictionary& dict)
|
||||
}
|
||||
|
||||
|
||||
bool Foam::functionObjects::Peclet::execute(const bool postProcess)
|
||||
bool Foam::functionObjects::PecletNo::execute(const bool postProcess)
|
||||
{
|
||||
if (foundField<surfaceScalarField>(phiName_))
|
||||
{
|
||||
@ -22,7 +22,7 @@ License
|
||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Class
|
||||
Foam::functionObjects::Peclet
|
||||
Foam::functionObjects::PecletNo
|
||||
|
||||
Group
|
||||
grpUtilitiesFunctionObjects
|
||||
@ -36,12 +36,12 @@ SeeAlso
|
||||
Foam::functionObjects::fvMeshFunctionObject
|
||||
|
||||
SourceFiles
|
||||
Peclet.C
|
||||
PecletNo.C
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef functionObjects_Peclet_H
|
||||
#define functionObjects_Peclet_H
|
||||
#ifndef functionObjects_PecletNo_H
|
||||
#define functionObjects_PecletNo_H
|
||||
|
||||
#include "fieldExpression.H"
|
||||
|
||||
@ -53,10 +53,10 @@ namespace functionObjects
|
||||
{
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class Peclet Declaration
|
||||
Class PecletNo Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
class Peclet
|
||||
class PecletNo
|
||||
:
|
||||
public fieldExpression
|
||||
{
|
||||
@ -69,14 +69,14 @@ class Peclet
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("Peclet");
|
||||
TypeName("PecletNo");
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct for given objectRegistry and dictionary.
|
||||
// Allow the possibility to load fields from files
|
||||
Peclet
|
||||
PecletNo
|
||||
(
|
||||
const word& name,
|
||||
const Time& runTime,
|
||||
@ -85,12 +85,12 @@ public:
|
||||
|
||||
|
||||
//- Destructor
|
||||
virtual ~Peclet();
|
||||
virtual ~PecletNo();
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
//- Read the Peclet data
|
||||
//- Read the PecletNo data
|
||||
virtual bool read(const dictionary&);
|
||||
|
||||
//- Calculate the Peclet number field
|
||||
Reference in New Issue
Block a user