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

[waves2Foam] waves2Foam compilation steps on Ubuntu 22.04 with OpenFOAM 2206

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

Like Tree3Likes
  • 1 Post By AbdoMusaad
  • 2 Post By AbdoMusaad

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2024, 10:11
Default waves2Foam compilation steps on Ubuntu 22.04 with OpenFOAM 2206
  #1
New Member
 
abdulsalam musaad
Join Date: Mar 2024
Posts: 8
Rep Power: 2
AbdoMusaad is on a distinguished road
Dear Foamers,


due to the struggles i faced while compiling waves2Foam, I am summarizing here the steps i did for future reference and for the benefit of other beginners.



1- as of the date of writing this thread, the latest OF version wave2Foam is compatible with is OF v2206. It should be compiled using the gcc and gfortran versions 9. the steps explained in this thread -> Compilation on Ubuntu 22.04 was taken to switch the default versions of gcc and gfortran to version 9. remember to change the default openfoam compiler "WM_COMPILE_CONTROL" to version 9 too.


2- download and specify the gsl location as in the following thread -> waves2Foam on an Ubuntu 18.04 with OpenFOAM 1712



3- follow the steps mention in waves2Foam manual to add the waveDyMFoam solver. a point to add here is that the following lines should be added to the EXE_INC in Make/options.

-I$(FOAM_APP)/solvers/multiphase/VoF \
-I$(WAVES_SOL)/waveFoam \
-DOFVERSION=2206 \
-DEXTBRANCH=0 \
-I$(WAVES_SRC)/waves2Foam/lnInclude \
-I$(WAVES_SRC)/waves2FoamSampling/lnInclude \
-I$(WAVES_GSL_INCLUDE)
a very good explanation can be found here: fatal error: createAlphaFluxes.H: No such file or directory


note: i am not sure if all these steps are needed. these are just the steps i did.



Happy Foaming!
AbdoMusaad is offline   Reply With Quote

Old   May 22, 2024, 05:17
Default waves2Foam Compilation with openfoam v2312
  #2
New Member
 
abdulsalam musaad
Join Date: Mar 2024
Posts: 8
Rep Power: 2
AbdoMusaad is on a distinguished road
applying the steps detailed in the first post of this thread plus the following should get waves2Foam working with openfoam v2312:


1- replace the sampledSurfaceElevation.C in the folder .../waves2Foam/src/waves2FoamSampling2206/surfaceElevation with the attached file here.



2- add the following solvers2312_PLUS folder to .../waves2Foam/applications/solvers
AbdoMusaad is offline   Reply With Quote

Old   July 19, 2024, 02:54
Default
  #3
New Member
 
Join Date: Nov 2022
Posts: 4
Rep Power: 3
huazhongdk@gmail.com is on a distinguished road
amazing job, thanks so much
huazhongdk@gmail.com is offline   Reply With Quote

Old   October 20, 2024, 18:14
Default
  #4
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 86
Rep Power: 11
cyss38 is on a distinguished road
Nice job
Is there any news about compatibility with new versions (the 2406 for example)?
cyss38 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[waves2Foam] Compilation on Ubuntu 22.04 Felix_Sp OpenFOAM Community Contributions 5 April 28, 2024 08:14
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
[OpenFOAM.org] Using OpenFOAM 2.3.0 from Deb pack in Ubuntu 14.04 + ParaView 5 from OpenFOAM 4.1 ad2eb OpenFOAM Installation 12 May 28, 2017 15:30
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 07:15
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 05:56


All times are GMT -4. The time now is 19:34.