|
[Sponsors] |
The question of the incompressible oneKEqEddyWale compiling |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 29, 2015, 09:06 |
The question of the incompressible oneKEqEddyWale compiling
|
#1 |
New Member
jiujiumin
Join Date: May 2013
Posts: 9
Rep Power: 12 |
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:neKEqEddyWale:: oneKEqEddyWale(const Foam::volVectorField&, const Foam::surfaceScalarField&, Foam::transportModel&, const Foam::word&, const Foam::word&)’: oneKEqEddyWale/oneKEqEddyWale.H:78: warning: ‘Foam::incompressible::LESModels:neKEqEddyWale:: k_’ will be initialized after oneKEqEddyWale/oneKEqEddyWale.H:76: warning: ‘Foam::dimensionedScalar Foam::incompressible::LESModels:neKEqEddyWale::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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PEqnflux in compressible and incompressible PISO loop | dbxmcf | OpenFOAM Running, Solving & CFD | 3 | September 27, 2019 06:13 |
Incompressible turbulence models: strange implementations? | AleDR | OpenFOAM | 3 | November 18, 2014 11:23 |
Unanswered question | niklas | OpenFOAM | 2 | July 31, 2013 16:03 |
Problems about compiling OF1.5.x on Bluegene/P | ywang | OpenFOAM | 1 | August 25, 2011 05:22 |
Incompressible isothermal buoyancy | col16 | OpenFOAM Running, Solving & CFD | 2 | February 22, 2008 11:54 |