|
[Sponsors] |
[waves2Foam] compiler errors with OpenFOAM 3.0.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 18, 2018, 05:49 |
compiler errors with OpenFOAM 3.0.1
|
#1 |
New Member
Simon J S
Join Date: May 2018
Location: Edinburgh
Posts: 11
Rep Power: 7 |
Hi Niels,
waves2Foam seems to be a great tool for ocean hydrodynamics, which is why I decided to work with it for my masters thesis at Heriot-Watt University, Edinburgh. Previous simulations I have run in OpenFoam 5.0, but since waves2Foam does not seem to run on it, I now installed OpenFoam 3.01. When I try to compile the library however, a few errors seem to appear that prevent the installation to run successfully. These start to appear in the section COMPILE SPARSKIT2 Code:
'thirdpartylibs/LIB_VTK_IO/static/lib_vtk_io.mod' -> '/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build/lib_vtk_io.mod' gfortran -O3 -fPIC -ffpe-trap=invalid,zero,overflow -ffree-line-length-none -fstack-protector-all -c src/multigrid/GaussSeidelSpecialPoints.f90 -o /home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build/GaussSeidelSpecialPoints.o -I/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/ThirdParty/OceanWave3D-Fortran90/../build ls: cannot access '*.mod': No such file or directory mv: cannot stat '*.mod': No such file or directory In POST PROCESSING I eventually get the following error Code:
make[1]: Entering directory '/home/simon/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/applications/utilities/postProcessing/postProcessWaves2Foam' Making dependency list for source file postProcessWaves2Foam.C could not open file foamTime.H for source file postProcessWaves2Foam.C due to No such file or directory Cheers, Simon Edit: After running the compiler for a second time I think the main problem arising from the errors, is that the solvers are not installed/compiled. I attached the second log file as well. This is the content of the folder $HOME/OpenFOAM/simon-3.0.1/applications/utilities/waves2Foam/applications/solvers Code:
. solvers170 solvers220 solvers240 solvers310_EXT .. solvers1712_PLUS solvers221 solvers300 solvers320_EXT solvers160 solvers210 solvers222 solvers300_EXT solvers400 solvers1606_PLUS solvers211 solvers230 solvers300_PLUS solvers400_EXT Last edited by oceanFoam; June 18, 2018 at 07:27. |
|
June 19, 2018, 03:07 |
|
#2 | |
New Member
Maoyanjun
Join Date: Jan 2016
Posts: 20
Rep Power: 10 |
Quote:
You can see the details from my Blog in Chinese: wish you could understand Chinese http://maoyanjun.top/2018/01/10/wave...D%BF%E7%94%A8/ |
||
June 19, 2018, 07:19 |
|
#3 | |
New Member
Simon J S
Join Date: May 2018
Location: Edinburgh
Posts: 11
Rep Power: 7 |
Quote:
thanks a lot for your reply. unfortunately I don't read Chinese. However am I right that in your blog you are doing the same thing with the solver1706 file? I tried to compile again with the new folder and am still getting an error when trying to run the waveFlume tutorial case saying that /bin/preProssecing is not executable. Since I cant find that file neither in /bin nor in the /OpenFoam/OpenFoam-3-0-1/bin directory I am afraid that the issues with my installation go a bit further. But thank you so far already! Cheers, Simon |
||
December 12, 2018, 05:30 |
|
#4 |
New Member
Kazakis Ioannis
Join Date: Sep 2016
Location: Thessaloniki, Greece
Posts: 24
Rep Power: 9 |
Dear Simon
Did you have a solution for your problem? I have the same issue with OF4.1. Greetings John |
|
December 12, 2018, 05:33 |
|
#5 | |
New Member
Kazakis Ioannis
Join Date: Sep 2016
Location: Thessaloniki, Greece
Posts: 24
Rep Power: 9 |
Quote:
Dear Simon Did you have a solution for your problem? I have the same issue with OF4.1. Greetings John |
||
January 31, 2020, 06:33 |
|
#6 | |
New Member
Conor Owen
Join Date: Jan 2020
Posts: 2
Rep Power: 0 |
Quote:
What solution was found for this problem, very new to waves2Foam and running into the exact same problem. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 13:21 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 02:34 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 06:55 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |