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

OpenFOAM-dev Live USB DVD, based on kubuntu

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2010, 06:58
Default OpenFOAM-dev Live USB DVD, based on kubuntu
  #1
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Hello,

the USB-Stick-Team (Oliver Borm, Bernhard Gschaider, Henrik Rusche) proudly presents the release candiate of this year's OpenFOAM Workshop-USB-Stick. It is a continuation is last year's effort discussed in

http://www.cfd-online.com/Forums/ope...lax-based.html

We tried to build on that experience and the helpful comments - thank you!

The image is based on Kubuntu 10.04 and currently includes OpenFOAM 1.5-dev r1726 (including PyFoam, cgnstools, funkySetFields, groovyBC and simpleFunctionObjects), paraview with Takuya's OpenFOAM reader, enGrid, Open CASCADE, calculix, netgen, blender, freecad, octave, yacas. The full manifest can be found in

casper/filesystem.manifest
casper/filesystem.manifest-desktop

How do I get my fingers dirty?

There are several ways!

1) Use usb-creator-* to extract the iso onto the stick. Note that you can use other software (such as unetboot), but not all of them create the persistant storage file. Then change the boot order and reboot the machine.

2) Unpack the tgz (contains a 256 Mb persistant storage file) onto the stick and run either boot/bootinst.sh or boot/bootinst.bat - Just like we did with SLAX. Then change the boot order and reboot the machine.

3) Boot the iso within a VirtualBox or similar software - no persistant storage, but you should be able to mount shares and disks that you connect to the VirtualBox. Don't think anybody has tried this, yet .

4) Make a stick using options 1 or 2 and boot it within a VirtualBox. More detailed instructions can be found here

http://web.student.chalmers.se/groups/ofw5/Instr.htm

Where do I get the iso or tgz?

Download

OpenFOAM_kubuntu.iso (md5sum: 0ae471daf7f748f3cde7b1937ac86465)

OR

OpenFOAM_kubuntu.tgz (md5sum: 6f8df60add546c0d390d24fc14290d7f)

from

http://sourceforge.net/projects/openfoam-extend/files/

A few things you should know

  • most of OF lives in in /usr/lib/OpenFOAM-1.5-dev
  • docs are in /usr/share/doc/openfoam-1.5-dev
  • tutorials are in /usr/share/doc/openfoam-1.5-dev/examples

How to test?

Please test your favorite application, not just the cavity - We have done that . Most of the non-OpenFOAM packages have not even been started so please give them a spin.

How is it done?

The compilation is based on the Ubuntu packages which may be downloaded individually from

https://launchpad.net/~cae-team/+archive/ppa?field.series_filter=lucid

Best Regards,

Henrik

Last edited by henrik; May 23, 2010 at 07:19. Reason: add md5sum
henrik is offline   Reply With Quote

Old   May 31, 2010, 13:46
Default
  #2
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 17
heavy_user is on a distinguished road
Hi Henrik,

where can I get the "OpenFOAM 1.5-dev r1726" version and what other files do i need to download and compile for a fully operational version?

thx & regards!
heavy_user is offline   Reply With Quote

Old   May 31, 2010, 17:04
Default
  #3
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Dear Heavy User,

1. You need usb-creator-* or similar to make a bootable USB stick out of the iso.

OR

2. You need nothing to make a bootable stick out og the tgz.

OR

3. You need your favourite burning to tool to make a CD out of the iso.

For 1 and 2, please follow the instructions written down here:

http://web.student.chalmers.se/groups/ofw5/Instr.htm

Henrik
henrik is offline   Reply With Quote

Old   June 1, 2010, 09:05
Default
  #4
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 17
heavy_user is on a distinguished road
Hi Henrik,

thanks for your quick reply!

Unfortunately I have a notebook with only one usb-port.
So I want to install the exact same version of OF on the suse 11.1 on that notebook.
(and NOT boot from usb-device)

I mounted the image and could not find the OF-source files.
So how can I install the exact same version of OF from the stick on a my notebook ?

thx & regards
heavy_user is offline   Reply With Quote

Old   June 1, 2010, 09:19
Default
  #5
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Dear Heavy User,

the easiest solution to your problem is to install (k)ubuntu on your second laptop and add the openfoam packages and their dependencies

https://launchpad.net/~cae-team/+archive/ppa?field.series_filter=lucid

For OpenSuse, you need to compile from source, which can be checked out from sourceforge:

Code:
svn co -r 1726 https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev
Sorry, no rpm-packages, yet.

