CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[waves2Foam] setWaveField: command not found

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By ngj

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2017, 20:05
Default setWaveField: command not found
  #1
New Member
 
Masoumeh Gharaati
Join Date: Apr 2017
Posts: 19
Rep Power: 6
mgharaati is on a distinguished road
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
Would you please help me?
mgharaati is offline   Reply With Quote

Old   November 25, 2017, 08:59
Default
  #2
New Member
 
Hao Chen
Join Date: Nov 2017
Location: Manchester, UK
Posts: 10
Rep Power: 6
cfd_hchen is on a distinguished road
Quote:
Originally Posted by mgharaati View Post
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
Would you please help me?
Hi Masoumeh

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
cfd_hchen is offline   Reply With Quote

Old   November 25, 2017, 11:40
Default
  #3
New Member
 
Masoumeh Gharaati
Join Date: Apr 2017
Posts: 19
Rep Power: 6
mgharaati is on a distinguished road
Quote:
Originally Posted by cfd_hchen View Post
Hi Masoumeh

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
I have attached the log file. Thank you so much.
Attached Files
File Type: zip log_.zip (2.3 KB, 16 views)
mgharaati is offline   Reply With Quote

Old   November 26, 2017, 08:05
Default
  #4
New Member
 
Hao Chen
Join Date: Nov 2017
Location: Manchester, UK
Posts: 10
Rep Power: 6
cfd_hchen is on a distinguished road
Quote:
Originally Posted by mgharaati View Post
I have attached the log file. Thank you so much.
Hi,

You did not compile waves2foam successfully. You need some dependencies (GSL lib) in order to install waves2foam. Make sure they are installed before you compile waves2foam.

Hao
cfd_hchen is offline   Reply With Quote

Old   November 27, 2017, 09:48
Default
  #5
New Member
 
Masoumeh Gharaati
Join Date: Apr 2017
Posts: 19
Rep Power: 6
mgharaati is on a distinguished road
Quote:
Originally Posted by cfd_hchen View Post
Hi,

You did not compile waves2foam successfully. You need some dependencies (GSL lib) in order to install waves2foam. Make sure they are installed before you compile waves2foam.

Hao

Thank you so much.
mgharaati is offline   Reply With Quote

Old   October 23, 2021, 21:07
Default setWaveField: command not found
  #6
New Member
 
AUbuntu
Join Date: Oct 2021
Posts: 4
Rep Power: 2
AUbuntu is on a distinguished road
Hi
I installed all third-party dependencies on Foam-extend 4.0.
  • GNU Scientific Library (GSL) -> libgsl2-dev
  • Subversion (SVN)
  • git
  • gfortran
During the waves2Foam compile-preprocessing I received an error:



PHP Code:
sampleIncidentWaveField.C:37:18fatal errorTime.HNo such file or directory 


when the compilation is finished.
in the tutorial test case: waveFlume
I receives this error:
PHP Code:
setWaveFieldcommand not found 
the Foam can recognize the other commands such as setWaveProperties!

Could someone help me to solve this please.

Regards

Last edited by AUbuntu; October 24, 2021 at 06:35.
AUbuntu is offline   Reply With Quote

Old   October 24, 2021, 07:38
Default
  #7
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,889
Rep Power: 34
ngj will become famous soon enoughngj will become famous soon enough
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
AUbuntu likes this.
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   October 24, 2021, 09:24
Default
  #8
New Member
 
AUbuntu
Join Date: Oct 2021
Posts: 4
Rep Power: 2
AUbuntu is on a distinguished road
Quote:
I have committed small changed in SVN revision 2151 and waves2Foam now compiles on foam-extend-4.0.

Many thanks for your swift reply. it is working now.


Quote:
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.

I appreciate it. I will consider it.


Regards
AUbuntu is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 17:33.