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

This commit is contained in:
Henry Weller
2016-05-22 11:18:16 +01:00
parent 8f68a493e8
commit 43110ffd38
3 changed files with 18 additions and 18 deletions

View File

@ -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

View File

@ -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_))
{

View File

@ -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