0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

OpenFoam v2306のインストール(AlmaLinux 9.2)

Posted at

ディストリビューション:Alma Linux 9.2
実施日:2023/11/11

■インストール手順(Open Foam v2306)
#yum -y install dnf-plugins-core
#yum -y config-manager --set-enabled crb
#dnf -y copr enable openfoam/openfoam
#yum -y install openfoam

以下のディレクトリにインストールされる。
/usr/lib/openfoam/openfoam2306

テンプレートファイル(チュートリアル)は以下のディレクトリにある。
/usr/lib/openfoam/openfoam2306/etc/templates

■インストール手順(Paraview)
#yum install paraview

以下のディレクトリにインストールされる。
/usr/lib64/paraview

■Open Foamの起動
$openfoam

■Paraviewの起動
$paraview

■テンプレートファイルの計算実行→可視化手順
#sudo cp -r /usr/lib/openfoam/openfoam2306/etc/templates/axisymmetricJet /home/yuichiro_shimura/work
#cd /home/yuichiro_shimura/work/axisymmetricJet
#openfoam
#./Allrun
(メッシュ生成と計算が実行される。特にメッセージなどは表示されないので、終了するまで待つ。)

#foamToVTK
(コマンドの実態は、"/usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin"にある。)

#paraview
(ParaviewのGUI上でVTKディレクトリ内にあるvtmのヘッダーファイル"axisymmetricJet.vtm.series"を読み込む→可視化完了)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?