Commit 43110ffd authored by Henry Weller's avatar Henry Weller
Browse files

functionObjects::Peclet -> functionObjects::PecletNo for consistency with...

functionObjects::Peclet -> functionObjects::PecletNo for consistency with functionObjects::CourantNo
parent 8f68a493
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment