张德胜 发表于 2011-6-7 09:43:39

疑难杂症

504340416各位openfoam前辈好,我是openfoam新手,昨天在苏博士的指导下安装成功了,但是有一个问题,我只有输入source /opt/openfoam171/etc/bashrc这个命令后才可以试运行成功,可是在我的安装步骤里面已经将这句话加到了bashrc的最后一行了。下面是我的安装步骤
1
VERS='lucid'
sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu $VERS main >> /etc/apt/sources.list
2
sudo apt-get update
3
sudo apt-get install openfoam171
4
sudo apt-get install paraviewopenfoam381
到目前为止OpenFOAM-1.7.1 and Paraview-3.8.1 are now installed in the /opt directory
In order to use the installed OpenFOAM package, complete the following:
1
gedit ~/.bashrc
2
At the bottom of that file, add the following line (see Note 1) and save the file :
source /opt/openfoam171/etc/bashrc
页: [1]
查看完整版本: 疑难杂症