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

[foam-extend.org] Ubuntu 14.04, Foam-extend 3.1: "command not found"

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2015, 20:23
Default
  #21
New Member
 
heidi
Join Date: Mar 2015
Posts: 6
Rep Power: 11
wendy987 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick questions:
  1. What where the exact steps you took for downloading and unpacking foam-extend 3.1?
    • Or in other words, what steps did you take for getting the files into the folder "/home/zhhy/foam/foam-extend-3.1/"?
  2. What does this command give you?
    Code:
    ls -l /home/zhhy/foam/foam-extend-3.1/bin/foamCleanPath

Hi wyldckat:
Thank you very much. I download a snapshot (.tgz) of the source code from:
http://sourceforge.net/projects/open...am-extend-3.1/
then unpack.
I git clone git://git.code.sf.net/p/openfoam-extend/foam-extend-3.1, then the foam-exted-3.1 can be compiled successfully! I don't why?
but the new problem come, when i run the tutorial, blockMesh, the error show: command not found. When i install the OpenFOAM2.4.0, the paraview has been installed. the paraview need reinstall? what can i do next? Thank you very much!!
wendy987 is offline   Reply With Quote

Old   October 31, 2015, 07:18
Default
  #22
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: Please follow the instructions I wrote in post #5: http://www.cfd-online.com/Forums/ope...tml#post558995 - post #5, then continue reading the posts for more details.

Last edited by wyldckat; October 31, 2015 at 07:18. Reason: added more details
wyldckat is offline   Reply With Quote

Old   July 5, 2016, 05:42
Default
  #23
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 68
Rep Power: 10
viraj20feb is on a distinguished road
Hello Mr. Bruno,

My system is unable to find the icoLagrangianFoam command. I have attached the log.make.gz file with this post. Can you please help? Thank you
Attached Files
File Type: gz log.make.gz (5.7 KB, 1 views)
viraj20feb is offline   Reply With Quote

Old   July 5, 2016, 05:49
Default
  #24
New Member
 
LOU Lida
Join Date: Mar 2015
Posts: 18
Rep Power: 11
KangX1 is on a distinguished road
Hi, Viraj

I think the problem is that the icoLagrangianFoam is not included in this version.

Lida
KangX1 is offline   Reply With Quote

Old   July 5, 2016, 05:52
Default
  #25
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 68
Rep Power: 10
viraj20feb is on a distinguished road
Hi Lida,

I am trying to install the latest version foam-extend-3.1 (https://openfoamwiki.net/index.php/I...om_source_code). And I am quite sure that icoLagrangianFoam is there in this version. Can you please help?
viraj20feb is offline   Reply With Quote

Old   July 5, 2016, 05:57
Default
  #26
New Member
 
LOU Lida
Join Date: Mar 2015
Posts: 18
Rep Power: 11
KangX1 is on a distinguished road
Hi, Viraj

I've checked the source of the foam-extend-31. It seems that the source code of icoLagrangianFoam is not in there.
So, my advice is that you may find the source of the icoLagrangianFoam in other version of foam and compile it manually. The tutorial of compiling a new solver is as follows: http://cfd.direct/openfoam/user-guid...-applications/


Lida
KangX1 is offline   Reply With Quote

Old   July 7, 2016, 07:01
Default wmake command
  #27
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 68
Rep Power: 10
viraj20feb is on a distinguished road
Hi Lida,

So as you said I would have to compile in order to use icoLagrangianFoam solver. In foam extend 3.1, the solver is already coded(please see attached). I just need to give the 'wmake' command after entering the case directory, am I right?
Attached Files
File Type: gz icoLagrangianFoam.tar.gz (2.1 KB, 4 views)
viraj20feb is offline   Reply With Quote

Old   July 7, 2016, 07:04
Default
  #28
New Member
 
LOU Lida
Join Date: Mar 2015
Posts: 18
Rep Power: 11
KangX1 is on a distinguished road
Hi, Viraj

You are right, just use the 'wmake' command.

Lida
KangX1 is offline   Reply With Quote

Old   September 26, 2016, 06:09
Default
  #29
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 68
Rep Power: 10
viraj20feb is on a distinguished road
Hello,

I am facing the same compiling problem {blockMesh: command not found}. I have attached my log file with this post. Pleas help
Attached Files
File Type: gz log.make.gz (20.6 KB, 3 views)
viraj20feb is offline   Reply With Quote

Old   September 26, 2016, 18:02
Default
  #30
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer @viraj20feb: Please run the following commands:
Code:
cd ~/foam/foam-extend-3.1
find src applications -name "*.L" -type f | xargs sed -i -e 's=\(YY\_FLEX\_SUBMINOR\_VERSION\)=YY_FLEX_MINOR_VERSION < 6 \&\& \1='
./Allwmake > log.make 2>&1
This was already explained at the end of the page here: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04
__________________

Last edited by wyldckat; September 27, 2016 at 16:29. Reason: changed version from 3.2 to 3.1 in the first command... I had copy-pasted without changing :(
wyldckat is offline   Reply With Quote

Old   September 27, 2016, 00:51
Default
  #31
Member
 
Viraj Belekar
Join Date: Jun 2016
Posts: 68
Rep Power: 10
viraj20feb is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answer @viraj20feb: Please run the following commands:
Code:
cd ~/foam/foam-extend-3.2
find src applications -name "*.L" -type f | xargs sed -i -e 's=\(YY\_FLEX\_SUBMINOR\_VERSION\)=YY_FLEX_MINOR_VERSION < 6 \&\& \1='
./Allwmake > log.make 2>&1
This was already explained at the end of the page here: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04
Hi wyldckat,

I was able to install foam-extend-3.2.

Many thanks
viraj20feb is offline   Reply With Quote

Old   September 27, 2016, 16:30
Default
  #32
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by viraj20feb View Post
Hi wyldckat,

I was able to install foam-extend-3.2.

Many thanks
Sorry, I had made a mistake in the version number for the first command. I've updated my previous post, in case you still need foam-extend 3.1.
wyldckat is offline   Reply With Quote

Reply

Tags
foam extend 3.1

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
[CGNS] CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 137 December 14, 2018 04:20
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


All times are GMT -4. The time now is 02:54.