Henrik
henrik is offline   Reply With Quote

Old   June 1, 2010, 10:26
Default
  #6
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 17
heavy_user is on a distinguished road
Hi Henrik,

thx again!

I downloaded it. Is it 64-Bit or 32-Bit?

So I assume i can just download the Thirdparty-package ( eg. here: http://sourceforge.net/projects/foam/files/ ) and /Allwmake it?
Does the Thirdparty-package have to be 64-bit or 32-Bit ?

regards!
heavy_user is offline   Reply With Quote

Old   June 2, 2010, 05:27
Default Open Cascade
  #7
New Member
 
Join Date: May 2009
Posts: 14
Rep Power: 17
Hasselhoff is on a distinguished road
..not relevant..

Last edited by Hasselhoff; June 9, 2010 at 12:10.
Hasselhoff is offline   Reply With Quote

Old   June 2, 2010, 09:08
Default
  #8
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 17
heavy_user is on a distinguished road
Hi There,

i tried to compile the OF-1.5-dev i downloaded from the link above..
It is not working... I messed around with the settings.sh but I just cant make it fly.

Has anyone compiled this version from source yet?

regards!

Last edited by heavy_user; June 2, 2010 at 11:15.
heavy_user is offline   Reply With Quote

Old   June 30, 2010, 04:30
Default
  #9
New Member
 
Francesco Contino
Join Date: Mar 2009
Posts: 26
Rep Power: 17
francesco is on a distinguished road
Hi,

I tried the USB stick distributed at the workshop (thank you very much, very good job) in a VirtualBox and everything was fine. Then I tried to redo the job with the tgz file from SourceFourge and it indicates "Boot error" when I try to launch it. Everything was done on the computer of one of my colleague and it works fine when he tried to directly boot on the stick.

It would be fine too if I could directly boot on it but unfortunately, I am on a Mac. Is there any difference between the version distributed at the workshop and the one on SourceForge? Can anyone understand what's happening here?

Thank you for your help.

Francesco Contino
francesco is offline   Reply With Quote

Old   July 7, 2010, 09:31
Default
  #10
New Member
 
Join Date: Sep 2009
Posts: 13
Rep Power: 17
cgoniva is on a distinguished road
Dear all!

I tried to use your kubuntu *.iso to set up a desktop pc.

The installation worked fine, but now I 'm facing troubles when trying to install other software.
It complains about the permissions in the /tmp/ directory???

Thank you in advance for your help!
Chris

Last edited by cgoniva; July 8, 2010 at 09:38.
cgoniva is offline   Reply With Quote

Old   July 8, 2010, 09:48
Default
  #11
New Member
 
Join Date: Sep 2009
Posts: 13
Rep Power: 17
cgoniva is on a distinguished road
Problem solved...

it was related to Salome's Install script.

see:
http://salome-platform.net/forum/forum_9/thread_2656
cgoniva is offline   Reply With Quote

Old   July 10, 2010, 20:34
Default installation of openfoam on kubuntu
  #12
Member
 
Join Date: Jun 2010
Posts: 31
Rep Power: 16
semo is on a distinguished road
Hello,

I downloaded openfoam_kubuntu.iso burned it to a DVD and installed it. It went pretty smooth but I cant find openfoam. Isnt it preinstalled? I can see and run all other programs like Paraview, Engrid, Octave etc.

If someone can explain me how to make it work or install it I will be grateful. Thanks in advance.

semo
semo is offline   Reply With Quote

Old   July 11, 2010, 14:14
Default
  #13
Senior Member
 
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 205
Rep Power: 18
hani is on a distinguished road
Hi Semo,

If you learn to use the environment variables you don't need to know where it is installed.

Try:
echo $WM_PROJECT_DIR
to see where it is installed.

You should be able to run everything as it is. Everything should be set up for you.

Håkan
hani is offline   Reply With Quote

Old   July 11, 2010, 15:09
Default starting openfoam
  #14
Member
 
Join Date: Jun 2010
Posts: 31
Rep Power: 16
semo is on a distinguished road
Hello Hakan,

Thank you for your reply. You are right i don't need to know where it is installed. I just want to know how to see the interface of openfoam. I am sorry if this sounds stupid

Thanks ...
semo is offline   Reply With Quote

Old   July 11, 2010, 17:36
Default
  #15
Senior Member
 
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 205
Rep Power: 18
hani is on a distinguished road
Hi Semo,

It sounds like your question was not at all about the Kubuntu distro....

There is no graphical interface to OpenFOAM, which means that you have to learn something before using it. Please have a look at the user guide, which will give you the very basics.

Good luck!
Håkan
hani is offline   Reply With Quote

Old   July 13, 2010, 07:04
Default
  #16
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Dear All,

the tgz and iso changed a few times. You can find the current SHA1 and MD5SUM in the "release notes" attached to the file.

Henrik

Last edited by henrik; July 13, 2010 at 08:14.
henrik is offline   Reply With Quote

Old   July 22, 2010, 20:30
Default install OpenFOAM_Kubuntu 5th Workshop
  #17
New Member
 
phong
Join Date: Jul 2010
Posts: 11
Rep Power: 16
phongstar is on a distinguished road
Dear All
I downloaded OpenFOAM_kubuntu.iso and burn to DVD.
(http://sourceforge.net/projects/open...u.iso/download)

I installed OpenFOAM_kubuntu to my computer. I ran the cavity in my computer. when i ran icoFOAM i didn't see any folder ( 0.1, 0.2, 0.3, 0.4, 0.5 folder). I couldn't show any picture in paraview.

But when i ran directly OpenFOAM_kubuntu on DVD, i could create 5 folder ( 0.1, 0.2, 0.3, 0.4, 0.5 folder) anh i could show any picture in cavity case.

------------------------------------------------
[IMG]file:///C:/DOCUME%7E1/THANHP%7E1/LOCALS%7E1/Temp/msohtml1/01/clip_image002.jpg[/IMG]

I ran IcoFoam, it show:
phong@phong-dell:~/OpenFOAM/phong-1.5-dev/run/tutorials/incompressible/icoFoam/cavity$ icoFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5-dev |
| \\ / A nd | Revision: exported |
| \\/ M anipulation | Web: http://www.OpenFOAM.org |
\*---------------------------------------------------------------------------*/
Exec : icoFoam
Date : Jul 22 2010
Time : 15:15:33
Host : phong-dell
PID : 2092
Case : /home/phong/OpenFOAM/phong-1.5-dev/run/tutorials/incompressible/icoFoam/cavity
nProcs : 1

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading transportProperties

Reading field p

Reading field U

Reading/calculating face flux field phi


Starting time loop

Time = 0.005

Courant Number mean: 0 max: 0 velocity magnitude: 0


Attempt to return dictionary entry as a primitive

file: /home/phong/OpenFOAM/phong-1.5-dev/run/tutorials/incompressible/icoFoam/cavity/system/fvSolution::U from line 30 to line 33.

From function ITstream& primitiveEntry::stream() const
in file db/dictionary/dictionaryEntry/dictionaryEntry.C at line 83.

FOAM aborting

Aborted

------------------------------------------
Please help me!

Thankyou very much
Phong
phongstar is offline   Reply With Quote

Old   July 26, 2010, 02:56
Default Please help me!
  #18
New Member
 
phong
Join Date: Jul 2010
Posts: 11
Rep Power: 16
phongstar is on a distinguished road
anybody hear my help? please help me!
I need to solve this problem and learn how to use it fluent.
I loss too much the time to install linux and OpenFOAM. Now I install Kubuntu-OpenFOAM , i had new problem.

I wait your good new.

Thank you very much!
Best regards.

Phong
phongstar is offline   Reply With Quote

Old   July 26, 2010, 20:27
Default
  #19
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 to all,

I'm posting just to let you know that I've already answered Phong about the issue with KUbuntu + OpenFOAM-dev here: http://www.cfd-online.com/Forums/ope...tml#post268953

Best regards,
Bruno

PS: the Live KUbuntu + OpenFOAM-dev DVD looks very nice
__________________
wyldckat is offline   Reply With Quote

Old   July 29, 2010, 03:02
Default
  #20
New Member
 
phong
Join Date: Jul 2010
Posts: 11
Rep Power: 16
phongstar is on a distinguished road
Thank you very much, Bruno
i had check it, i continue to study it.

Best regards
Phong
phongstar is offline   Reply With Quote

Reply


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-dev Live USB CD, SLAX based hellorishi OpenFOAM Installation 34 May 31, 2010 02:18
OpenFOAM Live USB based on openSUSE 11.1 created with SUSE Studio alberto OpenFOAM 40 May 23, 2010 17:15
OpenFOAM 1.5 dev LVDH OpenFOAM 98 May 5, 2010 18:01
[OpenFOAM] Paraview/Parafoam in OpenFoam 1.5 dev titio ParaView 0 December 9, 2009 13:12
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56


All times are GMT -4. The time now is 01:08.