Commit 6df55401 authored by Ned Coltman's avatar Ned Coltman Committed by Melanie Lipp

[rans] Clean up braces

parent 8ee31195
......@@ -188,9 +188,7 @@ public:
* \param compIdx the index of the component
*/
Scalar massFraction(int phaseIdx, int compIdx) const
{
return fluidState_.massFraction(0, compIdx);
}
{ return fluidState_.massFraction(0, compIdx); }
/*!
* \brief Returns the mass fraction of a component in the phase \f$\mathrm{[-]}\f$
......@@ -198,9 +196,7 @@ public:
* \param compIdx the index of the component
*/
Scalar massFraction(int compIdx) const
{
return fluidState_.massFraction(0, compIdx);
}
{ return fluidState_.massFraction(0, compIdx); }
/*!
* \brief Returns the mole fraction of a component in the phase \f$\mathrm{[-]}\f$
......@@ -209,9 +205,7 @@ public:
* \param compIdx the index of the component
*/
Scalar moleFraction(int phaseIdx, int compIdx) const
{
return fluidState_.moleFraction(0, compIdx);
}
{ return fluidState_.moleFraction(0, compIdx); }
/*!
* \brief Returns the mole fraction of a component in the phase \f$\mathrm{[-]}\f$
......@@ -219,17 +213,13 @@ public:
* \param compIdx the index of the component
*/
Scalar moleFraction(int compIdx) const
{
return fluidState_.moleFraction(0, compIdx);
}
{ return fluidState_.moleFraction(0, compIdx); }
/*!
* \brief Returns the mass density of a given phase \f$\mathrm{[kg/m^3]}\f$
*/
Scalar molarDensity(int phaseIdx = 0) const
{
return fluidState_.molarDensity(0);
}
{ return fluidState_.molarDensity(0); }
/*!
* \brief Returns the molar mass of a given component.
......@@ -237,9 +227,7 @@ public:
* \param compIdx the index of the component
*/
Scalar molarMass(int compIdx) const
{
return FluidSystem::molarMass(compIdx);
}
{ return FluidSystem::molarMass(compIdx); }
/*!
* \brief Returns the average molar mass \f$\mathrm{[kg/mol]}\f$ of the fluid phase.
......
......@@ -101,41 +101,31 @@ public:
* \brief Returns the dynamic eddy viscosity \f$\mathrm{[Pa s]}\f$.
*/
Scalar calculateEddyViscosity()
{
return viscosityTilde() * fv1() * RANSParentType::density();
}
{ return viscosityTilde() * fv1() * RANSParentType::density(); }
/*!
* \brief Returns the viscosity parameter \f$ m^2/s \f$
*/
Scalar viscosityTilde() const
{
return viscosityTilde_;
}
{ return viscosityTilde_; }
/*!
* \brief Returns the viscosity parameter from the last iteration \f$ m^2/s \f$
*/
Scalar storedViscosityTilde() const
{
return storedViscosityTilde_;
}
{ return storedViscosityTilde_; }
/*!
* \brief Returns the gradient of the viscosity parameter
*/
DimVector storedViscosityTildeGradient() const
{
return storedViscosityTildeGradient_;
}
{ return storedViscosityTildeGradient_; }
/*!
* \brief Returns the scalar product of the stress tensor
*/
Scalar stressTensorScalarProduct() const
{
return stressTensorScalarProduct_;
}
{ return stressTensorScalarProduct_; }
/*!
* \brief Returns damping function for the eddy viscosity
......
......@@ -455,9 +455,7 @@ public:
//! \brief Returns the \f$ C_{\mu} \f$ constant
const Scalar cMu() const
{
return 0.09;
}
{ return 0.09; }
Scalar yPlusThreshold() const
{
......
......@@ -118,57 +118,43 @@ public:
* \brief Returns the turbulent kinetic energy \f$ m^2/s^2 \f$
*/
Scalar turbulentKineticEnergy() const
{
return turbulentKineticEnergy_;
}
{ return turbulentKineticEnergy_; }
/*!
* \brief Returns an effective dissipation \f$ m^2/s^3 \f$
*/
Scalar dissipation() const
{
return dissipation_;
}
{ return dissipation_; }
/*!
* \brief Returns the turbulent kinetic energy \f$ m^2/s^2 \f$
*/
Scalar storedTurbulentKineticEnergy() const
{
return storedTurbulentKineticEnergy_;
}
{ return storedTurbulentKineticEnergy_; }
/*!
* \brief Returns an effective dissipation \f$ m^2/s^3 \f$
*/
Scalar storedDissipation() const
{
return storedDissipation_;
}
{ return storedDissipation_; }
/*!
* \brief Returns the scalar product of the stress tensor
*/
Scalar stressTensorScalarProduct() const
{
return stressTensorScalarProduct_;
}
{ return stressTensorScalarProduct_; }
/*
* \brief Returns if an element is located in the near-wall region
*/
bool inNearWallRegion() const
{
return inNearWallRegion_;
}
{ return inNearWallRegion_; }
/*!
* \brief Returns if an element is the matching point
*/
bool isMatchingPoint() const
{
return isMatchingPoint_;
}
{ return isMatchingPoint_; }
//! \brief Returns the \f$ C_{\mu} \f$ constant
const Scalar cMu() const
......@@ -190,15 +176,11 @@ public:
const Scalar cTwoEpsilon() const
{ return 1.92; }
/*!
* \brief Return the nominal dimensionless wall distance \f$\mathrm{[-]}\f$.
*/
//! \brief Returns the nominal dimensionless wall distance \f$\mathrm{[-]}\f$.
Scalar yPlusNominal() const
{ return yPlusNominal_; }
/*!
* \brief Return the nominal dimensionless velocity \f$\mathrm{[-]}\f$.
*/
//! \brief Return the nominal dimensionless velocity \f$\mathrm{[-]}\f$.
Scalar uPlusNominal() const
{ return uPlusNominal_; }
......
......@@ -136,9 +136,7 @@ public:
//! \brief Returns the \f$ \beta_{\omega} \f$ constant
const Scalar betaOmega() const
{
return 0.0708;
}
{ return 0.0708; }
bool useStoredEddyViscosity() const
{
......
......@@ -120,61 +120,33 @@ public:
* RANSParentType::density();
}
/*!
* \brief Returns the turbulent kinetic energy \f$ m^2/s^2 \f$
*/
//! \brief Returns the turbulent kinetic energy \f$ m^2/s^2 \f$
Scalar turbulentKineticEnergy() const
{
return turbulentKineticEnergy_;
}
{ return turbulentKineticEnergy_; }
/*!
* \brief Returns an effective dissipation \f$ m^2/s^3 \f$
*/
//! \brief Returns an effective dissipation \f$ m^2/s^3 \f$
Scalar dissipation() const
{
return dissipation_;
}
{ return dissipation_; }
/*!
* \brief Returns the turbulent kinetic energy \f$ m^2/s^2 \f$
*/
//! \brief Returns the turbulent kinetic energy \f$ m^2/s^2 \f$
Scalar storedTurbulentKineticEnergy() const
{
return storedTurbulentKineticEnergy_;
}
{ return storedTurbulentKineticEnergy_; }
/*!
* \brief Returns an effective dissipation \f$ m^2/s^3 \f$
*/
//! \brief Returns an effective dissipation \f$ m^2/s^3 \f$
Scalar storedDissipation() const
{
return storedDissipation_;
}
{ return storedDissipation_; }
/*!
* \brief Returns the gradient of the turbulent kinetic energy \f$ m^2/s^2 \f$
*/
//! \brief Returns the gradient of the turbulent kinetic energy \f$ m^2/s^2 \f$
DimVector storedTurbulentKineticEnergyGradient() const
{
return storedTurbulentKineticEnergyGradient_;
}
{ return storedTurbulentKineticEnergyGradient_; }
/*!
* \brief Returns the gradient of the effective dissipation \f$ m^2/s^3 \f$
*/
//! \brief Returns the gradient of the effective dissipation \f$ m^2/s^3 \f$
DimVector storedDissipationGradient() const
{
return storedDissipationGradient_;
}
{ return storedDissipationGradient_; }
/*!
* \brief Returns the scalar product of the stress tensor
*/
//! \brief Returns the scalar product of the stress tensor
Scalar stressTensorScalarProduct() const
{
return stressTensorScalarProduct_;
}
{ return stressTensorScalarProduct_; }
//! \brief Returns the \f$ \alpha \f$ value
const Scalar alpha() const
......
......@@ -108,41 +108,31 @@ public:
* \brief Returns the turbulent kinetic energy \f$ m^2/s^2 \f$
*/
Scalar turbulentKineticEnergy() const
{
return turbulentKineticEnergy_;
}
{ return turbulentKineticEnergy_; }
/*!
* \brief Returns an effective dissipation \f$ m^2/s^3 \f$
*/
Scalar dissipationTilde() const
{
return dissipationTilde_;
}
{ return dissipationTilde_; }
/*!
* \brief Returns the turbulent kinetic energy \f$ m^2/s^2 \f$
*/
Scalar storedTurbulentKineticEnergy() const
{
return storedTurbulentKineticEnergy_;
}
{ return storedTurbulentKineticEnergy_; }
/*!
* \brief Returns an effective dissipation \f$ m^2/s^3 \f$
*/
Scalar storedDissipationTilde() const
{
return storedDissipationTilde_;
}
{ return storedDissipationTilde_; }
/*!
* \brief Returns the scalar product of the stress tensor
*/
Scalar stressTensorScalarProduct() const
{
return stressTensorScalarProduct_;
}
{ return stressTensorScalarProduct_; }
//! \brief Returns the \f$ Re_\textrm{T} \f$ value
const Scalar reT() const
......
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