|
[Sponsors] |
November 26, 2014, 17:09 |
waveDyMfoam building error on OF 2.3.x
|
#1 |
Member
Jean-Michel FONTAINE
Join Date: Aug 2009
Location: Orleans - France
Posts: 55
Rep Power: 17 |
Dear all
I attempt to couple waveFoam and interDyMfoam, as described here : https://sites.google.com/site/jordim...ic-mesh-motion wavesfoam builds and run easily (many thanks to the developpers !). wavesFoam build directory is : /OpenFOAM/<user>/applications/utilities/waves2Foam/applications/solvers/solvers230/waveFoam I copied 'interDyMfoam' in there, renamed it as 'waveDyMFoam', modified 'waveDyMFoam.C' according the instructions above. 'waveDyMfoamMake/options' content is: Code:
EXE_INC = \ -I.. \ -I$(LIB_SRC)/transportModels/twoPhaseMixture/lnInclude \ -I$(LIB_SRC)/transportModels \ -I$(LIB_SRC)/transportModels/incompressible/lnInclude \ -I$(LIB_SRC)/transportModels/interfaceProperties/lnInclude \ -I$(LIB_SRC)/turbulenceModels/incompressible/turbulenceModel \ -I$(LIB_SRC)/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/dynamicMesh/lnInclude \ -I$(LIB_SRC)/dynamicFvMesh/lnInclude \ -I./../../../../../src/waves2Foam/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/fvOptions/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude EXE_LIBS = \ -limmiscibleIncompressibleTwoPhaseMixture \ -lincompressibleTurbulenceModel \ -lincompressibleRASModels \ -lincompressibleLESModels \ -lfiniteVolume \ -ldynamicMesh \ -ldynamicFvMesh \ -ltopoChangerFvMesh \ -lmeshTools \ -lfvOptions \ -lsampling \ -L$(FOAM_USER_LIBBIN) \ -lwaves2Foam Code:
SOURCE=waveDyMFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I.. -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/twoPhaseMixture/lnInclude -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/transportModels -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/lnInclude -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/interfaceProperties/lnInclude -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/dynamicMesh/lnInclude -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/dynamicFvMesh/lnInclude -I./../../../../../src/waves2Foam/lnInclude -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/fvOptions/lnInclude -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -IlnInclude -I. -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/nous/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/waveDyMFoam.o Code:
waveDyMFoam.C: In function ‘int main(int, char**)’: waveDyMFoam.C:128:21: error: ‘mixture’ was not declared in this scope waveDyMFoam.C:141:13: error: ‘mixture’ was not declared in this scope I've got OF 2.3.x from Git I would be grateful for any help Best wishes Jean-Michel |
|
February 28, 2015, 15:37 |
|
#2 |
Member
carlos
Join Date: Apr 2011
Posts: 37
Rep Power: 15 |
Hi Jean-Michel
I have the same problem with OF231 trying to compile waveDyMFoam. Apparently, mixture did not exist before and was Interface. With interface it compiles but it does not work, so I can not help here, but wait for someone knowledgeable to help. Niels already said he will only actualise to 2.4.0 as there are too many changes, I understand him. Regards, Carlos. |
|
March 3, 2015, 19:07 |
waveDyMfoam building error on OF 2.3.x
|
#3 |
Member
Jean-Michel FONTAINE
Join Date: Aug 2009
Location: Orleans - France
Posts: 55
Rep Power: 17 |
Thanks Carlos for this info
I still need in waveDyMFoamn so I will be patient Best wishes Jean-Michel |
|
March 4, 2015, 07:08 |
|
#4 |
Member
carlos
Join Date: Apr 2011
Posts: 37
Rep Power: 15 |
||
Tags |
building, interdymfoam, wavefoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 15:56 |
Paraview Compiling Error (OpenFOAM 2.1.x + openSUSE 12.2) | sfigato | OpenFOAM Installation | 22 | January 31, 2013 11:16 |
Scaling down a building | faisal_durr | Main CFD Forum | 5 | July 7, 2011 13:02 |
Scaling down a building | faisal_durr | ANSYS Meshing & Geometry | 1 | July 6, 2011 15:39 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 05:55 |