|
[Sponsors] |
February 25, 2013, 13:12 |
warning when building a new solver
|
#1 |
Member
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 92
Rep Power: 16 |
Dear all,
When I build a new solver, after "wmake", there are some warnings as followed.However I can run the new solver, why do these warning come out? Do they matter? ------------------------------------------------------------------------------------------------------------------ Making dependency list for source file pisoFoam.C SOURCE=pisoFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/turbulenceModels/incompressible/turbulenceModel -I/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/transportModels -I/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/transportModels/incompressible/singlePhaseTransportModel -I/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude -I/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/pisoFoam.o /opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude/readPISOControls.H: In function ‘int main(int, char**)’: /opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude/readPISOControls.H:3: warning: unused variable ‘nOuterCorr’ /opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude/readPISOControls.H:15: warning: unused variable ‘transonic’ /opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude/readTimeControls.H:32: warning: unused variable ‘adjustTimeStep’ /opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude/readTimeControls.H:35: warning: unused variable ‘maxCo’ /opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude/readTimeControls.H:38: warning: unused variable ‘maxDeltaT’ g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/turbulenceModels/incompressible/turbulenceModel -I/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/transportModels -I/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/transportModels/incompressible/singlePhaseTransportModel -I/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude -I/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/pisoFoam.o -L/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib \ -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lincompressibleTransportModels -lfiniteVolume ----------------------------------------------------------------------------------------------------------------- Could you give me some comments? Best regards, Ye |
|
February 25, 2013, 18:28 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Greetings Ye,
I'll quote myself from a post I made back in 2010 : Quote:
Bruno
__________________
|
||
February 26, 2013, 05:13 |
|
#3 |
Member
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 92
Rep Power: 16 |
Bruno,
Thank you so much! I really appreciate that! By the way, can I ask you one more question? Now I want to simulate the unsteady flow of the 2D airfoil in stall condition with pisoFoam solver. In Openfoam, should I start the simulation from original initial value or from the converged result obtained from steady solver simpleFoam as Fluent? Regards, Ye |
|
February 26, 2013, 05:30 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Ye,
Not exactly the same topic... but OK, I think I know the answer:
Bruno
__________________
|
|
February 27, 2013, 04:54 |
|
#5 |
Member
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 92
Rep Power: 16 |
Hi, Bruno
Thank you for your quick reply. I will try it! Regards, Ye |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] installing funkySetFields | prapanj | OpenFOAM Community Contributions | 65 | October 8, 2015 18:46 |
Doxygen documentation | Tanay | OpenFOAM Installation | 9 | September 23, 2011 12:40 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 22:58 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
OpenFoam 14 installation problem | gfcoppola | OpenFOAM Installation | 20 | November 2, 2007 14:38 |