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

openfoam-1.6-ext on Ubuntu 10.10 Maverick

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 1, 2011, 01:23
Default
  #41
Member
 
liping_he
Join Date: Feb 2011
Posts: 36
Rep Power: 15
liping_he is on a distinguished road
HI rassilon, I also want to install OF-1.6-ext on Ubuntu10.10. With the help of this post, I finished a part of installation. I have install the openfoam-1.6-ext and openfoam-1.6-ext-dev. There is no Tutorials and Thirdpart in the folder of /usr/lib/OpenFOAM-1.6-ext. I have on idea about what should I do next. So I hope you can give me some suggestions. Thanks a lot.

cheers

Liping
liping_he is offline   Reply With Quote

Old   November 1, 2011, 04:16
Default
  #42
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Greetings Liping,

If you can run with success the following command:
Code:
icoFoam -help
Then to know where the "tutorials" folder is you only have to run:
Code:
echo $FOAM_TUTORIALS
Best regards,
Bruno
__________________

Last edited by wyldckat; November 1, 2011 at 04:17. Reason: missing quotes
wyldckat is offline   Reply With Quote

Old   November 1, 2011, 04:45
Default
  #43
Member
 
liping_he
Join Date: Feb 2011
Posts: 36
Rep Power: 15
liping_he is on a distinguished road
HI wyldckat, Thanks a lot for your reply.

When I run the following command:
Code:
icoFoam -help
The termial display:
Code:
Usage: icoFoam [-pareallel] [-case dir] [-help] [-doc] [-srcDoc]
I think OpenFOAM-1.6-ext is OK. When i run :
Code:
echo $FOAM_TUTORIALS
The termial display:
Code:
/usr/lib/OpenFOAM-1.6-ext/tutorials
But when i run:
Code:
cd /usr/lib/OpenFOAM-1.6-ext/
ls
The termial display: :
Code:
applications bin etc lib src wmake
There is no tutorials folder. So what do you think about it.

Best regards,
Liping
liping_he is offline   Reply With Quote

Old   November 1, 2011, 05:20
Default
  #44
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Hi Liping,

I had completely forgotten how things were split up in the CAE Team's packages. You'll have to install one more package:
Code:
sudo apt-get install openfoam-1.6-ext-doc
You can browse which packages are available in either Synaptic or directly here: https://launchpad.net/~cae-team/+archive/ppa/+packages?field.name_filter=openfoam&field.status_ filter=published&field.series_filter=

edit: I've edited/updated the wiki page that explains these steps to reflect the known installable packages: http://openfoamwiki.net/index.php/In...ucid_10.04_LTS

edit2: these packages are really crazy... the tutorials aren't in the "-doc" package, they are placed in the folder: "/usr/share/doc/openfoam-1.6-ext/examples"

Best regards,
Bruno
__________________

Last edited by wyldckat; November 3, 2011 at 17:09. Reason: see "edit:" and "edit2"
wyldckat is offline   Reply With Quote

Old   November 2, 2011, 00:05
Default
  #45
Member
 
liping_he
Join Date: Feb 2011
Posts: 36
Rep Power: 15
liping_he is on a distinguished road
Hi Bruno

Thanks very much for your so much help. The wiki page you updated is right what I need. Thanks!

Best wishes
Liping
liping_he is offline   Reply With Quote

Old   November 3, 2011, 14:17
Default
  #46
Member
 
Santiago
Join Date: Dec 2009
Posts: 85
Rep Power: 16
gascortado is on a distinguished road
Hi Bruno, it me again with new problems!

I recently updated Ubuntu to version 11.10. Yes, I don't know why I did this! The problem is that I get an error just like this one http://www.cfd-online.com/Forums/ope...tml#post329227 but using a different solver. I re-installed OF-1.6-ext from the CAE repository and the installation its fine. Any idea of what to do. For what I see in the forums, this error is fairly new due to the short time that 11.10 its been out. Like always, any help will be great. Thanks
gascortado is offline   Reply With Quote

Old   November 3, 2011, 14:37
Default
  #47
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Hi Santiago,

The fix OpenCFD/SGI made for OpenFOAM 2.0.x was this: https://github.com/OpenFOAM/OpenFOAM...3e8d0e85b889d9

If you do a similar fix on 1.6-ext, it should work as intended.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 3, 2011, 15:09
Default
  #48
