|
[Sponsors] |
[waves2Foam] Errors in compiling waves2Foam on OpenFOAMv1906 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 9, 2019, 22:26 |
Errors in compiling waves2Foam on OpenFOAMv1906
|
#1 | |
New Member
Zhou Zhang
Join Date: Jan 2019
Location: Ann Arbor, Michigan
Posts: 3
Rep Power: 7 |
When I try to install waves2foam on OpenFOAMv1906, there is an error message:
Quote:
|
||
September 22, 2019, 16:36 |
|
#2 | |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12 |
Quote:
You cannot have two definitions of the same function. It seems the new OpenFOAM version added new functions for complex type objects which already exist in waves2foam. Is it possible to modify waves2foam to remove Foam::complex exp() thereat? In new version of waves2foam, there might be refactoring in their code, so that this duplication can be removed. Is it possible for you to issue a bug ticket in waves2foam?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
||
September 23, 2019, 20:24 |
|
#3 | |
New Member
Zhou Zhang
Join Date: Jan 2019
Location: Ann Arbor, Michigan
Posts: 3
Rep Power: 7 |
Quote:
Thank you for your reply! I understand that the error was coming from the redefinition of an existing function in the new version of OpenFOAM. I have checked the waves2foam website on OpenFOAMWiki (https://openfoamwiki.net/index.php/Contrib/waves2Foam) and found in the source code history that even the newest version of waves2foam has not been compatible with OpenFOAMv1906 yet. So it is reasonable that such error occurs. Now I have turned to an older version of OpenFOAM and the installation of waves2foam went well. Thanks, Zhou |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 5, 2023 23:48 |
How to use PIMPLE properly? | floquation | OpenFOAM Running, Solving & CFD | 25 | December 2, 2021 09:40 |
p_rgh initial residual no change with different settings | manuc | OpenFOAM Running, Solving & CFD | 3 | June 26, 2018 15:53 |
compiling error(s) in a modified twoPhaseEulerFoam solver | foamer | OpenFOAM | 14 | June 20, 2014 08:51 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 03:34 |