|
[Sponsors] |
[waves2Foam] Compiling problem for waveDyMFoam of waves2Foam in OF 2.3.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 18, 2014, 05:06 |
Compiling problem for waveDyMFoam of waves2Foam in OF 2.3.0
|
#1 |
Member
Join Date: Jul 2010
Posts: 55
Rep Power: 16 |
Hi Everyone,
I am trying to compile waves2foam with OpenFOAM 2.3. I downloaded the latest version. It compiles the waves2foam without any error. But when I modify interDyMFoam -> waveDyMFoam and compile it I get the following error: ************************************************** ***** Making dependency list for source file waveDyMFoam.c SOURCE=waveDyMFoam.c ; gcc -m64 -Dlinux64 -DWM_DP -Wall -O3 -I.. - I/opt/openfoam230/src/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam230/src/transportModels -I/opt/openfoam230/src/transportModels/incompressible/lnInclude -I/opt/openfoam230/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam230/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam230/src/finiteVolume/lnInclude -I/opt/openfoam230/src/dynamicMesh/lnInclude -I/opt/openfoam230/src/dynamicFvMesh/lnInclude -I/opt/openfoam230/src/meshTools/lnInclude -I/opt/openfoam230/src/fvOptions/lnInclude -I/opt/openfoam230/src/sampling/lnInclude -I./../../../../../src/waves2Foam/lnInclude -IlnInclude -I. -I/opt/openfoam230/src/OpenFOAM/lnInclude -I/opt/openfoam230/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/waveDyMFoam.o In file included from /opt/openfoam230/src/OpenFOAM/lnInclude/labelList.H:47:0, from /opt/openfoam230/src/OpenFOAM/lnInclude/UPstream.H:42, from /opt/openfoam230/src/OpenFOAM/lnInclude/Pstream.H:42, from /opt/openfoam230/src/OpenFOAM/lnInclude/parRun.H:35, from /opt/openfoam230/src/finiteVolume/lnInclude/fvCFD.H:4, from waveDyMFoam.c:35: /opt/openfoam230/src/OpenFOAM/lnInclude/label.H:38:19: fatal error: climits: No such file or directory compilation terminated. make: *** [Make/linux64GccDPOpt/waveDyMFoam.o] Error 1 ************************************************** ***** I looked for the label.H file and it is in /opt/openfoam230/src/OpenFOAMprimitives/ints/label I would highly appreciate any suggestion on how to resolve this. Thanks. |
|
December 11, 2014, 10:15 |
Compiling problem for waveDyMFoam of waves2Foam in OF 2.3.0
|
#2 |
Member
Xiantao Zhang
Join Date: Nov 2014
Posts: 31
Rep Power: 12 |
Hi, foamers,
I am trying to compile the waves2Foam toolbox with the OF 2.3.0. However, I have some problems when coupling waves2Foam with dynamic mesh motion. I do this work according to the 3.3 part (http://openfoamwiki.net/index.php/Contrib/waves2Foam). And when compiling the application "waveDyMFoam", some errors occured. 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++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I.. -I/opt/openfoam230/src/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam230/src/transportModels -I/opt/openfoam230/src/transportModels/incompressible/lnInclude -I/opt/openfoam230/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam230/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam230/src/finiteVolume/lnInclude -I/opt/openfoam230/src/dynamicMesh/lnInclude -I/opt/openfoam230/src/dynamicFvMesh/lnInclude -I./../../../../../src/lnInclude -I/opt/openfoam230/src/meshTools/lnInclude -I/opt/openfoam230/src/fvOptions/lnInclude -I/opt/openfoam230/src/sampling/lnInclude -DOFVERSION=220 -DEXTBRANCH=0 -DXVERSION= -I/waves2Foam/lnInclude -I/waves2FoamSampling/lnInclude -I -IlnInclude -I. -I/opt/openfoam230/src/OpenFOAM/lnInclude -I/opt/openfoam230/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/waveDyMFoam.o waveDyMFoam.C:45:28: 致命错误: relaxationZone.H:没有那个文件或目录 Has anyone ever met similar problems?? I need your help. Thanks!!! |
|
December 12, 2014, 22:15 |
|
#3 | |
Member
ALLEN
Join Date: Aug 2014
Posts: 32
Rep Power: 12 |
Quote:
you might need to compile the solver under the waves2Foam directory, otherwise you will probably get the error concerning the failure to find "relaxationZone.H" issue. Another thing, I advice you to have an english language linux as the error reported in Chinese will not be explicit for people to help you. |
||
December 13, 2014, 01:31 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Furthermore, you have followed the guide step-by-step overlooking this bit in the beginning of section 3.3:
NB! The guide is somewhat outdated, but the general idea is the same. The differences are in how to modify the options-file. Please consult existing solvers for inspiration. NB! This warning is the reason that you cannot compile the solver. Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem in compiling fluent UDF lunched from MATLAB | cfdman10 | Fluent UDF and Scheme Programming | 16 | December 5, 2019 06:32 |
[OpenFOAM.com] v1606+ compiling problem with 64-bit labels | Naresh yathuru | OpenFOAM Installation | 4 | November 17, 2016 23:29 |
[OpenFOAM.org] Problem in installing OpenFOAM 2.3.0 !!! | omid20110 | OpenFOAM Installation | 6 | August 1, 2016 12:20 |
C_T(c,t) problem while compiling (OK interpreted) | crevoise | Fluent UDF and Scheme Programming | 6 | February 4, 2014 08:16 |
Problem with compiling new solver | palazi88 | OpenFOAM Programming & Development | 2 | December 24, 2013 20:52 |