|
[Sponsors] |
[waves2Foam] waves2Foam compilation steps on Ubuntu 22.04 with OpenFOAM 2206 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 29, 2024, 10:11 |
waves2Foam compilation steps on Ubuntu 22.04 with OpenFOAM 2206
|
#1 |
New Member
abdulsalam musaad
Join Date: Mar 2024
Posts: 8
Rep Power: 2 |
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! |
|
May 22, 2024, 05:17 |
waves2Foam Compilation with openfoam v2312
|
#2 |
New Member
abdulsalam musaad
Join Date: Mar 2024
Posts: 8
Rep Power: 2 |
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 |
|
July 19, 2024, 02:54 |
|
#3 |
New Member
Join Date: Nov 2022
Posts: 4
Rep Power: 3 |
amazing job, thanks so much
|
|
October 20, 2024, 18:14 |
|
#4 |
Member
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 86
Rep Power: 11 |
Nice job
Is there any news about compatibility with new versions (the 2406 for example)? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |