|
[Sponsors] |
June 23, 2014, 09:00 |
Unknown AMG policy AAMG
|
#21 | |
New Member
yong zhao
Join Date: Oct 2013
Posts: 5
Rep Power: 13 |
I also have this problem, how did you solve this problem. thank you/
Quote:
|
||
June 23, 2014, 09:07 |
|
#22 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 13 |
Hi
I changed it to PAMG and run it. |
|
July 28, 2017, 06:26 |
Problem installation OpenFoam
|
#23 | |
New Member
Lucas Delcourt
Join Date: Apr 2017
Posts: 1
Rep Power: 0 |
Hi everyone,
I know this thread is a bit old but my question fit perfectly with this one. I am doing some free surface calculations and with the classic OpenFoam I had a lot of instabilities close to the hull, because I was using a too high Courant number to initialize the simulations. I have seen all the work done especially concerning the convecting scheme to adopt (HRIC, BRICS, CICSAM) which allows to have a higher courant number and also have a faster convergence. So I was interested in the navalFoam package. I installed the foam-extended4.0 release to be able to use the package, but I am facing probem trying to compile it... Here is the message after trying Quote:
Code:
could not open file tetFemMatrices.H for source file threeDofMotion/threeDofMotion.C could not open file tetPointFields.H for source file threeDofMotion/threeDofMotion.C could not open file faceTetPolyPatch.H for source file threeDofMotion/threeDofMotion.C could not open file fixedValueTetPolyPatchFields.H for source file threeDofMotion/threeDofMotion.C Making dependency list for source file floatingBody/floatingBody.C Making dependency list for source file sixDofMotion/sixDofMotion.C could not open file tetFemMatrices.H for source file floatingBody/floatingBody.C could not open file tetPointFields.H for source file floatingBody/floatingBody.C could not open file faceTetPolyPatch.H for source file floatingBody/floatingBody.C could not open file tetFemMatrices.H for source file sixDofMotion/sixDofMotion.C could not open file tetPointFields.H for source file sixDofMotion/sixDofMotion.C could not open file faceTetPolyPatch.H for source file sixDofMotion/sixDofMotion.C could not open file fixedValueTetPolyPatchFields.H for source file floatingBody/floatingBody.C could not open file fixedValueTetPolyPatchFields.H for source file sixDofMotion/sixDofMotion.C Making dependency list for source file sixDofTopoMotion/sixDofTopoMotion.C could not open file tetFemMatrices.H for source file sixDofTopoMotion/sixDofTopoMotion.C could not open file tetPointFields.H for source file sixDofTopoMotion/sixDofTopoMotion.C could not open file faceTetPolyPatch.H for source file sixDofTopoMotion/sixDofTopoMotion.C could not open file fixedValueTetPolyPatchFields.H for source file sixDofTopoMotion/sixDofTopoMotion.C Making dependency list for source file floatingBodyFvMesh/floatingBodyFvMesh.C could not open file tetFemMatrices.H for source file floatingBodyFvMesh/floatingBodyFvMesh.C could not open file tetPointFields.H for source file floatingBodyFvMesh/floatingBodyFvMesh.C could not open file faceTetPolyPatch.H for source file floatingBodyFvMesh/floatingBodyFvMesh.C could not open file fixedValueTetPolyPatchFields.H for source file floatingBodyFvMesh/floatingBodyFvMesh.C Making dependency list for source file rasVofForceAndTorque/rasVofForceAndTorqueFunctionObject.C could not open file tetFemMatrices.H for source file threeDofMotionSubset/threeDofMotionSubset.C could not open file tetPointFields.H for source file threeDofMotionSubset/threeDofMotionSubset.C could not open file faceTetPolyPatch.H for source file threeDofMotionSubset/threeDofMotionSubset.C could not open file fixedValueTetPolyPatchFields.H for source file threeDofMotionSubset/threeDofMotionSubset.C Making dependency list for source file CICSAM/CICSAM.C Making dependency list for source file CICSAM/CICSAMDC.C Making dependency list for source file fvPatchFields/movingWallSlip/movingWallSlipFvPatchVectorField.C Making dependency list for source file numericalBeach/numericalBeach.C Making dependency list for source file fvPatchFields/linearWave/linearWaveFvPatchFields.C Making dependency list for source file fvPatchFields/linearWaveVelocity/linearWaveVelocityFvPatchField.C Making dependency list for source file fvPatchFields/numericalBeachFvPatchField/numericalBeachFvPatchField.C SOURCE=TaitBryanCoordinateRotation/TaitBryanCoordinateRotation.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -g -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels/incompressible/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels/interfaceProperties/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/turbulenceModels -I/home/cfd_computer/foam/foam-extend-4.0/src/turbulenceModels/LES/LESdeltas/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/dynamicMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/topoChangerFvMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/meshTools/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/tetDecompositionFiniteElement/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/tetDecompositionMotionSolver/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/ODE/lnInclude -IlnInclude -I. -I/home/cfd_computer/foam/foam-extend-4.0/src/foam/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/TaitBryanCoordinateRotation.o SOURCE=harmonicSolidMotion/harmonicSolidMotion.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -g -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels/incompressible/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels/interfaceProperties/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/turbulenceModels -I/home/cfd_computer/foam/foam-extend-4.0/src/turbulenceModels/LES/LESdeltas/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/dynamicMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/topoChangerFvMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/meshTools/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/tetDecompositionFiniteElement/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/tetDecompositionMotionSolver/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/ODE/lnInclude -IlnInclude -I. -I/home/cfd_computer/foam/foam-extend-4.0/src/foam/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/harmonicSolidMotion.o SOURCE=graphSolidMotion/graphSolidMotion.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -g -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels/incompressible/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels/interfaceProperties/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/turbulenceModels -I/home/cfd_computer/foam/foam-extend-4.0/src/turbulenceModels/LES/LESdeltas/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/dynamicMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/topoChangerFvMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/meshTools/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/tetDecompositionFiniteElement/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/tetDecompositionMotionSolver/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/ODE/lnInclude -IlnInclude -I. -I/home/cfd_computer/foam/foam-extend-4.0/src/foam/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/graphSolidMotion.o SOURCE=excentreRotationFvMesh/excentreRotationFvMesh.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -g -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels/incompressible/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels/interfaceProperties/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/turbulenceModels -I/home/cfd_computer/foam/foam-extend-4.0/src/turbulenceModels/LES/LESdeltas/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/dynamicMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/topoChangerFvMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/meshTools/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/tetDecompositionFiniteElement/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/tetDecompositionMotionSolver/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/ODE/lnInclude -IlnInclude -I. -I/home/cfd_computer/foam/foam-extend-4.0/src/foam/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/excentreRotationFvMesh.o excentreRotationFvMesh/excentreRotationFvMesh.C:31:18: fatal error: Time.H: No such file or directory compilation terminated. excentreRotationFvMesh/excentreRotationFvMesh.dep:512: recipe for target 'Make/linux64GccDPOpt/excentreRotationFvMesh.o' failed make: *** [Make/linux64GccDPOpt/excentreRotationFvMesh.o] Error 1 make: *** Waiting for unfinished jobs.... + wmake navalFoam Making dependency list for source file navalFoam.C SOURCE=navalFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels/incompressible/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels/interfaceProperties/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/turbulenceModels/incompressible/turbulenceModel -I/home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/dynamicMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/meshTools/lnInclude -I../vofDynamicMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/ODE/lnInclude -IlnInclude -I. -I/home/cfd_computer/foam/foam-extend-4.0/src/foam/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/navalFoam.o In file included from readControls.H:1:0, from navalFoam.C:60: /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readTimeControls.H: In function ‘int main(int, char**)’: /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readTimeControls.H:32:1: error: ‘adjustTimeStep’ was not declared in this scope adjustTimeStep = ^ /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readTimeControls.H:35:1: error: ‘maxCo’ was not declared in this scope maxCo = ^ /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readTimeControls.H:38:1: error: ‘maxDeltaT’ was not declared in this scope maxDeltaT = ^ In file included from navalFoam.C:61:0: correctPhi.H:37:29: error: ‘class Foam::dynamicFvMesh’ has no member named ‘solver’ pcorrEqn.solve(mesh.solver(pd.name())); ^ In file included from navalFoam.C:93:0: correctPhi.H:37:29: error: ‘class Foam::dynamicFvMesh’ has no member named ‘solver’ pcorrEqn.solve(mesh.solver(pd.name())); ^ In file included from navalFoam.C:119:0: pdEqn.H:49:30: error: ‘class Foam::dynamicFvMesh’ has no member named ‘solver’ pdEqn.solve(mesh.solver("pdFinal")); ^ In file included from navalFoam.C:138:0: pEqn.H:30:25: error: ‘class Foam::dynamicFvMesh’ has no member named ‘solver’ pEqn.solve(mesh.solver(pd.name())); ^ pEqn.H:33:40: error: ‘class Foam::dynamicFvMesh’ has no member named ‘relaxationFactor’ Info << "Relaxation: p = " << mesh.relaxationFactor(p.name()) << endl; ^ In file included from readControls.H:2:0, from navalFoam.C:72: /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readPIMPLEControls.H:9:10: warning: unused variable ‘momentumPredictor’ [-Wunused-variable] bool momentumPredictor = ^ /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readPIMPLEControls.H:12:10: warning: unused variable ‘transonic’ [-Wunused-variable] bool transonic = ^ In file included from readControls.H:2:0, from navalFoam.C:60: /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readPIMPLEControls.H:3:9: warning: unused variable ‘nOuterCorr’ [-Wunused-variable] int nOuterCorr(readInt(pimple.lookup("nOuterCorrectors"))); ^ /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readPIMPLEControls.H:4:9: warning: unused variable ‘nCorr’ [-Wunused-variable] int nCorr(readInt(pimple.lookup("nCorrectors"))); ^ /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readPIMPLEControls.H:9:10: warning: unused variable ‘momentumPredictor’ [-Wunused-variable] bool momentumPredictor = ^ /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readPIMPLEControls.H:12:10: warning: unused variable ‘transonic’ [-Wunused-variable] bool transonic = ^ In file included from navalFoam.C:60:0: readControls.H:28:12: warning: unused variable ‘startMotionTime’ [-Wunused-variable] scalar startMotionTime(readScalar(pimple.lookup("startMotionTime"))); ^ navalFoam.dep:755: recipe for target 'Make/linux64GccDPOpt/navalFoam.o' failed make: *** [Make/linux64GccDPOpt/navalFoam.o] Error 1 + wmake navalFoamVariant2 Making dependency list for source file navalFoamVariant2.C SOURCE=navalFoamVariant2.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I/home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels/incompressible/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/transportModels/interfaceProperties/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/turbulenceModels/incompressible/turbulenceModel -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/dynamicMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/meshTools/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/tetDecompositionFiniteElement/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/tetDecompositionMotionSolver/lnInclude -I../vofDynamicMesh/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/ODE/lnInclude -IlnInclude -I. -I/home/cfd_computer/foam/foam-extend-4.0/src/foam/lnInclude -I/home/cfd_computer/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/navalFoamVariant2.o In file included from readControls.H:1:0, from navalFoamVariant2.C:61: /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readTimeControls.H: In function ‘int main(int, char**)’: /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readTimeControls.H:32:1: error: ‘adjustTimeStep’ was not declared in this scope adjustTimeStep = ^ /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readTimeControls.H:35:1: error: ‘maxCo’ was not declared in this scope maxCo = ^ /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readTimeControls.H:38:1: error: ‘maxDeltaT’ was not declared in this scope maxDeltaT = ^ In file included from navalFoamVariant2.C:62:0: correctPhi.H:44:29: error: ‘class Foam::dynamicFvMesh’ has no member named ‘solver’ pcorrEqn.solve(mesh.solver(pd.name())); ^ In file included from navalFoamVariant2.C:94:0: correctPhi.H:44:29: error: ‘class Foam::dynamicFvMesh’ has no member named ‘solver’ pcorrEqn.solve(mesh.solver(pd.name())); ^ In file included from navalFoamVariant2.C:120:0: pdEqn.H:49:30: error: ‘class Foam::dynamicFvMesh’ has no member named ‘solver’ pdEqn.solve(mesh.solver("pdFinal")); ^ In file included from navalFoamVariant2.C:138:0: pEqn.H:30:25: error: ‘class Foam::dynamicFvMesh’ has no member named ‘solver’ pEqn.solve(mesh.solver(pd.name())); ^ pEqn.H:33:40: error: ‘class Foam::dynamicFvMesh’ has no member named ‘relaxationFactor’ Info << "Relaxation: p = " << mesh.relaxationFactor(p.name()) << endl; ^ In file included from readControls.H:2:0, from navalFoamVariant2.C:73: /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readPIMPLEControls.H:9:10: warning: unused variable ‘momentumPredictor’ [-Wunused-variable] bool momentumPredictor = ^ /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readPIMPLEControls.H:12:10: warning: unused variable ‘transonic’ [-Wunused-variable] bool transonic = ^ In file included from readControls.H:2:0, from navalFoamVariant2.C:61: /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readPIMPLEControls.H:3:9: warning: unused variable ‘nOuterCorr’ [-Wunused-variable] int nOuterCorr(readInt(pimple.lookup("nOuterCorrectors"))); ^ /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readPIMPLEControls.H:4:9: warning: unused variable ‘nCorr’ [-Wunused-variable] int nCorr(readInt(pimple.lookup("nCorrectors"))); ^ /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readPIMPLEControls.H:9:10: warning: unused variable ‘momentumPredictor’ [-Wunused-variable] bool momentumPredictor = ^ /home/cfd_computer/foam/foam-extend-4.0/src/finiteVolume/lnInclude/readPIMPLEControls.H:12:10: warning: unused variable ‘transonic’ [-Wunused-variable] bool transonic = ^ In file included from navalFoamVariant2.C:61:0: readControls.H:28:12: warning: unused variable ‘startMotionTime’ [-Wunused-variable] scalar startMotionTime(readScalar(pimple.lookup("startMotionTime"))); ^ navalFoamVariant2.dep:756: recipe for target 'Make/linux64GccDPOpt/navalFoamVariant2.o' failed make: *** [Make/linux64GccDPOpt/navalFoamVariant2.o] Error 1 Thanks Lucas |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
[OpenFOAM.org] Installation notes: OpenFOAM 2.3.x (git repo) on OSX 10.9 | opedrofunk | OpenFOAM Installation | 7 | July 1, 2015 14:51 |
[Discussion] Restructuring the Installation page at openfoamwiki.net | wyldckat | OpenFOAM Installation | 16 | November 2, 2013 12:43 |
Trouble shooting about OpenFOAM installation in Ubuntu 12.04 | Nait | OpenFOAM Installation | 2 | December 12, 2012 11:20 |
Installation of OpenFOAM 1.7.1 to OprnSUSE 11.2 | superfxfund | OpenFOAM Installation | 3 | November 11, 2010 03:15 |