Gambit Ubuntu x64

3
Sunday, 6 December 2009 Gambit and Fluent on 64 bit Ubuntu Installation It seems that Gambit doesn't include a 64 bit version. However, 32 bit Gambit can be installed and used on a 64 bit Ubuntu (I tried on a Ubuntu 9.10 amd64). When trying to launch it, there will be an error saying the ARCH is not compatible. The solution is exporting a variable "FLUENT_ARCH" before the go. :/$ export FLUENT_ARCH="lnx86" Then Gambit will not complain about the uncompatible architecture. Different from Gambit, Fluent does include a 64 bit version. But remember the variable FLUENT_ARCH has to be switched back before trying to run a 64 bit Fluent; (similarly, if the Fluent used is also a 32 bit version, the variable value "lnx86" has to be kept). :/$ export FLUENT_ARCH="lnamd64" To avoid the inconvenience, launch scripts can be written to simplify the procedure. Besides, another potential problem which could be encountered when trying to launch Fluent within Ubuntu 9.10 is the lack of libstdc++.so.5 is complained. This library was actually provided via package libstdc++5, which is however abandoned after Ubuntu 9.10. However, it can still be found from a Debian source , by which I downloaded the package libstdc++5_3.3.6- 18_amd64.deb and fixed the error. Tutorial A helpful tutorial on Gambit and Fluent can be found from here , although it is using Windows. UDF (User Defined Functions) is important for extending the flexibility of Fluent. A programming guide of UDF can be found from this pdf file , and this is the complete UDF manual . Example An interesting wave tank example was found from a useful post . It is for a solution of the 2D laminar fluid flow in a tank with oscillating motion of a wall by using multi-phase models. More instructions on this example can be found from the Fluent website , from which related mesh files can also be downloaded. A detailed set up procedure of the example was described in this pdf file as well. Posted by salad at 08:30 Labels: ANSYS , CFD , Fluent , Gambit , Linux , Ubuntu , UDF 2 comments: Subscribe To Followers with Google Friend Connect Followers (38) More » Already a member? Sign in Follow times hit Labels .NET (2) ANSYS (2) APS (1) C# (3) C/C++ (5) CFD (35) Code_Saturne (16) COMSOL (3) CUDA (5) driver (1) Dropbox (1) Elmer (1) Fluent (2) FORTRAN (2) Gambit (2) GNOME (1) GPGPU (5) hardware (1) Linux (35) Mac OS X (5) Compartir Informar sobre mal uso Siguiente blog» Crear un blog Acceder Free your CFD Free your CFD SALOME, Code_Saturne, ParaView, Numerical Modelling and Parallel Computation 0 Anonymous said... I can't run gambit on my ubuntu 9.10. Could you explain me better what to write on the shell to "export the variable" and, especially, on which path. Posts Comments

Transcript of Gambit Ubuntu x64

Page 1: Gambit Ubuntu x64

Sunday, 6 December 2009

Gambit andFluent on64bitUbuntu

Installation

It seems that Gambit doesn't include a 64 bit version. However, 32 bit Gambit can be installed and used on a 64 bit Ubuntu (I

tried on a Ubuntu 9.10 amd64). When trying to launch it, there will be an error saying the ARCH is not compatible. The

solution is exporting a variable "FLUENT_ARCH" before the go.

:/$ export FLUENT_ARCH="lnx86"

Then Gambit will not complain about the uncompatible architecture.

Different from Gambit, Fluent does include a 64 bit version. But remember the variable FLUENT_ARCH has to be switched

back before trying to run a 64 bit Fluent; (similarly, if the Fluent used is also a 32 bit version, the variable value "lnx86" has to

be kept).

:/$ export FLUENT_ARCH="lnamd64"

To avoid the inconvenience, launch scripts can be written to simplify the procedure.

Besides, another potential problem which could be encountered when trying to launch Fluent within Ubuntu 9.10 is the lack of

libstdc++.so.5 is complained. This library was actually provided via package libstdc++5, which is however abandoned after

Ubuntu 9.10. However, it can still be found from a Debian source, by which I downloaded the package libstdc++5_3.3.6-

18_amd64.deb and fixed the error.

Tutorial

A helpful tutorial on Gambit and Fluent can be found from here, although it is using Windows.

UDF (User Defined Functions) is important for extending the flexibility of Fluent. A programming guide of UDF can be found

from this pdf file, and this is the complete UDF manual.

Example

An interesting wave tank example was found from a useful post. It is for a solution of the 2D laminar fluid flow in a tank with

