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

[waves2Foam] trying to install the waves2Foam toolbox with OpenFoam 2.3.0

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2014, 08:22
Default trying to install the waves2Foam toolbox with OpenFoam 2.3.0
  #1
New Member
 
andrew odonnell
Join Date: Jun 2014
Posts: 8
Rep Power: 10
andr5w5 is on a distinguished road
Hi there,

I am very new to OpenFoam and Linux and I have trying to install the waves2Foam toolbox. I am using OpenFoam 2.3.0 and so I have followed the steps on the wiki page to copy the "interFoam" folder into the waves2foam solvers folder and to change the waveFoam.C, createFields.H, the make/files and the make/options files. I have also changed the Path in the bashrc file to the correct location of the toolbox.

However when I try to run the waveFlume tutorial via "./Allrun" I get the following error message in the log.postProcessWaves2Foam file:

" /opt/openfoam230/bin/tools/RunFunctions: line 52: postProcessWaves2Foam: command not found "

I also get similar error message in the other log files except from the blockMesh file!

Can anyone tell me where I have went wrong?

Many thanks in advance.
andr5w5 is offline   Reply With Quote

Old   June 30, 2014, 17:07
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,895
Rep Power: 36
ngj will become famous soon enoughngj will become famous soon enough
Good evening,

@Andrew: Either your compilation was unsuccessful for some reason, or the solvers and utilities are not in your search path. You do not need to make waveFoam yourself, as it is already there for 2.3.0. Furthermore, note that the guidelines are outdated, as is also explicitly stated on the wiki, but they do show the general idea.

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.

Last edited by wyldckat; October 8, 2018 at 10:22. Reason: removed answer to another post that was on the main thread
ngj is offline   Reply With Quote

Old   June 30, 2014, 20:12
Default
  #3
New Member
 
andrew odonnell
Join Date: Jun 2014
Posts: 8
Rep Power: 10
andr5w5 is on a distinguished road
Hi Niels,

So the interFoam folder does not need to be copied over into a new solvers "solvers21" folder ?

I will try to play around with this more this morning and hopefully have more success than Ive had the last few days.

Thanks for your reply.
andr5w5 is offline   Reply With Quote

Old   July 1, 2014, 08:36
Default
  #4
New Member
 
andrew odonnell
Join Date: Jun 2014
Posts: 8
Rep Power: 10
andr5w5 is on a distinguished road
Sorry to bother you again with what I'm sure is a silly mistake on my part but I still cant seem to get the compilation to work without errors.

It seems the problem lies in the "COMPILE LIBRARY" part of the code where I continue to get an error message stating:

" /bin/sh: 1: g+: not found
make: *** [/home/andrew/OpenFOAM/andrew-2.3.0/platforms/linuxGccDPOpt/lib/libwaves2Foam.so] Error 127"

I have made sure that g++ is installed, is there an error that the program is looking for "g+" and not "g++" ?

Thanks.
andr5w5 is offline   Reply With Quote

Old   July 5, 2014, 09:47
Default
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,895
Rep Power: 36
ngj will become famous soon enoughngj will become famous soon enough
Good afternoon,

@Andrew: I have no idea, why you are getting that error. Best of luck.

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.

Last edited by wyldckat; October 8, 2018 at 10:20. Reason: removed answer to another post that was on the main thread
ngj 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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
[OpenFOAM.com] Docker OpenFOAM install error on Mac OS X dersh OpenFOAM Installation 10 May 6, 2016 12:49
[OpenFOAM.org] Installation notes: OpenFOAM 2.3.x (git repo) on OSX 10.9 opedrofunk OpenFOAM Installation 7 July 1, 2015 13:51
[OpenFOAM.org] How to remove manually installed OpenFOAM 2.3.0? sisi OpenFOAM Installation 2 December 23, 2014 10:09
How to install OpenFOAM 2.3.0 into a cluster based on centOS linux eddykendo OpenFOAM Installation 1 June 16, 2014 08:52


All times are GMT -4. The time now is 07:44.