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 Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2024, 09:11
Default waves2Foam compilation steps on Ubuntu 22.04 with OpenFOAM 2206
  #1
New Member
 
abdulsalam musaad
Join Date: Mar 2024
Posts: 7
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

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
[waves2Foam] Compilation on Ubuntu 22.04 Felix_Sp OpenFOAM Community Contributions 5 April 28, 2024 07:14
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11: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 14:30
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 06:15
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 04:56


All times are GMT -4. The time now is 03:50.