Foam-Extend (*)

De acordo com a página do Foam-Extend, "The foam-extend project is a fork of the OpenFOAM® open source library for Computational Fluid Dynamics (CFD). It is an open project welcoming and integrating contributions from all users and developers. Previously known as OpenFOAM-dev and OpenFOAM-extend, it contains bug fixes and performance improvements, as well as extensions and additional features provided by community contributors (see file ListOfContributors), such as dynamic mesh and topological change support, turbomachinery extensions including general grid interpolation (GGI), cyclic GGI and mixing plane, block-coupled matrix support, implicitly coupled conjugate heat transfer and other physics coupling, finite area method, comprehensive dynamic mesh (motion and topological changes) capability and GPU support".

Versões Disponíveis

  • foam-extend/4.0

Submissão de Jobs em Paralelo

Crie um arquivo chamado, por exemplo, submit_paral_jobs.sh.

#!/bin/bash
#SBATCH -t 5:00 -n 4

module load foam-extend

unzip circCylinder3dHex.zip

decomposePar
mpirun -n 4 moveDynamicMesh -parallel

Para submeter o processo, basta usar o comando:

sbatch submit_paral_jobs.sh

Submissão de Jobs Seriais

Crie um arquivo chamado, por exemplo, submit_serial_jobs.sh.

#!/bin/bash
#SBATCH -t 5:00

module load foam-extend

# unpack input file
unzip foam-extend-cavity.zip

blockMesh
icoFoam

#pack all results
zip cavity.zip *

Para submeter o processo, basta usar o comando:

sbatch submit_serial_jobs.sh

Referências

Para informações adicionais sobre o software, consulte a documentação do Foam-Extend.