|
[Sponsors] |
November 21, 2017, 20:05 |
setWaveField: command not found
|
#1 |
New Member
Masoumeh Gharaati
Join Date: Apr 2017
Posts: 19
Rep Power: 9 |
Dear all
I have faced a problem to install waves2Foam. I followed the instructions according to manual. Then, I tried to run standingwave example from tutorial. These errors happened. HTML Code:
52: setWaveField: command not found52: setWaveParameters: command not found |
|
November 25, 2017, 08:59 |
|
#2 | |
New Member
Hao Chen
Join Date: Nov 2017
Location: Manchester, UK
Posts: 10
Rep Power: 9 |
Quote:
Apparently your waves2foam was not correctly installed, you need to upload the log file in order for other people to help you. Best regards Hao |
||
November 25, 2017, 11:40 |
|
#3 |
New Member
Masoumeh Gharaati
Join Date: Apr 2017
Posts: 19
Rep Power: 9 |
I have attached the log file. Thank you so much.
|
|
November 26, 2017, 08:05 |
|
#4 |
New Member
Hao Chen
Join Date: Nov 2017
Location: Manchester, UK
Posts: 10
Rep Power: 9 |
||
November 27, 2017, 09:48 |
|
#5 |
New Member
Masoumeh Gharaati
Join Date: Apr 2017
Posts: 19
Rep Power: 9 |
||
October 23, 2021, 21:07 |
setWaveField: command not found
|
#6 |
New Member
AUbuntu
Join Date: Oct 2021
Posts: 6
Rep Power: 5 |
Hi
I installed all third-party dependencies on Foam-extend 4.0.
PHP Code:
when the compilation is finished. in the tutorial test case: waveFlume I receives this error: PHP Code:
Could someone help me to solve this please. Regards Last edited by AUbuntu; October 24, 2021 at 06:35. |
|
October 24, 2021, 07:38 |
|
#7 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi,
I have committed small changed in SVN revision 2151 and waves2Foam now compiles on foam-extend-4.0. Please note that the new development with generating-absorbing boundary conditions (see these references: https://www.researchgate.net/publica...WkL2Sdpdu3opqg, https://www.researchgate.net/publica...WkL2Sdpdu3opqg, and https://www.researchgate.net/publica..._sgd%5Bpc%5D=1) does not work on foam-extend, so if you need these and not specifically foam-extend, it might be useful to consider the OpenFoam-ESI version. 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. |
|
October 24, 2021, 09:24 |
|
#8 | ||
New Member
AUbuntu
Join Date: Oct 2021
Posts: 6
Rep Power: 5 |
Quote:
Many thanks for your swift reply. it is working now. Quote:
I appreciate it. I will consider it. Regards |
|||
October 11, 2023, 11:06 |
|
#9 |
New Member
Tom SALIC
Join Date: Jul 2023
Posts: 10
Rep Power: 3 |
Hello,
I know I'm coming three years late to this thread. I've installed all the dependencies and followed the installation protocol meticulously. However, I can't use any of the Wave2Foam functions. I consistently receive the message 'command not found.' I'm using the OpenFOAM ESI v2212 version. Could the problem be related to that? Either way, thank you in advance. I've attached the log file with this message." |
|
January 15, 2024, 05:36 |
|
#10 | |
New Member
wenzhe zhang
Join Date: Jan 2024
Location: madrid
Posts: 8
Rep Power: 2 |
Quote:
I am also facing the same questions, all command can't work. Did you find the solutions? Thx a lot. |
||
January 15, 2024, 06:01 |
|
#11 | |
New Member
Tom SALIC
Join Date: Jul 2023
Posts: 10
Rep Power: 3 |
Quote:
I managed to install it. I took the non-precompiled version 2206. The issue probably stems from the fact that the precompiled version installs in the /usr/lib directory, and Ubuntu restricts writing to these directories. So, I decompiled it in /home/users/, and now it works. |
||
January 15, 2024, 06:08 |
|
#12 |
New Member
wenzhe zhang
Join Date: Jan 2024
Location: madrid
Posts: 8
Rep Power: 2 |
Hi salicTo,
Thank you for your fast reply, I appreciate it. The v2206 you mentioned is OpenFOAM_v2206 or the waves2foam_v2206? Because I am using Openfoam_v2306 and I noticed there is a lack of solvers2306 in waves2foam, so I created one solvers2306_PLUS. However, it still not work anymore. |
|
January 15, 2024, 06:16 |
|
#13 | |
New Member
Tom SALIC
Join Date: Jul 2023
Posts: 10
Rep Power: 3 |
Quote:
|
||
February 17, 2024, 12:52 |
|
#14 | |
New Member
Marion Sant
Join Date: Dec 2023
Posts: 23
Rep Power: 2 |
Quote:
I wil try to use openfoam version 2206,what do you mean when you say it's non-precompiled? If installing the Openfoam version 2206 will it already be installed in /home/users/? |
||
February 19, 2024, 05:12 |
|
#15 |
New Member
wenzhe zhang
Join Date: Jan 2024
Location: madrid
Posts: 8
Rep Power: 2 |
Hi, Edoardo,
I already compiled waves2Foam successfully, the openfoam v2206 is ok to be used for waves2foam currently. But, please note carefully, using the system ubuntu 20.04, not the 22.04. The newest system environment may cause problems when you compile |
|
February 19, 2024, 05:15 |
|
#16 | |
New Member
wenzhe zhang
Join Date: Jan 2024
Location: madrid
Posts: 8
Rep Power: 2 |
Quote:
https://www.cfd-china.com/topic/4499...AE%89%E8%A3%85 https://www.cfd-china.com/topic/4499...AE%89%E8%A3%85 https://zhuanlan.zhihu.com/p/541266216 |
||
February 19, 2024, 05:19 |
|
#17 | |
New Member
Marion Sant
Join Date: Dec 2023
Posts: 23
Rep Power: 2 |
Quote:
I was indeed using ubuntu 22.04. I will now try again with ubuntu 20.04 and let you know if I can make it. Can I also use OpenFOAM-v2012. Just to be sure I'm doing correctly: my OpenFOAM-v2012 is installed in the directory opt/OpenFOAM/OpenFOAM-v2012, while the waves2foam folder will be in /home/edoardoforte/OpenFOAM/edoardoforte-v2012/applications/utilities/waves2Foam. My ~/.bashrc file has the following last line: source /opt/OpenFOAM/OpenFOAM-v2012/etc/bashrc Also,I'using Windows with ubuntu, not linux |
||
February 19, 2024, 08:19 |
|
#18 | |
New Member
Marion Sant
Join Date: Dec 2023
Posts: 23
Rep Power: 2 |
Quote:
Thank you very much! It finally worked. I tried to run a PorouswaveFoam tutorial, it seems to work fine. However, if I try to run a waveFoam tutorial, the waveFoam log file states: /usr/lib/openfoam/openfoam2206/bin/tools/RunFunctions: line 271: waveFoam: command not found, while the other commands are running correctly (setWaveParameters and setWaveFields). I don't think there was any error with the compilation of waves2foam (I will attach the lo file). But I can see that inside the waves2foam folder, the README file states: "3. For versions later than 1.7, please refer to the wiki on how to modify interFoam -> waveFoam." So, I think this could be the problem. Do you know by chance how to solve this? I looked online but didn't find anything |
||
February 20, 2024, 12:24 |
|
#19 |
New Member
wenzhe zhang
Join Date: Jan 2024
Location: madrid
Posts: 8
Rep Power: 2 |
Dear Edoardo,
Sorry, I have no idea what happened on your computer. But if you run wavesFoam and return not found, maybe you don't compile the waves2Foam correctly. Because you are using openfoam.com not openfoam.org, the note version later than 1.7 should not be suitable for your situation. Today I reinstall my PC, and the installation is written down in my personal note, you are welcome to take a look. https://www.overleaf.com/read/dkvdsfdqnjqn#5a7e00 Good luck wenzhe |
|
February 20, 2024, 12:29 |
|
#20 | |
New Member
Marion Sant
Join Date: Dec 2023
Posts: 23
Rep Power: 2 |
Quote:
Thank you for your reply I could solve the problem by enabling modifications to the folder in which waveFoam should be compiled! It seems like it's working now. However, I see that the controlDict file of the tutorials( like waveFlume) the selected application is interFoam, and not waveFoam. Is it normal? |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Insatlling gmsh from the source code-issue? | CFD-Lover | OpenFOAM Meshing & Mesh Conversion | 20 | June 12, 2018 07:39 |
Gmsh installation on terminal help | spitfire | Main CFD Forum | 4 | July 27, 2017 16:11 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |
Problems Installing OF 1.6 32 bit | bucksfan | OpenFOAM Installation | 19 | August 4, 2009 02:36 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03:32 |