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

compiling waveDyMFoam solver with wmake

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 16, 2016, 10:24
Default compiling waveDyMFoam solver with wmake
  #1
New Member
 
Anna
Join Date: Jan 2016
Posts: 24
Rep Power: 3
Anna.Mozhgani is on a distinguished road
Dear Friends
I am trying to compile waveDyMFoam with interDyMFoam. Although I have followed the steps written on the wiki, I encounter some problems. The compilation has not completed yet and I do not know how to solve the problem. I would be very grateful if you help me.

shima@shima:~/OpenFOAM/shima-2.4.0/applications/utilities/waves2Foam/applications/solvers/solvers240/waveFoam/waveDyMFoam$ wmake
Making dependency list for source file waveDyMFoam.C
could not open file relaxationZone.H for source file waveDyMFoam.C due to No such file or directory
could not open file readWaveProperties.H for source file waveDyMFoam.C due to No such file or directory
SOURCE=waveDyMFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I.. -I/opt/openfoam240/src/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam240/src/transportModels -I/opt/openfoam240/src/transportModels/incompressible/lnInclude -I/opt/openfoam240/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam240/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam240/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/opt/openfoam240/src/finiteVolume/lnInclude -I/opt/openfoam240/src/dynamicMesh/lnInclude -I/opt/openfoam240/src/dynamicFvMesh/lnInclude -I./../../../../../src/waves2Foam/lnInclude -I/opt/openfoam240/src/meshTools/lnInclude -I/opt/openfoam240/src/fvOptions/lnInclude -I/opt/openfoam240/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam240/src/OpenFOAM/lnInclude -I/opt/openfoam240/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/waveDyMFoam.o
waveDyMFoam.C:47:28: fatal error: relaxationZone.H: No such file or directory
#include "relaxationZone.H"

^
compilation terminated.
make: *** [Make/linuxGccDPOpt/waveDyMFoam.o] Error 1

Best Regards
Anna
Anna.Mozhgani is offline   Reply With Quote

Old   October 18, 2016, 16:29
Default
  #2
Senior Member
 
Ehsan Asgari
Join Date: Apr 2010
Posts: 312
Rep Power: 10
syavash is on a distinguished road
Quote:
Originally Posted by Anna.Mozhgani View Post
Dear Friends
I am trying to compile waveDyMFoam with interDyMFoam. Although I have followed the steps written on the wiki, I encounter some problems. The compilation has not completed yet and I do not know how to solve the problem. I would be very grateful if you help me.

shima@shima:~/OpenFOAM/shima-2.4.0/applications/utilities/waves2Foam/applications/solvers/solvers240/waveFoam/waveDyMFoam$ wmake
Making dependency list for source file waveDyMFoam.C
could not open file relaxationZone.H for source file waveDyMFoam.C due to No such file or directory
could not open file readWaveProperties.H for source file waveDyMFoam.C due to No such file or directory
SOURCE=waveDyMFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I.. -I/opt/openfoam240/src/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam240/src/transportModels -I/opt/openfoam240/src/transportModels/incompressible/lnInclude -I/opt/openfoam240/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam240/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam240/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/opt/openfoam240/src/finiteVolume/lnInclude -I/opt/openfoam240/src/dynamicMesh/lnInclude -I/opt/openfoam240/src/dynamicFvMesh/lnInclude -I./../../../../../src/waves2Foam/lnInclude -I/opt/openfoam240/src/meshTools/lnInclude -I/opt/openfoam240/src/fvOptions/lnInclude -I/opt/openfoam240/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam240/src/OpenFOAM/lnInclude -I/opt/openfoam240/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/waveDyMFoam.o
waveDyMFoam.C:47:28: fatal error: relaxationZone.H: No such file or directory
#include "relaxationZone.H"

^
compilation terminated.
make: *** [Make/linuxGccDPOpt/waveDyMFoam.o] Error 1

Best Regards
Anna
Hi Anna,

It is complaining that relaxationZone.H cannot be found within classes and libraries you have provided in Make/options. You should look for the folder containing that class and include it in the options.

Syavash
syavash is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PEMFC model with FLUENT brahimchoice FLUENT 17 August 21, 2017 04:32
wmake compiling new solver mksca OpenFOAM Programming & Development 13 August 18, 2014 22:26
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 13 May 26, 2014 09:05
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
ParaFoam error message joey OpenFOAM Paraview & paraFoam 1 October 2, 2006 13:28


All times are GMT -4. The time now is 00:13.