32位、64位安装方法相同,只是需要注意配置环境变量
1. 安装Fluent
给目标文件夹及安装文件赋予读写执行权限
sudo chmod 777 /usr/local/ -R
sudo
chmod 777 Ansys.Fluent.6.3.Linux -R
cd
Ansys.Fluent.6.3.Linux
./Fluent_install-lnx86-6.3.26.sh
安装至 /usr/local下
./Fluent_Htm_Doc_install-unix-6.3.sh
安装至 /usr/local下
这样Fluent被安装至
/usr/local/Fluent.Inc/文件夹下了
2. 配置环境变量:
gedit ~/.bashrc
64位添加:
export
FLUENT_ARCH=lnamd64
export
PATH=/usr/local/Fluent.Inc/bin:$PATH
32位添加:
export
FLUENT_ARCH=lnx86
export
PATH=/usr/local/Fluent.Inc/bin:$PATH
#同时安装32bit和64bit的fluent,尽量放在不同目录下
source
~/.bashrc
3. 启动fluent
普通启动:
fluent
并行启动:
fluent 2d (2ddp 3d 3ddp) -tN
(N=2,3,4,...)
4. 启动时如果报错:
.../fluent:
line 4820: 28561 Segment EOF on stderr. The fluent process could
not be started.

说明hostname没有添加,解决方法:
sudo
vi /etc/hosts
添加:
127.0.0.1
计算机名
比如:
127.0.0.1
Node1
如果并行启动,显示:
Starting
/fluent6.3.26/multiport/mpi/lnx86/hp/mpirun: rsh: Command not
found

解决方法:使用其他类型的MPI,默认是HP
方案1: 启动时命令输入 fluent 2d -t4
-mpi=mpich2
方案2:修改/Fluent.Inc/fluent6.3.26/bin中的fluent,将所有defalut的
PARA_MPI修改为能运行的MPI,比如 PARA_MPI=mpich2

正常并行启动画面:

5. 如果启动报libstdc++.so.5、libXt.so.6、libXext.so.6缺少,那么就补齐这些Libs
yum -y install libstdc++.i686
libstdc++.x86_64
yum -y install
libXt.i686 libXext.i686

如果搜索不到,那么请修改yum源,比如添加RPMforge的。
yum install yum-priorities
修改
/etc/yum.repos.d/Centos-Base.repo中
Base,Updates,Addons,Extras,...
添加
priority=1
Centosplus为priority=2
以CentOS 6.2为例:下载RPMforge:
http://apt.sw.be/redhat/el6/en/x86_64/dag/RPMS/rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm
rpm --import
http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
rpm -K rpmforge-release*.rpm
rpm -ivh rpmforge-release*.rpm
修改 /etc/yum.repos.d/rpmforge.repo
中添加 priority=3
yum check-update
mixo
2012.5.15
补充:
Ubuntu 10.04下
sudo apt-get install lib32stdc++6
sudo gedit /etc/hosts
添加
127.0.0.1 Hostname
启动用
fluent 2d -t4 -usessh
mxio
2012.5.26
补充:
Debian 7
启动fluent报:
fluentlm-helper 91 no such file.
解决方法:
apt-get install lib32gcc1
mxio
2014.9.12
加载中,请稍候......