CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

waveDyMfoam building error on OF 2.3.x

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2014, 17:09
Default waveDyMfoam building error on OF 2.3.x
  #1
jmf
Member
 
Jean-Michel FONTAINE
Join Date: Aug 2009
Location: Orleans - France
Posts: 55
Rep Power: 17
jmf is on a distinguished road
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
The wmake log file is:
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
The compilation error is :
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
The waveDyMFoam.C is attached


I've got OF 2.3.x from Git
I would be grateful for any help

Best wishes


Jean-Michel
Attached Files
File Type: c waveDyMFoam.C (4.8 KB, 17 views)
jmf is offline   Reply With Quote

Old   February 28, 2015, 15:37
Default
  #2
Member
 
carlos
Join Date: Apr 2011
Posts: 37
Rep Power: 15
CFD-Palma is on a distinguished road
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.
CFD-Palma is offline   Reply With Quote

Old   March 3, 2015, 19:07
Default waveDyMfoam building error on OF 2.3.x
  #3
jmf
Member
 
Jean-Michel FONTAINE
Join Date: Aug 2009
Location: Orleans - France
Posts: 55
Rep Power: 17
jmf is on a distinguished road
Thanks Carlos for this info
I still need in waveDyMFoamn so I will be patient

Best wishes

Jean-Michel
jmf is offline   Reply With Quote

Old   March 4, 2015, 07:08
Default
  #4
Member
 
carlos
Join Date: Apr 2011
Posts: 37
Rep Power: 15
CFD-Palma is on a distinguished road
Hi Jean-Michel,

I have solved, see this post:
http://www.cfd-online.com/Forums/ope...tml#post533884
CFD-Palma is offline   Reply With Quote

Reply

Tags
building, interdymfoam, wavefoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 04:36.