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

STYLE: Minor code style updates

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