開始行:
[[FrontPage]]
* OpenFoam [#p6e1a5c6]
** 参考 [#mb28d852]
- OpenFOAM-2.1.1利用手引き
https://www.hucc.hokudai.ac.jp/isv_manual/info/app/OpenFO...
- Penguin
http://www.geocities.jp/penguinitis2002/study/OpenFOAM/in...
- OpenFOAM
- OpenFOAM User Guide v4.0 | http://foam.sourceforge.net/...
- OpenFOAM ユーザガイド和訳 v2.2 |http://foam.sourceforge...
- OpenFOAM-2.1.1 利用手引き(2011.11.27 CAE ソリューション...
- OpenFOAMソースコードの眺め方はじめの一歩 part 1(2013年6...
- Salome(メッシャー)
- Code_Aster & Salome-Meca 日本語解説 | https://sites.goo...
** インストール [#d2feb1fa]
- OpenFOAM v4.1 | Ubuntu
http://openfoam.org/download/4-1-ubuntu/
sudo apt-get update
sudo apt-get install --only-upgrade openfoam4
sudo apt-get update
sudo apt-get upgrade
sudo add-apt-repository http://dl.openfoam.org/ubuntu
sudo sh -c "wget -O - http://dl.openfoam.org/gpg.key | a...
sudo apt-get update
sudo apt-get -y install openfoam4
source /opt/openfoam4/etc/bashrc
simpleFoam -help
mkdir -p $FOAM_RUN
cd $FOAM_RUN
cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDail...
cd pitzDaily
blockMesh
simpleFoam
paraFoam
- OpenFOAM v2.4.0 | Ubuntu
http://openfoam.org/download/2-4-0-ubuntu/
sudo add-apt-repository http://dl.openfoam.org/ubuntu
sudo sh -c "wget -O - http://dl.openfoam.org/gpg.key | a...
sudo apt-get update
sudo apt-get -y install openfoam240
sudo apt-get -y install paraviewopenfoam410
source /opt/openfoam240/etc/bashrc
simpleFoam -help
mkdir -p $FOAM_RUN
cd $FOAM_RUN
cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDail...
cd pitzDaily
blockMesh
simpleFoam
paraFoam
** コマンド [#m774b9a6]
表 1 よく使用する環境変数の設定値
環境変数 設定値 説明
FOAM_RUN /home/<利用者番号>/OpenFOAM/<利用者番号>-2.1.1/...
FOAM_TUTORIALS /usr/local/OpenFOAM/OpenFOAM-2.1.1/tutori...
FOAM_SOLVERS /usr/local/OpenFOAM/OpenFOAM-2.1.1/applicat...
FOAM_UTILITIES /usr/local/OpenFOAM/OpenFOAM-2.1.1/applic...
FOAM_SRC /usr/local/OpenFOAM/OpenFOAM-2.1.1/src クラスラ...
表 2 よく使用するコマンド(alias 設定値)
コマンド alias の設定値 説明
run cd $FOAM_RUN 作業用ディレクトリ
tut cd $FOAM_TUTORIALS チュートリアル
sol cd $FOAM_SOLVERS ソルバのソースコード
util cd $FOAM_UTILITIES 付属ツールのソースコード
src cd $FOAM_SRC クラスライブラリのソースコード
** mesh [#x0375c5c]
- salome-meca download
http://www.code-aster.org/V2/spip.php?article303
- Penguin Salome Tutorial
http://www.code-aster.org/V2/spip.php?article303
- Salome Tutorial
https://sites.google.com/site/codeastersalomemeca/home
*** Salome Hex Meshing [#hfb523f8]
http://opencae.gifu-nct.ac.jp/pukiwiki/index.php?plugin=a...
http://eddy.pu-toyama.ac.jp/%E3%82%AA%E3%83%BC%E3%83%97%E...
** VirtualBox HDD 拡張 [#c8f75761]
https://www.virment.com/extend-virtualbox-disk/
** sh [#q31f97c7]
pisoFoam
pisoFoam > log &
tail -f log
tail -f log | grep Time
clean
#!/bin/sh
foamListTimes -noZero | sed -e '$d' | xargs rm -rf
clean
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanTimeDirectories
unvmesh
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# unv -> polyMesh
# ideasUnvToFoam Mesh.unv
Allrun
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication pimpleFoam
** リソース管理 [#a23612f6]
ps aux
top
sar
tail -f log
終了行:
[[FrontPage]]
* OpenFoam [#p6e1a5c6]
** 参考 [#mb28d852]
- OpenFOAM-2.1.1利用手引き
https://www.hucc.hokudai.ac.jp/isv_manual/info/app/OpenFO...
- Penguin
http://www.geocities.jp/penguinitis2002/study/OpenFOAM/in...
- OpenFOAM
- OpenFOAM User Guide v4.0 | http://foam.sourceforge.net/...
- OpenFOAM ユーザガイド和訳 v2.2 |http://foam.sourceforge...
- OpenFOAM-2.1.1 利用手引き(2011.11.27 CAE ソリューション...
- OpenFOAMソースコードの眺め方はじめの一歩 part 1(2013年6...
- Salome(メッシャー)
- Code_Aster & Salome-Meca 日本語解説 | https://sites.goo...
** インストール [#d2feb1fa]
- OpenFOAM v4.1 | Ubuntu
http://openfoam.org/download/4-1-ubuntu/
sudo apt-get update
sudo apt-get install --only-upgrade openfoam4
sudo apt-get update
sudo apt-get upgrade
sudo add-apt-repository http://dl.openfoam.org/ubuntu
sudo sh -c "wget -O - http://dl.openfoam.org/gpg.key | a...
sudo apt-get update
sudo apt-get -y install openfoam4
source /opt/openfoam4/etc/bashrc
simpleFoam -help
mkdir -p $FOAM_RUN
cd $FOAM_RUN
cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDail...
cd pitzDaily
blockMesh
simpleFoam
paraFoam
- OpenFOAM v2.4.0 | Ubuntu
http://openfoam.org/download/2-4-0-ubuntu/
sudo add-apt-repository http://dl.openfoam.org/ubuntu
sudo sh -c "wget -O - http://dl.openfoam.org/gpg.key | a...
sudo apt-get update
sudo apt-get -y install openfoam240
sudo apt-get -y install paraviewopenfoam410
source /opt/openfoam240/etc/bashrc
simpleFoam -help
mkdir -p $FOAM_RUN
cd $FOAM_RUN
cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDail...
cd pitzDaily
blockMesh
simpleFoam
paraFoam
** コマンド [#m774b9a6]
表 1 よく使用する環境変数の設定値
環境変数 設定値 説明
FOAM_RUN /home/<利用者番号>/OpenFOAM/<利用者番号>-2.1.1/...
FOAM_TUTORIALS /usr/local/OpenFOAM/OpenFOAM-2.1.1/tutori...
FOAM_SOLVERS /usr/local/OpenFOAM/OpenFOAM-2.1.1/applicat...
FOAM_UTILITIES /usr/local/OpenFOAM/OpenFOAM-2.1.1/applic...
FOAM_SRC /usr/local/OpenFOAM/OpenFOAM-2.1.1/src クラスラ...
表 2 よく使用するコマンド(alias 設定値)
コマンド alias の設定値 説明
run cd $FOAM_RUN 作業用ディレクトリ
tut cd $FOAM_TUTORIALS チュートリアル
sol cd $FOAM_SOLVERS ソルバのソースコード
util cd $FOAM_UTILITIES 付属ツールのソースコード
src cd $FOAM_SRC クラスライブラリのソースコード
** mesh [#x0375c5c]
- salome-meca download
http://www.code-aster.org/V2/spip.php?article303
- Penguin Salome Tutorial
http://www.code-aster.org/V2/spip.php?article303
- Salome Tutorial
https://sites.google.com/site/codeastersalomemeca/home
*** Salome Hex Meshing [#hfb523f8]
http://opencae.gifu-nct.ac.jp/pukiwiki/index.php?plugin=a...
http://eddy.pu-toyama.ac.jp/%E3%82%AA%E3%83%BC%E3%83%97%E...
** VirtualBox HDD 拡張 [#c8f75761]
https://www.virment.com/extend-virtualbox-disk/
** sh [#q31f97c7]
pisoFoam
pisoFoam > log &
tail -f log
tail -f log | grep Time
clean
#!/bin/sh
foamListTimes -noZero | sed -e '$d' | xargs rm -rf
clean
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanTimeDirectories
unvmesh
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# unv -> polyMesh
# ideasUnvToFoam Mesh.unv
Allrun
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication pimpleFoam
** リソース管理 [#a23612f6]
ps aux
top
sar
tail -f log
ページ名: