mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: minor code typo corrections
This commit is contained in:
@ -37,7 +37,7 @@ Foam::InterfaceForce<CloudType>::InterfaceForce
|
||||
)
|
||||
:
|
||||
ParticleForce<CloudType>(owner, mesh, dict, typeName, true),
|
||||
alpaName_(this->coeffs().lookup("alpha")),
|
||||
alphaName_(this->coeffs().lookup("alpha")),
|
||||
C_(readScalar(this->coeffs().lookup("C"))),
|
||||
gradInterForceInterpPtr_(nullptr)
|
||||
{}
|
||||
@ -47,7 +47,7 @@ template<class CloudType>
|
||||
Foam::InterfaceForce<CloudType>::InterfaceForce(const InterfaceForce& pf)
|
||||
:
|
||||
ParticleForce<CloudType>(pf),
|
||||
alpaName_(pf.alpaName_),
|
||||
alphaName_(pf.alphaName_),
|
||||
C_(pf.C_),
|
||||
gradInterForceInterpPtr_(pf.gradInterForceInterpPtr_)
|
||||
{}
|
||||
@ -75,7 +75,7 @@ void Foam::InterfaceForce<CloudType>::cacheFields(const bool store)
|
||||
if (!fieldExists)
|
||||
{
|
||||
const volScalarField& alpha = this->mesh().template
|
||||
lookupObject<volScalarField>(alpaName_);
|
||||
lookupObject<volScalarField>(alphaName_);
|
||||
|
||||
volVectorField* gradInterForcePtr =
|
||||
new volVectorField(fName, fvc::grad(alpha*(1-alpha)));
|
||||
|
||||
@ -57,13 +57,13 @@ class InterfaceForce
|
||||
{
|
||||
// Private data
|
||||
|
||||
//- Name of VOF field
|
||||
const word alpaName_;
|
||||
//- Name of phase fraction field
|
||||
const word alphaName_;
|
||||
|
||||
//- Model constant
|
||||
const scalar C_;
|
||||
|
||||
//- gradInterForce interpolator
|
||||
//- Interpolator for gradInterForce
|
||||
autoPtr<interpolation<vector>> gradInterForceInterpPtr_;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user