|
[Sponsors] |
May 22, 2013, 06:25 |
OpenFOAM Installation for navalFoam
|
#1 |
Member
Dr Sachin Borse
Join Date: Oct 2011
Location: Pune, Republic of India
Posts: 52
Rep Power: 15 |
Hi everyone,
Can anyone provide links to download "navalFoam" solvers for OpenFoam and procedure to install it on Ubuntu 12.0.4., 32 bit and 64 bit versions. Also provide with the pre-requisites (steps) for its installation. Currently I have OpenFoam 2.1.1 version installed on my Virtual box. Thanks in advance Dr. Sachin.b |
|
June 9, 2013, 12:14 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Dr. Sachin,
Since the Extend repositories are back online, here's what I can figure out:
Best regards, Bruno
__________________
|
|
June 11, 2013, 06:11 |
|
#3 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
is there any other repositories? i can not download from that repository for low speed connection
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
June 15, 2013, 10:17 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Nima Sam,
I've created a git mirror at repo.or.cz: http://repo.or.cz/w/ShipHydroSIG.git For cloning, you can use either one of the following commands: Code:
git clone git://repo.or.cz/ShipHydroSIG.git git clone http://repo.or.cz/r/ShipHydroSIG.git Bruno
__________________
|
|
November 20, 2013, 10:42 |
|
#5 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 13 |
Hi Bruno and all,
I downloaded navalFoam and I was trying to run it with OpenFOAM1.6 ext which I downloaded from debian pack. but after wmake all it gives the below error: Code:
maryam@maryam-desktop:~/ShipHydroSIG/src$ wmake all + wmake libso vofDynamicMesh wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file TaitBryanCoordinateRotation/TaitBryanCoordinateRotation.C Making dependency list for source file harmonicSolidMotion/harmonicSolidMotion.C Making dependency list for source file graphSolidMotion/graphSolidMotion.C Making dependency list for source file excentreRotationFvMesh/excentreRotationFvMesh.C Making dependency list for source file threeDofMotion/threeDofMotion.C Making dependency list 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 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 sixDofMotion/sixDofMotion.C could not open file fixedValueTetPolyPatchFields.H for source file floatingBody/floatingBody.C Making dependency list for source file sixDofTopoMotion/sixDofTopoMotion.C Making dependency list for source file floatingBodyFvMesh/floatingBodyFvMesh.C could not open file tetFemMatrices.H for source file sixDofTopoMotion/sixDofTopoMotion.C could not open file faceTetPolyPatch.H for source file sixDofTopoMotion/sixDofTopoMotion.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 fixedValueTetPolyPatchFields.H for source file sixDofTopoMotion/sixDofTopoMotion.C could not open file fixedValueTetPolyPatchFields.H for source file floatingBodyFvMesh/floatingBodyFvMesh.C Making dependency list for source file rasVofForceAndTorque/rasVofForceAndTorqueFunctionObject.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 numericalBeach/numericalBeach.C Making dependency list for source file fvPatchFields/movingWallSlip/movingWallSlipFvPatchVectorField.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++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -g -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/interfaceProperties/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/LES/LESdeltas/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/TaitBryanCoordinateRotation.o SOURCE=harmonicSolidMotion/harmonicSolidMotion.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -g -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/interfaceProperties/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/LES/LESdeltas/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/harmonicSolidMotion.o SOURCE=graphSolidMotion/graphSolidMotion.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -g -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/interfaceProperties/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/LES/LESdeltas/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionMotionSolver/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/ODE/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/graphSolidMotion.o SOURCE=excentreRotationFvMesh/excentreRotationFvMesh.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -g -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/interfaceProperties/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/LES/LESdeltas/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/excentreRotationFvMesh.o SOURCE=threeDofMotion/threeDofMotion.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -g -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/interfaceProperties/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/LES/LESdeltas/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/ODE/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/threeDofMotion.o threeDofMotion/threeDofMotion.C:34:28: error: tetFemMatrices.H: No such file or directory threeDofMotion/threeDofMotion.C:35:28: error: tetPointFields.H: No such file or directory threeDofMotion/threeDofMotion.C:36:30: error: faceTetPolyPatch.H: No such file or directory threeDofMotion/threeDofMotion.C:37:42: error: fixedValueTetPolyPatchFields.H: No such file or directory SOURCE=threeDofMotionSubset/threeDofMotionSubset.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -g -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/interfaceProperties/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/LES/LESdeltas/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionFiniteElement/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionMotionSolver/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/ODE/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/threeDofMotionSubset.o threeDofMotionSubset/threeDofMotionSubset.C:34:28: error: tetFemMatrices.H: No such file or directory threeDofMotionSubset/threeDofMotionSubset.C:35:28: error: tetPointFields.H: No such file or directory threeDofMotionSubset/threeDofMotionSubset.C:36:30: error: faceTetPolyPatch.H: No such file or directory threeDofMotionSubset/threeDofMotionSubset.C:37:42: error: fixedValueTetPolyPatchFields.H: No such file or directory threeDofMotion/threeDofMotion.C: In member function ‘Foam::vector Foam::threeDofMotion::hullForce() const’: threeDofMotion/threeDofMotion.C:98: warning: unused variable ‘U’ threeDofMotion/threeDofMotion.C: In member function ‘virtual bool Foam::threeDofMotion::update()’: threeDofMotion/threeDofMotion.C:222: error: ‘tetPointVectorField’ was not declared in this scope threeDofMotion/threeDofMotion.C:222: error: ‘motionU’ was not declared in this scope threeDofMotion/threeDofMotion.C:223: error: expected type-specifier before ‘tetPointVectorField’ threeDofMotion/threeDofMotion.C:223: error: expected ‘>’ before ‘tetPointVectorField’ threeDofMotion/threeDofMotion.C:223: error: expected ‘(’ before ‘tetPointVectorField’ threeDofMotion/threeDofMotion.C:223: error: expected primary-expression before ‘>’ token threeDofMotion/threeDofMotion.C:225: error: ‘tetPointVectorField’ cannot appear in a constant-expression threeDofMotion/threeDofMotion.C:225: error: no matching function for call to ‘Foam::threeDofMotion::lookupObject(const char [8])’ threeDofMotion/threeDofMotion.C:226: error: expected ‘)’ before ‘;’ token threeDofMotion/threeDofMotion.C:228: error: ‘fixedValueTetPolyPatchVectorField’ was not declared in this scope threeDofMotion/threeDofMotion.C:228: error: ‘motionUHullPatch’ was not declared in this scope threeDofMotion/threeDofMotion.C:229: error: ‘fixedValueTetPolyPatchVectorField’ cannot appear in a constant-expression make: *** [Make/linuxGccDPOpt/threeDofMotion.o] Error 1 make: *** Waiting for unfinished jobs.... threeDofMotionSubset/threeDofMotionSubset.C: In member function ‘Foam::vector Foam::threeDofMotionSubset::hullForce() const’: threeDofMotionSubset/threeDofMotionSubset.C:98: warning: unused variable ‘U’ threeDofMotionSubset/threeDofMotionSubset.C: In member function ‘virtual bool Foam::threeDofMotionSubset::update()’: threeDofMotionSubset/threeDofMotionSubset.C:260: error: ‘tetPointVectorField’ was not declared in this scope threeDofMotionSubset/threeDofMotionSubset.C:260: error: ‘motionU’ was not declared in this scope threeDofMotionSubset/threeDofMotionSubset.C:261: error: expected type-specifier before ‘tetPointVectorField’ threeDofMotionSubset/threeDofMotionSubset.C:261: error: expected ‘>’ before ‘tetPointVectorField’ threeDofMotionSubset/threeDofMotionSubset.C:261: error: expected ‘(’ before ‘tetPointVectorField’ threeDofMotionSubset/threeDofMotionSubset.C:261: error: expected primary-expression before ‘>’ token threeDofMotionSubset/threeDofMotionSubset.C:264: error: ‘tetPointVectorField’ cannot appear in a constant-expression threeDofMotionSubset/threeDofMotionSubset.C:267: error: no matching function for call to ‘Foam::fvMesh::lookupObject(const char [8])’ threeDofMotionSubset/threeDofMotionSubset.C:268: error: expected ‘)’ before ‘;’ token threeDofMotionSubset/threeDofMotionSubset.C:284: error: ‘fixedValueTetPolyPatchVectorField’ was not declared in this scope threeDofMotionSubset/threeDofMotionSubset.C:284: error: ‘motionUHullPatch’ was not declared in this scope threeDofMotionSubset/threeDofMotionSubset.C:285: error: ‘fixedValueTetPolyPatchVectorField’ cannot appear in a constant-expression make: *** [Make/linuxGccDPOpt/threeDofMotionSubset.o] Error 1 + wmake navalFoam Making dependency list for source file navalFoam.C SOURCE=navalFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/interfaceProperties/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/incompressible/turbulenceModel -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/meshTools/lnInclude -DFACE_DECOMP -I../vofDynamicMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/ODE/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/navalFoam.o /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H: In function ‘int main(int, char**)’: /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H:9: warning: unused variable ‘momentumPredictor’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H:12: warning: unused variable ‘transonic’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readTimeControls.H:40: warning: unused variable ‘maxCo’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readTimeControls.H:43: warning: unused variable ‘maxDeltaT’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H:3: warning: unused variable ‘nOuterCorr’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H:4: warning: unused variable ‘nCorr’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H:9: warning: unused variable ‘momentumPredictor’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H:12: warning: unused variable ‘transonic’ readControls.H:28: warning: unused variable ‘startMotionTime’ g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/interfaceProperties/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/incompressible/turbulenceModel -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/meshTools/lnInclude -DFACE_DECOMP -I../vofDynamicMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/ODE/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxGccDPOpt/navalFoam.o -L/usr/lib/OpenFOAM-1.6-ext/lib \ -linterfaceProperties -lincompressibleTransportModels -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lfiniteVolume -ldynamicMesh -ldynamicFvMesh -ltopoChangerFvMesh -lmeshTools -lfaceDecompFiniteElement -lfaceDecompositionMotionSolver -lODE -llduSolvers -L/home/maryam/OpenFOAM/maryam-1.6-ext/lib -lvofDynamicMesh -lOpenFOAM -ldl -lm -o /home/maryam/OpenFOAM/maryam-1.6-ext/applications/bin/navalFoam /usr/bin/ld: cannot find -lvofDynamicMesh collect2: ld returned 1 exit status make: *** [/home/maryam/OpenFOAM/maryam-1.6-ext/applications/bin/navalFoam] Error 1 + wmake navalFoamVariant2 Making dependency list for source file navalFoamVariant2.C SOURCE=navalFoamVariant2.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/interfaceProperties/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/incompressible/turbulenceModel -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/meshTools/lnInclude -DFACE_DECOMP -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionFiniteElement/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionMotionSolver/lnInclude -I../vofDynamicMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/ODE/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/navalFoamVariant2.o /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H: In function ‘int main(int, char**)’: /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H:12: warning: unused variable ‘transonic’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readTimeControls.H:40: warning: unused variable ‘maxCo’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readTimeControls.H:43: warning: unused variable ‘maxDeltaT’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H:3: warning: unused variable ‘nOuterCorr’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H:4: warning: unused variable ‘nCorr’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H:9: warning: unused variable ‘momentumPredictor’ /usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/readPIMPLEControls.H:12: warning: unused variable ‘transonic’ readControls.H:28: warning: unused variable ‘startMotionTime’ g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/usr/lib/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/incompressible/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/transportModels/interfaceProperties/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/turbulenceModels/incompressible/turbulenceModel -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/dynamicMesh/dynamicFvMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/meshTools/lnInclude -DFACE_DECOMP -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionFiniteElement/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/tetDecompositionMotionSolver/lnInclude -I../vofDynamicMesh/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/ODE/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxGccDPOpt/navalFoamVariant2.o -L/usr/lib/OpenFOAM-1.6-ext/lib \ -lfiniteVolume -linterfaceProperties -lincompressibleTransportModels -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -ldynamicMesh -ldynamicFvMesh -ltopoChangerFvMesh -lmeshTools -lfaceDecompFiniteElement -lfaceDecompositionMotionSolver -lODE -llduSolvers -L/home/maryam/OpenFOAM/maryam-1.6-ext/lib -lvofDynamicMesh -lOpenFOAM -ldl -lm -o /home/maryam/OpenFOAM/maryam-1.6-ext/applications/bin/navalFoamVariant2 /usr/bin/ld: cannot find -lvofDynamicMesh collect2: ld returned 1 exit status make: *** [/home/maryam/OpenFOAM/maryam-1.6-ext/applications/bin/navalFoamVariant2] Error 1 Thanks in advanced. |
|
November 20, 2013, 18:11 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Maryam,
Unfortunately the Deb packages of 1.6-ext for Ubuntu seem to be too old for ShipHydroSIG You'll have to build 1.6-ext from source code and probably remove the old version first. Best regards, Bruno
__________________
|
|
November 21, 2013, 03:37 |
|
#7 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 13 |
Thanks Bruno
I had already some problems with this version. For example in floatingObject tutorial the object didn't move! I searched a little on the forum how to remove debian pack but I got a little confused. Is it possible to guide me how to do this After that I would try to install source package as described in Wiki. Thanks so much |
|
November 21, 2013, 03:47 |
|
#8 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
go to synaptic manager and search for foam, you will see those package then you can choose and remove it
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
November 21, 2013, 08:23 |
|
#9 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
To add to Nima's answer (@Nima: don't forget that Synaptic is not installed by default in Ubuntu), simply replace the word "install" with "remove": http://openfoamwiki.net/index.php/In...ucid_10.04_LTS Code:
sudo apt-get remove openfoam-1.6-ext openfoam-1.6-ext-dev openfoam-1.6-ext-doc
__________________
|
||
November 21, 2013, 08:48 |
|
#10 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
@Bruno: I know Ubuntu center is replaced in recent versions of Ubuntu but for Ubuntu.10.04 as i remember, synaptic manager was the default package manager software
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
November 24, 2013, 08:06 |
|
#11 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 13 |
@nimasam: I didn't find it by searching foam. synaptic just showed me the openfoam versions installed in opt directory. I found them in the optional section and not by searching foam. shouldn't it show the versions in home directory?
Thanks Bruno, I removed openfoam as you explained. I know that this topic is about navalFoam but I have another question about shipFoam that I saw was asked in other threads but with no answer. Sorry if I ask here. After runing shipFoam tutorials it searches for alpha1 which is not included in 0 directory. what should I do? Sorry for inconvenience Thanks Maryam |
|
November 24, 2013, 08:54 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Maryam,
I can't remember where "shipFoam" is available. Can you please indicate where it is available and which thread talks about that same problem? Best regards, Bruno
__________________
|
|
November 24, 2013, 14:24 |
|
#13 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 13 |
Hi
I downloaded it from link: https://github.com/Unofficial-Extend...HydrodynamicIG and the threads which contains the error I mentioned is: Hydrostatic Pressure and Gravity #116 & #118 Best regards |
|
November 24, 2013, 17:14 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Maryam,
The problem is that the file "alpha1.org~" is missing from the tutorials in the old ShipFoam repository. Also, it shouldn't be used by the script Allrun, because (at least on Linux systems) files ending with "~" are backup files. In theory, it's very simple:
Bruno
__________________
|
|
December 2, 2013, 12:27 |
|
#15 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 13 |
Hi Bruno
Thanks for reply and sorry for replying late due to a trip. I made alpha regarding to the p file. But it gives error in the process of snappyHexMesh and ShipFoam. snappyHexMesh.log is like this: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 1.6-53b7f692aa41 Exec : snappyHexMesh -overwrite Date : Dec 03 2013 Time : 02:57:49 Host : maryam-desktop PID : 2998 Case : /home/maryam/OpenFOAM/shipHydrodynamicIG-master/tutorials/shipFoam/roll nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 // using new solver syntax: pcorr { solver PCG; tolerance 1e-06; relTol 0; preconditioner { preconditioner GAMG; tolerance 1e-06; relTol 0; smoother DICGaussSeidel; nCellsInCoarsestLevel 10; mergeLevels 1; agglomerator faceAreaPair; cacheAgglomeration false; nPreSweeps 0; nPostSweeps 2; nFinestSweeps 2; scaleCorrection true; directSolveCoarsest false; } } // using new solver syntax: p { solver GAMG; tolerance 1e-06; relTol 0; smoother DIC; nCellsInCoarsestLevel 10; mergeLevels 1; agglomerator faceAreaPair; cacheAgglomeration true; nPreSweeps 0; nPostSweeps 2; nFinestSweeps 2; scaleCorrection true; directSolveCoarsest false; } // using new solver syntax: pFinal { solver PCG; tolerance 1e-06; relTol 0; preconditioner { preconditioner GAMG; tolerance 1e-06; relTol 0; smoother DICGaussSeidel; nCellsInCoarsestLevel 10; mergeLevels 1; agglomerator faceAreaPair; cacheAgglomeration true; nPreSweeps 2; nPostSweeps 2; nFinestSweeps 2; scaleCorrection true; directSolveCoarsest false; } } // using new solver syntax: U { solver smoothSolver; tolerance 1e-06; relTol 0; smoother GaussSeidel; nSweeps 1; } // using new solver syntax: cellMotionU { solver PCG; preconditioner DIC; tolerance 1e-05; relTol 0; } Read mesh in = 1.48 s Overall mesh bounding box : (-3 -3 -3) (3 3 2) Relative tolerance : 1e-06 Absolute matching distance : 9.84886e-06 Cannot find file "" in directory "constant/triSurface" From function Time::findInstance(const fileName&, const word&, const IOobject::readOption) in file db/Time/findInstance.C at line 148. FOAM exiting So I think here "Hull" patch is not recognized and in file shipFoam.log it gives segmentation fault error and mentiones "Cannot find any patch names matching Hull". Here is the shipFoam.log Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 1.6-53b7f692aa41 Exec : shipFoam Date : Dec 03 2013 Time : 02:57:53 Host : maryam-desktop PID : 3009 Case : /home/maryam/OpenFOAM/shipHydrodynamicIG-master/tutorials/shipFoam/roll nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Selecting dynamicFvMesh dynamicMotionSolverFvMesh // using new solver syntax: pcorr { solver PCG; tolerance 1e-06; relTol 0; preconditioner { preconditioner GAMG; tolerance 1e-06; relTol 0; smoother DICGaussSeidel; nCellsInCoarsestLevel 10; mergeLevels 1; agglomerator faceAreaPair; cacheAgglomeration false; nPreSweeps 0; nPostSweeps 2; nFinestSweeps 2; scaleCorrection true; directSolveCoarsest false; } } // using new solver syntax: p { solver GAMG; tolerance 1e-06; relTol 0; smoother DIC; nCellsInCoarsestLevel 10; mergeLevels 1; agglomerator faceAreaPair; cacheAgglomeration true; nPreSweeps 0; nPostSweeps 2; nFinestSweeps 2; scaleCorrection true; directSolveCoarsest false; } // using new solver syntax: pFinal { solver PCG; tolerance 1e-06; relTol 0; preconditioner { preconditioner GAMG; tolerance 1e-06; relTol 0; smoother DICGaussSeidel; nCellsInCoarsestLevel 10; mergeLevels 1; agglomerator faceAreaPair; cacheAgglomeration true; nPreSweeps 2; nPostSweeps 2; nFinestSweeps 2; scaleCorrection true; directSolveCoarsest false; } } // using new solver syntax: U { solver smoothSolver; tolerance 1e-06; relTol 0; smoother GaussSeidel; nSweeps 1; } // using new solver syntax: cellMotionU { solver PCG; preconditioner DIC; tolerance 1e-05; relTol 0; } Selecting motion solver: velocityLaplacian Selecting motion diffusion: quadratic Selecting motion diffusion: inverseDistance --> FOAM Warning : From function polyBoundaryMesh::patchSet(const wordList&) in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 428 Cannot find any patch names matching Hull Reading g Reading field p Reading field alpha1 Reading field U Reading/calculating face flux field phi Reading transportProperties Selecting incompressible transport model Newtonian Selecting incompressible transport model Newtonian Selecting turbulence model type RASModel Selecting RAS turbulence model laminar time step continuity errors : sum local = 0, global = 0, cumulative = 0 GAMGPCG: Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0 GAMGPCG: Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 0, global = 0, cumulative = 0 Courant Number mean: 0 max: 0 motionPatches : 1 ( Hull ) Spring coefficients are updated every 25 timesteps. Selecting ODE solver RK Starting time loop Courant Number mean: 0 max: 0 deltaT = 0.00119048 Time = 0.00119048 --> FOAM Warning : From function polyBoundaryMesh::patchSet(const wordList&) in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 428 Cannot find any patch names matching Hull DICPCG: Solving for cellMotionUx, Initial residual = 0, Final residual = 0, No Iterations 0 DICPCG: Solving for cellMotionUy, Initial residual = 0, Final residual = 0, No Iterations 0 DICPCG: Solving for cellMotionUz, Initial residual = 0, Final residual = 0, No Iterations 0 Execution time for mesh.update() = 1.63 s time step continuity errors : sum local = 0, global = 0, cumulative = 0 GAMGPCG: Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0 GAMGPCG: Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 0, global = 0, cumulative = 0 MULES: Solving for alpha1 MULES: Solving for alpha1 Liquid phase volume fraction = 0.6 Min(alpha1) = 0 Max(alpha1) = 1 smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 4.07894e-11, No Iterations 2 smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 4.33486e-11, No Iterations 2 smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 8.83969e-07, No Iterations 1 GAMG: Solving for p, Initial residual = 1, Final residual = 8.02023e-07, No Iterations 12 GAMG: Solving for p, Initial residual = 7.27861e-09, Final residual = 7.27861e-09, No Iterations 0 Relaxation: p = 0.2 time step continuity errors : sum local = 8.91921e-10, global = -3.87101e-10, cumulative = -3.87101e-10 GAMG: Solving for p, Initial residual = 0.0350296, Final residual = 5.76441e-07, No Iterations 8 GAMG: Solving for p, Initial residual = 1.19759e-07, Final residual = 1.19759e-07, No Iterations 0 Relaxation: p = 0.2 time step continuity errors : sum local = 1.46402e-08, global = -6.25832e-09, cumulative = -6.64542e-09 GAMG: Solving for p, Initial residual = 0.0158985, Final residual = 5.64018e-07, No Iterations 7 GAMGPCG: Solving for p, Initial residual = 2.06908e-07, Final residual = 2.06908e-07, No Iterations 0 Relaxation: p = 0.2 time step continuity errors : sum local = 2.52498e-08, global = -1.06459e-08, cumulative = -1.72913e-08 #0 Foam::error::printStack(Foam::Ostream&) in "/home/maryam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::sigSegv::sigSegvHandler(int) in "/home/maryam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: #3 Foam::tmp<Foam::Field<Foam::innerProduct<Foam::Tensor<double>, Foam::Vector<double> >::type> > Foam::operator&<Foam::Tensor<double>, double, 9, Foam::Vector<double> >(Foam::VectorSpace<Foam::Tensor<double>, double, 9> const&, Foam::UList<Foam::Vector<double> > const&) in "/home/maryam/OpenFOAM/maryam-1.6/applications/bin/linuxGccDPOpt/shipFoam" #4 in "/home/maryam/OpenFOAM/maryam-1.6/applications/bin/linuxGccDPOpt/shipFoam" #5 in "/home/maryam/OpenFOAM/maryam-1.6/applications/bin/linuxGccDPOpt/shipFoam" #6 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #7 in "/home/maryam/OpenFOAM/maryam-1.6/applications/bin/linuxGccDPOpt/shipFoam" Segmentation fault I appreciate your help and anyother help. I really need this work. Thanks Best |
|
December 2, 2013, 12:51 |
|
#16 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 13 |
Besides, about navalFoam I ran the tutorials. the procedures are Ok until running navalFoam.
It says: --> FOAM FATAL ERROR: Unknown AMG policy AAMG Valid AMG policies are : 1 ( PAMG ) There's no AAMG policy defined in my OpenFOAM1.6-ext that is used in fvSolution. Can I download it? or Can I change it to PAMG? Thanks Best |
|
December 8, 2013, 14:47 |
|
#17 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Maryam,
AAMG was taken out due to some crazy issues with ANSYS: http://www.cfd-online.com/Forums/ope...tml#post432005 post #51. Therefore, you can try PAMG, but I have no clue if it will work. As for the other issue with shipFoam, I won't be able to look into this before the 25th of December. Best regards, Bruno
__________________
|
|
December 10, 2013, 05:11 |
|
#18 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 13 |
Hi Bruno
Thanks for reply. So it sounds important for ANSYS I ran the tutrorial with PAMG. Although I can't get a vision how exact would be the results compared with AAMG. About shipFoam I added an empty folder in contast directory, named it:triSurface and it started to work. Also I added turbulence properties and restraints which worked. Then I tried to change the size of the box. As for floatingObject tutorial in official version that crashes by changing the size,it run very slowly and then crashed. But it seems others have used it with no problem. where am I wrong?! I'm afraid navalFoam has the same problem. Best regards Maryam |
|
December 13, 2013, 09:39 |
|
#19 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 13 |
Thanks, I got it work
|
|
March 2, 2014, 08:08 |
|
#20 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
A wiki page is finally available for this precious toolkit: http://openfoamwiki.net/index.php/Ex...s/ShipHydroSIG Keep in mind that anyone and everyone is welcome to contribute, either to the wiki or by creating+sharing forks of the source code. Best regards, Bruno
__________________
|
|
|
|
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 |