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

compiling waveDyMFoam on Mac with OF 2.1.x

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2013, 00:00
Default compiling waveDyMFoam on Mac with OF 2.1.x
  #1
Member
 
Join Date: Jul 2010
Posts: 55
Rep Power: 16
ashkan is on a distinguished road
Hi guys,
I have been trying to compile waveDyMFoam on my Mac OSX 10.6.8. I have successfully compiled and tested OpenFOAM 2.1.x. I have also successfully compiled waves2foam.

However when I want to compile waveDyMFoam after following all the instructions I get the following error

pEqn.H:51:13: error: 'sources' was not declared in this scope
/Users/Ashkan/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable 'maxDeltaT' [-Wunused-variable]
make: *** [Make/darwinIntel64Gcc46DPOpt/waveDyMFoam.o] Error 1

I just want to mention as I have OF 2.1.x the waves2foam solver version I used for making waveDyMFoam is solvers210.

I really appreciate any help.

Cheers
Ashkan
ashkan is offline   Reply With Quote

Old   December 17, 2013, 01:56
Default
  #2
Member
 
Join Date: Jul 2010
Posts: 55
Rep Power: 16
ashkan is on a distinguished road
I checked more and noticed the error is in the compilation of the waves2foam. During compiling waves2foam I get this error

Undefined symbols for architecture x86_64:
"Foam::interfaceProperties::interfaceProperties(Fo am::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::IOdictionary const&)", referenced from:
_main in waveFoam.o
"Foam::interfaceProperties::calculateK()", referenced from:
_main in waveFoam.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status

and hence waves2foam solver is not compiled properly.

Any advice?
ashkan is offline   Reply With Quote

Old   December 17, 2013, 02:46
Default
  #3
Member
 
Join Date: Jul 2010
Posts: 55
Rep Power: 16
ashkan is on a distinguished road
I figured out the waves2foam compilation error. I had to add -linterfaceProperties to the waveFoam/Make/option and now this part is resolved and the waveFoam solver is compiled correctly. However, I still have the first issue for waveDyMFoam compilation.

Any help is highly appreciated.
ashkan is offline   Reply With Quote

Old   December 17, 2013, 03:09
Default
  #4
Member
 
Join Date: Jul 2010
Posts: 55
Rep Power: 16
ashkan is on a distinguished road
I resolved the first issue too and managed to compile the waveDyMFoam. I commented out line 51 in ....../solvers210/waveFoam/waveDyMFoam/pEqn.H file (sources.correct(U)).

Anyone knows if it going to affect the simulations, alter the results?
ashkan is offline   Reply With Quote

Reply

Tags
wavedymfoam, waves2foam


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
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 06:34
Paraview Compiling Error (OpenFOAM 2.1.x + openSUSE 12.2) sfigato OpenFOAM Installation 22 January 31, 2013 11:16
Openfoam mac: Compiling custom libraries atareen64 OpenFOAM 3 April 14, 2011 12:01
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
Help: OpenFOAM-1.7 was installed, but compiling paraview-3.8 on Mac failed Qingluan OpenFOAM Installation 1 July 20, 2010 05:48


All times are GMT -4. The time now is 16:01.