找回密码
 注册
查看: 2750|回复: 0

疑难杂症

[复制链接]
发表于 2011-6-7 09:43:39 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
各位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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表