oscillating motion of a wall by using multi-phase models. More instructions on this example can be found from the Fluent

website, from which related mesh files can also be downloaded.

A detailed set up procedure of the example was described in this pdf file as well.

Posted by salad at 08:30

Labels: ANSYS, CFD, Fluent, Gambit, Linux, Ubuntu, UDF

2 comments:

Subscribe To

Followers

with Google Friend Connect

Followers (38) More »

Already a member? Sign in

Follow

times hit

Labels

.NET (2)

ANSYS (2)

APS (1)

C# (3)

C/C++ (5)

CFD (35)

Code_Saturne (16)

COMSOL (3)

CUDA (5)

driver (1)

Dropbox (1)

Elmer (1)

Fluent (2)

FORTRAN (2)

Gambit (2)

GNOME (1)

GPGPU (5)

hardware (1)

Linux (35)

Mac OS X (5)

Compartir Informar sobre mal uso Siguiente blog» Crear un blog Acceder

Free your CFDFree your CFD

SALOME, Code_Saturne, ParaView, Numerical Modelling and Parallel Computation

0

Anonymous said...

I can't run gambit on my ubuntu 9.10. Could you explain me better what to write on the shell to "export the variable" and, especially,

on which path.

Posts

Comments

Page 2: Gambit Ubuntu x64

Newer Post Older Post

Post a Comment

Comment as: Select profile...

Post Comment Preview

Links to this post

Create a Link

Home

Subscribe to: Post Comments (Atom)

Mandriva (1)

MATLAB (3)

NVIDIA (5)

OpenCFD (5)

OpenFOAM (5)

openSUSE (1)

Parallel Programming (7)

ParaView (14)

Python (2)

SALOME (19)

ThinkPad (1)

thrust (2)

Ubuntu (33)

UDF (1)

Visual Studio (5)

Windows (13)

Suggested Resources

My Dropbox invitation

Forum - SALOME Platform

Forums - Code_Saturne

wwiki's blog

Blog Archive

► 2011 (11)

► 2010 (21)

▼ 2009 (14)

▼ December (3)

SALOME, on the way tocross-platform

Gambit and Fluent on 64 bitUbuntu

Installation of SALOME5.1.2 on (K)Ubuntu 9.1064 ...

► November (1)

► August (2)

► July (5)

► April (3)

Recent Comments

Thanks!!!

13 May 2010 21:01

salad said...

Hi,

If your Ubuntu is 32 bit, you need to do nothing before launching Gambit. I assume yours is 64 bit. "export the variable" means

typing the command below on the console command line:

export FLUENT_ARCH="lnx86"

It does not matter in which path you are. I try to explain it. export is the command, FLUENT_ARCH is the variable name, and lnx86

is the variable value we want to set.

Moreover, we can use command echo to check the effect of the export command previously executed. Type the following

command on the console, no matter where you are:

echo $FLUENT_ARCH

The value shown should be lnx86.

Hope it helps and don't hesitate to leave a comment if you need more help.

Best regards,

14 May 2010 09:58

Page 3: Gambit Ubuntu x64

Roman wrote...Hi!Tell me please how to enableHEXABLOCK module? Today Iinstalled the 6.3-x86_64, butHexablock's icondoesn't present inSalome's...Continue >>

salad wrote...Hi all,I am truly glad to hear yourfeedback. I just updated mySALOME to version 5.1.5 alsoand it works very well.Thanks alot.Best regards,

salad wrote...Hi Rupolez,Unfortunately I am nota user of OpenSUSE, but Isuspect it was due to you lack ofsome gfortran packages. Can youtry to search for the...Continue >>

Rupolez wrote...Did you manage to install v2.0.1into OpenSuse? I am havingproblems!This is the error shownwhen "make" of the...Continue >>

Anonymous wrote...Hi, I am very interestend in thecode, this is one of the nicesttutorials on PDE on GPGPU ifound so far.If you can pleasesend me the source code i...Continue >>

LM wrote...basically i get this error messageno my command consolecp:target`saturne/ORIF/3D/SCRIPTS/runcais not a directorychmod: cannotaccess...Continue >>

LM wrote...iḿ having the same problem,please how did you solve it?

107720654828009470127wrote...Hi there, I have sucessfullyinstalled Salome-P 5.1.5 onKubuntu 10.10, the following dpkgline wors also:sudo dpkg -i --ignore-depends=gcc-3.4-base...Continue >>

Search in my Blog

Search

About Me

salad

Welcome to my blog on CFD.

View my complete profile