mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
minor formatting changes
This commit is contained in:
@ -49,7 +49,6 @@ class Analytical
|
||||
:
|
||||
public IntegrationScheme<Type>
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
@ -59,16 +58,11 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct from components
|
||||
Analytical
|
||||
(
|
||||
const word& phiName,
|
||||
const dictionary& dict
|
||||
);
|
||||
Analytical(const word& phiName, const dictionary& dict);
|
||||
|
||||
|
||||
//- Destructor
|
||||
|
||||
virtual ~Analytical();
|
||||
virtual ~Analytical();
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
@ -49,7 +49,6 @@ class Euler
|
||||
:
|
||||
public IntegrationScheme<Type>
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
@ -59,16 +58,11 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct from components
|
||||
Euler
|
||||
(
|
||||
const word& phiName,
|
||||
const dictionary& dict
|
||||
);
|
||||
Euler(const word& phiName, const dictionary& dict);
|
||||
|
||||
|
||||
//- Destructor
|
||||
|
||||
virtual ~Euler();
|
||||
virtual ~Euler();
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
@ -110,6 +110,7 @@ public:
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Private data
|
||||
|
||||
//- Name of the Integration variable
|
||||
@ -152,11 +153,7 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct from components
|
||||
IntegrationScheme
|
||||
(
|
||||
const word& phiName,
|
||||
const dictionary& dict
|
||||
);
|
||||
IntegrationScheme(const word& phiName, const dictionary& dict);
|
||||
|
||||
|
||||
// Selectors
|
||||
@ -170,8 +167,7 @@ public:
|
||||
|
||||
|
||||
//- Destructor
|
||||
|
||||
virtual ~IntegrationScheme();
|
||||
virtual ~IntegrationScheme();
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
@ -26,6 +26,7 @@ Class
|
||||
Foam::basicReactingCloud
|
||||
|
||||
Description
|
||||
Reacting cloud templated on the reacting parcel
|
||||
|
||||
SourceFiles
|
||||
basicReactingCloud.C
|
||||
|
||||
@ -131,7 +131,7 @@ void Foam::phaseProperties::checkTotalMassFraction() const
|
||||
}
|
||||
|
||||
|
||||
Foam::word Foam::phaseProperties::phaseToStateLabel(phaseType pt)
|
||||
Foam::word Foam::phaseProperties::phaseToStateLabel(phaseType pt) const
|
||||
{
|
||||
word state = "(unknown)";
|
||||
switch (pt)
|
||||
|
||||
@ -101,7 +101,7 @@ private:
|
||||
void checkTotalMassFraction() const;
|
||||
|
||||
//- Set the state label
|
||||
word phaseToStateLabel(phaseType pt);
|
||||
word phaseToStateLabel(phaseType pt) const;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
@ -95,7 +95,8 @@ Foam::vector Foam::StochasticDispersionRAS<CloudType>::update
|
||||
dir /= mag(dir) + SMALL;
|
||||
|
||||
// Numerical Recipes... Ch. 7. Random Numbers...
|
||||
scalar x1, x2;
|
||||
scalar x1 = 0.0;
|
||||
scalar x2 = 0.0;
|
||||
scalar rsq = 10.0;
|
||||
while ((rsq > 1.0) || (rsq == 0.0))
|
||||
{
|
||||
|
||||
@ -34,7 +34,8 @@ Foam::DragModel<CloudType>::DragModel
|
||||
const dictionary& dict,
|
||||
CloudType& owner
|
||||
)
|
||||
: dict_(dict),
|
||||
:
|
||||
dict_(dict),
|
||||
owner_(owner)
|
||||
{}
|
||||
|
||||
@ -76,9 +77,9 @@ Foam::scalar Foam::DragModel<CloudType>::Cu
|
||||
|
||||
const scalar Re = rhoc*magUr*d/(mu + SMALL);
|
||||
|
||||
const scalar cd = Cd(Re);
|
||||
const scalar Cd = this->Cd(Re);
|
||||
|
||||
return 3.0*cd*rhoc*magUr/(4.0*d*rhop);
|
||||
return 3.0*Cd*rhoc*magUr/(4.0*d*rhop);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -76,7 +76,6 @@ void Foam::Rebound<CloudType>::correct
|
||||
}
|
||||
|
||||
U -= Ut;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -35,7 +35,8 @@ Foam::WallInteractionModel<CloudType>::WallInteractionModel
|
||||
CloudType& owner,
|
||||
const word& type
|
||||
)
|
||||
: dict_(dict),
|
||||
:
|
||||
dict_(dict),
|
||||
owner_(owner),
|
||||
coeffDict_(dict.subDict(type + "Coeffs"))
|
||||
{}
|
||||
|
||||
@ -35,7 +35,8 @@ Foam::CompositionModel<CloudType>::CompositionModel
|
||||
CloudType& owner,
|
||||
const word& type
|
||||
)
|
||||
: dict_(dict),
|
||||
:
|
||||
dict_(dict),
|
||||
owner_(owner),
|
||||
coeffDict_(dict.subDict(type + "Coeffs")),
|
||||
carrierThermo_(owner.carrierThermo()),
|
||||
|
||||
@ -33,7 +33,8 @@ Foam::PhaseChangeModel<CloudType>::PhaseChangeModel
|
||||
(
|
||||
CloudType& owner
|
||||
)
|
||||
: dict_(dictionary::null),
|
||||
:
|
||||
dict_(dictionary::null),
|
||||
owner_(owner),
|
||||
coeffDict_(dictionary::null)
|
||||
{}
|
||||
@ -46,7 +47,8 @@ Foam::PhaseChangeModel<CloudType>::PhaseChangeModel
|
||||
CloudType& owner,
|
||||
const word& type
|
||||
)
|
||||
: dict_(dict),
|
||||
:
|
||||
dict_(dict),
|
||||
owner_(owner),
|
||||
coeffDict_(dict.subDict(type + "Coeffs"))
|
||||
{}
|
||||
|
||||
@ -44,7 +44,8 @@ Foam::HeatTransferModel<CloudType>::HeatTransferModel
|
||||
CloudType& owner,
|
||||
const word& type
|
||||
)
|
||||
: dict_(dict),
|
||||
:
|
||||
dict_(dict),
|
||||
owner_(owner),
|
||||
coeffDict_(dict.subDict(type + "Coeffs"))
|
||||
{}
|
||||
|
||||
@ -53,7 +53,6 @@ class cloudAbsorptionEmission
|
||||
:
|
||||
public absorptionEmissionModel
|
||||
{
|
||||
|
||||
// Private data
|
||||
|
||||
//- Coefficients dictionary
|
||||
@ -72,16 +71,11 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct from components
|
||||
cloudAbsorptionEmission
|
||||
(
|
||||
const dictionary& dict,
|
||||
const fvMesh& mesh
|
||||
);
|
||||
cloudAbsorptionEmission(const dictionary& dict, const fvMesh& mesh);
|
||||
|
||||
|
||||
// Destructor
|
||||
|
||||
~cloudAbsorptionEmission();
|
||||
virtual ~cloudAbsorptionEmission();
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
@ -46,16 +46,13 @@ namespace radiation
|
||||
{
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class cloudScatter Declaration
|
||||
Class cloudScatter Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
class cloudScatter
|
||||
:
|
||||
public scatterModel
|
||||
{
|
||||
|
||||
private:
|
||||
|
||||
// Private data
|
||||
|
||||
//- Absorption model dictionary
|
||||
@ -82,14 +79,11 @@ public:
|
||||
|
||||
|
||||
// Destructor
|
||||
|
||||
~cloudScatter();
|
||||
virtual ~cloudScatter();
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
// Edit
|
||||
|
||||
// Access
|
||||
|
||||
//- Return scatter coefficient
|
||||
|
||||
Reference in New Issue
Block a user