CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[waves2Foam] Problem Compiling WaveDyMFoam in OF 3.0.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2017, 19:54
Default Problem Compiling WaveDyMFoam in OF 3.0.1
  #1
New Member
 
Pablo Medina
Join Date: Dec 2016
Posts: 1
Rep Power: 0
Pablo M is on a distinguished road
Hi
First of all thanks for the development and support of this tool. I've already solved several problems with some of the post in here. My aim is to simulate a floating body figuring a Wave Energy Converter. For that I want to use waves2Foam with waveDyMFoam solver

1.- I'm running OpenFoam 3.0.1 in Ubuntu 16.04 LTS
2.- Compilation of waves2Foam seems to be OK (Except a final message saying "Nothing for compilation avalaible in the breeder" which I don't really understand)
3.- Tutorials seem to run Ok with waveFoam solver distributed with waves2Foam

Trying to modify the interDyMFoam to waveDyMFoam i get the following error message executing wmake

Making dependency list for source file waveDyMFoam.C
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I.. -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/transportModels/twoPhaseMixture/lnInclude -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/transportModels -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/transportModels/incompressible/lnInclude -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/transportModels/interfaceProperties/lnInclude -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/TurbulenceModels/incompressible/lnInclude -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/finiteVolume/lnInclude -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/dynamicMesh/lnInclude -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/dynamicFvMesh/lnInclude -I/home/pablo/OpenFOAM/pablo-3.0.1/applications/utilities/waves2Foam/src/waves2Foam/lnInclude -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/meshTools/lnInclude -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/fvOptions/lnInclude -IlnInclude -I. -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/OpenFOAM/lnInclude -I/home/pablo/OpenFOAM/OpenFOAM-3.0.1/src/OSspecific/POSIX/lnInclude -fPIC -c waveDyMFoam.C -o Make/linux64GccDPInt64Opt/waveDyMFoam.o
waveDyMFoam.C: In function ‘int main(int, char**)’:
waveDyMFoam.C:134:28: error: ‘ghRef’ was not declared in this scope
gh = (g & mesh.C()) - ghRef;

^
/home/pablo/OpenFOAM/OpenFOAM-3.0.1/wmake/rules/General/transform:8: fallo en las instrucciones para el objetivo 'Make/linux64GccDPInt64Opt/waveDyMFoam.o'
make: *** [Make/linux64GccDPInt64Opt/waveDyMFoam.o] Error 1

I've found a couple of mentions regarding this issue in the treah but I am not sure of what to do to solve it properly.
Any tip would be helpful.
Pablo M.
Pablo M is offline   Reply With Quote

Old   April 26, 2017, 13:01
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good evening,

I will quickly answer on the breeder. There is an implementation available for mooring lines for version 1606+. It is placed in breeder, because it is not available on all OF versions. There is also a tool that allow for visualisation of the lines.

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.
ngj is offline   Reply With Quote

Reply


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
problem during compiling UDF ned.musab Fluent UDF and Scheme Programming 1 October 11, 2017 11:48
problem about compiling meltFoam wumin OpenFOAM Programming & Development 4 June 23, 2017 17:16
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
COMPILING PROBLEM ammi FLUENT 1 December 7, 2006 05:07


All times are GMT -4. The time now is 08:20.