shipHydrodynamicIG in OF 1.7.1
Hi, i m trying to compile the shipHydrodynamicIG solver in OF 1.7.1 (Ubuntu packages)
http://openfoam-extend.svn.sourcefor...ydrodynamicIG/ But i have these errors Code:
SOURCE=shipFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/opt/openfoam171/applications/solvers/multiphase/interFoam -I/opt/openfoam171/src/transportModels -I/opt/openfoam171/src/transportModels/incompressible/lnInclude -I/opt/openfoam171/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam171/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam171/src/finiteVolume/lnInclude -I/opt/openfoam171/src/dynamicMesh/lnInclude -I/opt/openfoam171/src/meshTools/lnInclude -I/opt/openfoam171/src/dynamicFvMesh/lnInclude -I/opt/openfoam171/src/sampling/lnInclude -I/opt/openfoam171/src/ODE/lnInclude -IrotationMatrix -ImotionODE -IbodyMotion -IwriteMotionFile -IlnInclude -I. -I/opt/openfoam171/src/OpenFOAM/lnInclude -I/opt/openfoam171/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/shipFoam.o |
Hi,
you try to use parts from the DEV- or EXTEND-guys (Version 1.6) with the very latest OpenFOAM (Version 1.7.1) from the OpenCFD guys. => OpenCFD does not assure "backward" compatiblity to older Versions. Sometimes they drop things as they think it is outdated stuff. This makes some people unhappy that do performance benchmarks for old<->new versions. You have to tweak less code if you stay on the same Version number. Sometimes it is wise to ask if this stuff uses stuff from DEV/EXTEND-Version like GGI for example. => Stuff that never made it into OpenCFD OpenFOAM Version. |
To be fair that code (2008) is a "a bit older" than 1.6 ;-)
|
Quote:
I've been looking in this solver too. When you go into shipFoam.C you can find lines 141 and 142 hidden. Remove the "//" and the error is vanished. Also add in the same file at line 117 "alphaCourantNo.H" and "CourantNo.H". Furthermore change p into p_rgh. Good luck! Ralph |
@Emanuele: Today I found something with the p and p_rgh thing in ShipFoam. Let me know if you're interested in the compiled version for OF1.7.1.
@All: It would be nice to have a group of people to check/validate this version! Cheers, Ralph |
thanks
thanks for your reply Ralph! Now i m not a current user of OpenFOAM anymore but i ll suggest to test this solver to a hydrodynamic research group wherewith i have worked in the recent past.
Thanks again Regards Emanuele |
Quote:
Ralph |
All times are GMT -4. The time now is 19:17. |