Member
 
Santiago
Join Date: Dec 2009
Posts: 85
Rep Power: 16
gascortado is on a distinguished road
Thanks for your ultra fast reply. I modified the files: /linux64Gcc/c++ and /linuxGcc/c++ as directed. The other 4 files are not present in the /rules folder of 1.6-ext.

After making the changes I still have the same problem

--> FOAM FATAL ERROR:
Unknown turbulenceModel type LESModel

Valid turbulenceModel types are :

1
(
laminar
)


Any other idea? Thanks a lot
gascortado is offline   Reply With Quote

Old   November 3, 2011, 15:27
Default
  #49
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Hi Santiago,

I forgot to mention that this particular fix requires a clean rebuild
Code:
wcleanAll
wcleanLnIncludeAll
./Allwmake > make.log 2>&1
I hope that you already know that you can accelerate the build process by defining the number of processor cores/threads that you want to make available for the build process (8 in the next example):
Code:
export WM_NCOMPPROCS=8
This is meant to be executed before you run Allwmake. And notice that there are two "P"s.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 3, 2011, 15:47
Default
  #50
Member
 
Santiago
Join Date: Dec 2009
Posts: 85
Rep Power: 16
gascortado is on a distinguished road
hum, ok. I'm using the OF version from the CAE team using synaptic. There are a lot of "permission denied" stuff when I hit
wcleanAll wcleanLnIncludeAll ./Allwmake > make.log 2>&1

Can I compile this version or I have to use a binary version to be able to compile?
gascortado is offline   Reply With Quote

Old   November 3, 2011, 17:26
Default
  #51
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Hi Santiago,

OK, I just tried installing the same packages in a virtual machine with Ubuntu 11.10 x86_64 and I was not able to reproduce the error. Can you specify what was the solver and tutorial with which it doesn't work?

If by any chance you can't, then my suggestion is simple: if you updated Ubuntu to the latest version, you're going to have also update 1.6-ext to the latest version as well. Some instructions are available here: Short tutorial for installation OpenFOAMŪ[-Extend]

Best regards and good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 6, 2013, 11:04
Default
  #52
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
hi,I have installed of211 on ubuntu 12.04 correctly
now I use the text file of /home/amir/OpenFOAM/OpenFOAM-1.6-ext/doc/buildInstructions/Ubuntu/12.04 to install openfoam-1.6.ext. but there is some problem:
1.when i type : cd $WM_PROJECT_DIR/ThirdParty at terminal,the following text is appeared:
bash: cd: /opt/openfoam211/ThirdParty: No such file or directory
what should i do?
2.how should i source my OpenFOAM environment to get the basic configuration for
compilation?
please help me,
thanks
AmirBaqa1987 is offline   Reply With Quote

Old   February 6, 2013, 18:30
Default
  #53
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Greetings Arjang and welcome to the forum!

The long and complicated answer is this one: http://www.cfd-online.com/Forums/blo...vironment.html

The short/simple answer is this one:
  1. Edit the file "~/.bashrc".
  2. Remove the line that says something like this:
    Code:
    . /opt/openfoam211/etc/bashrc
  3. Add these two new lines:
    Code:
    alias of211opt='. /opt/openfoam211/etc/bashrc'
    alias of16ext='. $HOME/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc'
  4. Save and close the file.
  5. Start a new terminal.
  6. Whenever you want to use OpenFOAM 2.1.1, run the following command when a new terminal is opened:
    Code:
    of211opt
  7. Whenever you want to use Extend's OpenFOAM 1.6-ext, run the following command when a new terminal is opened:
    Code:
    of16ext
    After this one, you can continue following the installation instructions.


Best regards,
Bruno
__________________
wyldckat 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
[OpenFOAM.com] OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 electrosin OpenFOAM Installation 40 May 31, 2016 06:11
Error in apt-get update for installation of OpenFoam 1.7.1 on Ubuntu 10.10 StuntedChicken OpenFOAM Installation 1 January 9, 2011 11:43
paraview does not work on ubuntu 10.10 maverick sebonator OpenFOAM 2 December 18, 2010 11:33
Installing OpenFOAM 1.6 on Ubuntu 10.4 sda OpenFOAM Installation 5 May 27, 2010 21:19
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25


All times are GMT -4. The time now is 04:18.