tech:notes_openfoam
Table des matières
Notes install OpenFOAM
Intro
OpenFOAM (Open Field Operation and Manipulation) est un Logiciel Libre de Mécanique des fluides numérique ou CFD en anglais (pour Computational Fluid Dynamics)
Voir également :
Voir Cluster MPI
Voir tuto :
Install sur Debian Jessie
Cette install prendra de la place sur /opt/ (500Mo)
- /etc/apt/sources.list.d/openfoam.list
deb http://www.openfoam.org/download/ubuntu trusty main # deb-src http://www.openfoam.org/download/ubuntu trusty main
apt-get update wget http://fr.archive.ubuntu.com/ubuntu/pool/main/b/boost1.54/libboost-thread1.54.0_1.54.0-4ubuntu3_amd64.deb wget http://fr.archive.ubuntu.com/ubuntu/pool/main/b/boost1.54/libboost-system1.54.0_1.54.0-4ubuntu3.1_amd64.deb dpkg -i libboost*.deb apt-get install openfoam30 paraviewopenfoam44
** To use OpenFOAM please add ** ** . /opt/openfoam30/etc/bashrc ** ** To your ~/.bashrc
Test
# cp -r $FOAM_TUTORIALS $FOAM_RUN cp -r /opt/openfoam30/tutorials/incompressible/icoFoam/elbow/ ~ cd ~/elbow fluentMeshToFoam elbow.msh ls constant/polyMesh/
Un peu de graphique
#paraview system/controlDict & paraFoam &
Dans le fenêtre “Open Data With…”, sélectionner OpenFOAM, ou si plusieurs OpenFOAM Le 2em chez moi
Puis dans le fenêtre principale cliquez sur “Apply”
Depuis le terminal, lançons une nouvelle simulation (calcul)
icoFoam
Ordres :
- fluentMeshToFoam
- icoFoam
- paraview (paraFoam)
Notes
Notes
- blockMesh (building the mesh)
- icoFoam (running compiled executable)
- paraFoam (opening the paraview to view results)
tech/notes_openfoam.txt · Dernière modification : de 127.0.0.1
