|
[Sponsors] |
[waves2Foam] waves2Foam does not run any tutorial |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 17, 2024, 07:23 |
waves2Foam does not run any tutorial
|
#1 |
New Member
Marion Sant
Join Date: Dec 2023
Posts: 23
Rep Power: 2 |
Hello everyone,
I am using Ubuntu 22.04.4 in a Windows 10 system. I am using OpenFOAM-v2012 and trying to use waves2Foam which does not seem to work. I followed the instruction on the installation manual, made sure to have installed all the third party dependencies (although I am not sure in which directory they were installed). I created a ~/OpenFOAM/edoardoforte-v2012/applications/utilities/ directory where I downloaded waves2Foam. The download process went smoothly and at the end I got the message COMPILATION DONE. During the compilation process I saw some red lines stating Error or Warning such as: Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/INTEGER(4)), or Warning: Deleted feature: ASSIGN statement at (1), or Error: More actual than formal arguments in procedure call at (1). However, the compilation went smoothly and did not produce any log.allwMake file. The problem is when I try to run any kind of tutorial, after correctly running blockMesh, log files are produced for every subsequent comman which states: /opt/OpenFOAM/OpenFOAM-v2012/bin/tools/RunFunctions: line 254: setWaveField: command not found Do you know what the source of error could be? I am pretty new to CFD and when I installed openfoam I may have created confusion with the directories, however the tutorials and run that I have tried in OpenFOAM so far have always worked out. Could the problem be that waves2foam is looking for function in the directory /opt/OpenFOAM/OpenFOAM-v2012/bin/tools/RunFunctions while I installed it in the directory ~/OpenFOAM/edoardoforte-v2012/applications/utilities/waves2Foam (as suggested in the manual)? Many thanks in advance Last edited by edo2822; February 17, 2024 at 08:53. |
|
February 17, 2024, 09:23 |
Allwmake log file
|
#2 |
New Member
Marion Sant
Join Date: Dec 2023
Posts: 23
Rep Power: 2 |
Hi,
I will attach the Allwmake log file here. I also tried to download the newest version of OpenFoam 2312, and then download again the waves2foam package. But when I run a tutorial, I get the same error Last edited by edo2822; February 17, 2024 at 11:23. |
|
September 22, 2024, 20:12 |
|
#3 | |
New Member
Sukun Cheng
Join Date: Jul 2023
Posts: 1
Rep Power: 0 |
Quote:
The reason is that waves2foam is developed based on older version of GCC, g++ and gfortran compared with the newer openfoam. Try the following script before install waves2foam apt-get update && apt-get install gcc-9 g++-9 gfortran-9 -y &&\ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 && \ update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 90 && \ update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-9 90 && \ update-alternatives --config gcc && \ update-alternatives --config g++ && \ update-alternatives --config gfortran Sukun |
||
September 23, 2024, 11:43 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
Hi all,
Just this weekend, I committed a small change to the repository (revision 2157) to support GFortran 11. I hope that this helps for everyone. Kind regards Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to run 3dTube tutorial in parallel (solids4foam) | ff99 | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 2 | June 7, 2023 14:37 |
[solids4Foam] Unable to run the flexibleOversetCylinder tutorial case | Divyaprakash | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 6 | May 25, 2023 11:40 |
[blockMesh] Unable to run blockMesh for tutorial "cylinder" in OpenFoam | bharadwaj1729 | OpenFOAM Meshing & Mesh Conversion | 4 | July 22, 2018 13:03 |
[OpenFOAM for Windows] Unable to run cavity tutorial | Vilma62 | OpenFOAM Running, Solving & CFD | 1 | October 22, 2015 19:30 |
Problem wirh Axial_Rotor_SRF tutorial run | sam.ho | OpenFOAM Running, Solving & CFD | 0 | February 6, 2014 06:30 |