cosmetics

This commit is contained in:
andy
2009-10-26 18:54:34 +00:00
parent cbe5974c26
commit 7e34048c59
16 changed files with 42 additions and 54 deletions

View File

@ -143,6 +143,7 @@ void Foam::basicThermo::eBoundaryCorrection(volScalarField& e)
}
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::basicThermo::basicThermo(const fvMesh& mesh)

View File

@ -37,7 +37,8 @@ namespace Foam
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
gradientInternalEnergyFvPatchScalarField::gradientInternalEnergyFvPatchScalarField
gradientInternalEnergyFvPatchScalarField::
gradientInternalEnergyFvPatchScalarField
(
const fvPatch& p,
const DimensionedField<scalar, volMesh>& iF
@ -47,7 +48,8 @@ gradientInternalEnergyFvPatchScalarField::gradientInternalEnergyFvPatchScalarFie
{}
gradientInternalEnergyFvPatchScalarField::gradientInternalEnergyFvPatchScalarField
gradientInternalEnergyFvPatchScalarField::
gradientInternalEnergyFvPatchScalarField
(
const gradientInternalEnergyFvPatchScalarField& ptf,
const fvPatch& p,
@ -59,7 +61,8 @@ gradientInternalEnergyFvPatchScalarField::gradientInternalEnergyFvPatchScalarFie
{}
gradientInternalEnergyFvPatchScalarField::gradientInternalEnergyFvPatchScalarField
gradientInternalEnergyFvPatchScalarField::
gradientInternalEnergyFvPatchScalarField
(
const fvPatch& p,
const DimensionedField<scalar, volMesh>& iF,
@ -70,7 +73,8 @@ gradientInternalEnergyFvPatchScalarField::gradientInternalEnergyFvPatchScalarFie
{}
gradientInternalEnergyFvPatchScalarField::gradientInternalEnergyFvPatchScalarField
gradientInternalEnergyFvPatchScalarField::
gradientInternalEnergyFvPatchScalarField
(
const gradientInternalEnergyFvPatchScalarField& tppsf
)
@ -79,7 +83,8 @@ gradientInternalEnergyFvPatchScalarField::gradientInternalEnergyFvPatchScalarFie
{}
gradientInternalEnergyFvPatchScalarField::gradientInternalEnergyFvPatchScalarField
gradientInternalEnergyFvPatchScalarField::
gradientInternalEnergyFvPatchScalarField
(
const gradientInternalEnergyFvPatchScalarField& tppsf,
const DimensionedField<scalar, volMesh>& iF
@ -123,7 +128,11 @@ void gradientInternalEnergyFvPatchScalarField::updateCoeffs()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
makePatchTypeField(fvPatchScalarField, gradientInternalEnergyFvPatchScalarField);
makePatchTypeField
(
fvPatchScalarField,
gradientInternalEnergyFvPatchScalarField
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -118,7 +118,8 @@ void mixedInternalEnergyFvPatchScalarField::updateCoeffs()
valueFraction() = Tw.valueFraction();
refValue() = thermo.e(Tw.refValue(), patchi);
refGrad() = thermo.Cv(Tw, patchi)*Tw.refGrad()
refGrad() =
thermo.Cv(Tw, patchi)*Tw.refGrad()
+ patch().deltaCoeffs()*
(
thermo.e(Tw, patchi)

View File

@ -76,9 +76,8 @@ public:
pureMixture(const dictionary&, const fvMesh&);
// Destructor
~pureMixture();
//- Destructor
virtual ~pureMixture();
// Member functions

View File

@ -168,7 +168,7 @@ public:
// Chemistry model functions (overriding abstract functions in
// chemistryModel.H)
// basicChemistryModel.H)
//- Return const access to the chemical source terms
inline tmp<volScalarField> RR(const label i) const;

View File

@ -116,8 +116,7 @@ Foam::scalar Foam::EulerImplicit<CompType, ThermoType>::solve
RR[si][lRef] -= sr*pf*corr;
RR[si][rRef] += sr*pr*corr;
}
} // end for(label i...
}
for (label i=0; i<nSpecie; i++)

View File

@ -111,8 +111,7 @@ Foam::scalar Foam::sequential<CompType, ThermoType>::solve
c[si] += dt*sr*omeg;
c[si] = max(0.0, c[si]);
}
} // end for (label i...
}
return cTauChem_/tChemInv;
}

View File

@ -116,19 +116,13 @@ public:
// Constructors
//- Construct from dictionary
liquidMixture
(
const dictionary&
);
liquidMixture(const dictionary&);
// Selectors
//- Select construct from dictionary
static autoPtr<liquidMixture> New
(
const dictionary&
);
static autoPtr<liquidMixture> New(const dictionary&);
// Member Functions

View File

@ -25,9 +25,7 @@ License
\*---------------------------------------------------------------------------*/
#include "liquidMixture.H"
#include "IOstreams.H"
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
//#include "IOstreams.H"
// * * * * * * * * * * * * * * * IOstream Operators * * * * * * * * * * * * //
/*

View File

@ -64,19 +64,13 @@ public:
// Constructors
//- Construct from dictionary
solidMixture
(
const dictionary&
);
solidMixture(const dictionary&);
// Selectors
//- Select construct from dictionary
static autoPtr<solidMixture> New
(
const dictionary&
);
static autoPtr<solidMixture> New(const dictionary&);
// Member Functions
@ -101,17 +95,11 @@ public:
//- Calculate the mixture density [kg/m^3] as a function of
// volume fractions
scalar rho
(
const scalarField& X
) const;
scalar rho(const scalarField& X) const;
//- Calculate the mixture heat capacity [J/(kg K)] as a function
// of mass fractions
scalar cp
(
const scalarField& Y
) const;
scalar cp(const scalarField& Y) const;
};