The question of the incompressible oneKEqEddyWale compiling
Hello everyone
I have studied the incompressible oneKEqeddyWale(Wale model),but I confront with a question when I compile the oneKEqeddyWale subgrid model, the log note me that:"oneKEqEddyWale/oneKEqEddyWale.H: In constructor ‘Foam::incompressible::LESModels::oneKEqEddyWale:: oneKEqEddyWale(const Foam::volVectorField&, const Foam::surfaceScalarField&, Foam::transportModel&, const Foam::word&, const Foam::word&)’: oneKEqEddyWale/oneKEqEddyWale.H:78: warning: ‘Foam::incompressible::LESModels::oneKEqEddyWale:: k_’ will be initialized after oneKEqEddyWale/oneKEqEddyWale.H:76: warning: ‘Foam::dimensionedScalar Foam::incompressible::LESModels::oneKEqEddyWale::c k_’ oneKEqEddyWale/oneKEqEddyWale.C:56: warning: when initialized here '/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libincompressibleLESModels.so' is up to date. " Now I do not find the reason why it hint the three "warning", What is more , in the oneKEqEddyWale.C file, I have initialized the k_ and ck_, as follows "k_ ( IOobject ( "k", runTime_.timeName(), mesh_, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh_ ), " If you can help me, I would appreciate your help. |
All times are GMT -4. The time now is 01:37. |