COMP: resolved some compiler warnings

This commit is contained in:
Andrew Heather 2020-12-14 10:32:26 +00:00
parent 696704a0dd
commit 8fa0921556
3 changed files with 5 additions and 8 deletions

View File

@ -0,0 +1,4 @@
const volScalarField& rho = trho();
volScalarField& h = thermo.he();
const volScalarField& betav = *betavPtr;

View File

@ -4,13 +4,6 @@ autoPtr<solidThermo> pThermo(solidThermo::New(mesh));
solidThermo& thermo = pThermo();
tmp<volScalarField> trho = thermo.rho();
const volScalarField& rho = trho();
//
//tmp<volScalarField> tcp = thermo.Cp();
//const volScalarField& cp = tcp();
//
//volScalarField& p = thermo.p();
volScalarField& h = thermo.he();
autoPtr<coordinateSystem> coordinatesPtr;
autoPtr<volSymmTensorField> taniAlpha;
@ -96,7 +89,6 @@ else
)
);
}
const volScalarField& betav = *betavPtr;
#include "createRadiationModel.H"
#include "createFvOptions.H"

View File

@ -60,6 +60,7 @@ int main(int argc, char *argv[])
#include "createTime.H"
#include "createDynamicFvMesh.H"
#include "createFields.H"
#include "createFieldRefs.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //