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

[waves2Foam] Trying to compile the Wave2Foam tools in the OF-3.0.1

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 20, 2016, 10:17
Default Trying to compile the Wave2Foam tools in the OF-3.0.1
  #2
New Member
 
Pierre-Henri Musiedlak
Join Date: Dec 2015
Posts: 11
Rep Power: 10
phmusi is on a distinguished road
Hello everyone,

After a bit of struggle, I want to share with you the way I manage to compile waves2Foam with openFOAM 3.0.1 (which is the one recommended nowadays by openfoam.org)

- Error in solver 301 " No solver 301"
=> change name of the folder waves2foam/applications/solvers/solver300 to solver301

Then I get a second error in compiling the solvers waveFoam "ld permission denied in the directory /opt/openfoam30/platforms/linux64GccDPInt32Opt/bin/"
=> before running the ./Allwmake :
Code:
sudo chown -R username:username /path/to/the/directory
(more info on: http://askubuntu.com/questions/46660...mission-denied

example for me:
Code:
sudo chown -R phmusi:phmusi /opt/openfoam30/platforms/linux64GccDPInt32Opt/bin/
Now everything seems to compile correctly

Then in order to run the tutorial waveFoam/waveFlume, add the line:
Code:
div(((rho*nuEff)*dev2(T(grad(U)))))

in the dictionary system/fvSchemes.divSchemes
like in the damBreak user-guide: http://cfd.direct/openfoam/user-guide/dambreak/

Cheers

Last edited by wyldckat; August 25, 2018 at 08:47. Reason: Added [CODE][/CODE] markers
phmusi is offline   Reply With Quote

 


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
[waves2Foam] How to compile waveDyMFoam in openfoam 3.0.1 Yage OpenFOAM Community Contributions 0 January 8, 2017 08:41
[OpenFOAM.org] Failed to compile OpenFOAM 3.0.1 with icc xuegy OpenFOAM Installation 1 July 13, 2016 16:03
New Tools Section pete Site News & Announcements 0 April 9, 2011 18:32
PV3FoamReader compile error.... PEM_GUY OpenFOAM Installation 6 April 5, 2010 17:22
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51


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