Skip to content
Snippets Groups Projects
Commit fedf5882 authored by Andrew Heather's avatar Andrew Heather
Browse files

STYLE: Minor code style updates

parent 2efc0a6f
No related merge requests found
...@@ -28,7 +28,7 @@ Group ...@@ -28,7 +28,7 @@ Group
grpODESolvers grpODESolvers
Description Description
4/5th Order DormandPrince Runge-Kutta ODE solver. 4/5th Order Dormand-Prince Runge-Kutta ODE solver.
References: References:
\verbatim \verbatim
......
...@@ -118,8 +118,7 @@ Foam::IncompressibleTurbulenceModel<TransportModel>::divDevReff ...@@ -118,8 +118,7 @@ Foam::IncompressibleTurbulenceModel<TransportModel>::divDevReff
template<class TransportModel> template<class TransportModel>
Foam::tmp<Foam::volSymmTensorField> Foam::tmp<Foam::volSymmTensorField>
Foam::IncompressibleTurbulenceModel<TransportModel>:: Foam::IncompressibleTurbulenceModel<TransportModel>::devRhoReff() const
devRhoReff() const
{ {
NotImplemented; NotImplemented;
...@@ -129,8 +128,7 @@ devRhoReff() const ...@@ -129,8 +128,7 @@ devRhoReff() const
template<class TransportModel> template<class TransportModel>
Foam::tmp<Foam::fvVectorMatrix> Foam::tmp<Foam::fvVectorMatrix>
Foam::IncompressibleTurbulenceModel<TransportModel>:: Foam::IncompressibleTurbulenceModel<TransportModel>::divDevRhoReff
divDevRhoReff
( (
volVectorField& U volVectorField& U
) const ) const
...@@ -143,8 +141,7 @@ divDevRhoReff ...@@ -143,8 +141,7 @@ divDevRhoReff
template<class TransportModel> template<class TransportModel>
Foam::tmp<Foam::fvVectorMatrix> Foam::tmp<Foam::fvVectorMatrix>
Foam::IncompressibleTurbulenceModel<TransportModel>:: Foam::IncompressibleTurbulenceModel<TransportModel>::divDevRhoReff
divDevRhoReff
( (
const volScalarField& rho, const volScalarField& rho,
volVectorField& U volVectorField& U
......
...@@ -54,7 +54,7 @@ tmp<scalarField> nutUWallFunctionFvPatchScalarField::calcNut() const ...@@ -54,7 +54,7 @@ tmp<scalarField> nutUWallFunctionFvPatchScalarField::calcNut() const
const scalarField& nuw = tnuw(); const scalarField& nuw = tnuw();
tmp<scalarField> tyPlus = calcYPlus(magUp); tmp<scalarField> tyPlus = calcYPlus(magUp);
scalarField& yPlus = tyPlus.ref(); const scalarField& yPlus = tyPlus();
tmp<scalarField> tnutw(new scalarField(patch().size(), 0.0)); tmp<scalarField> tnutw(new scalarField(patch().size(), 0.0));
scalarField& nutw = tnutw.ref(); scalarField& nutw = tnutw.ref();
......
...@@ -151,8 +151,7 @@ tmp<scalarField> nutkWallFunctionFvPatchScalarField::yPlus() const ...@@ -151,8 +151,7 @@ tmp<scalarField> nutkWallFunctionFvPatchScalarField::yPlus() const
const tmp<volScalarField> tk = turbModel.k(); const tmp<volScalarField> tk = turbModel.k();
const volScalarField& k = tk(); const volScalarField& k = tk();
tmp<scalarField> kwc = k.boundaryField()[patchi].patchInternalField(); tmp<scalarField> kwc = k.boundaryField()[patchi].patchInternalField();
const tmp<scalarField> tnuw = turbModel.nu(patchi); tmp<scalarField> nuw = turbModel.nu(patchi);
const scalarField& nuw = tnuw();
return pow025(Cmu_)*y*sqrt(kwc)/nuw; return pow025(Cmu_)*y*sqrt(kwc)/nuw;
} }
......
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