.. _Foam-Extend: 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 (default) * foam-extend/4.1 Submissão de Jobs em Paralelo ----------------------------- Crie um arquivo chamado, por exemplo, *submit_paral_jobs.sh*. .. code-block:: bash #!/bin/bash #SBATCH -t 24:00:00 -n 4 export INPUT="circCylinder3dHex.zip" export OUTPUT="*" module load foam-extend job-nanny ./run.sh O conteúdo do arquivo *run.sh* seria algo como: .. code-block:: bash #!/bin/bash unzip circCylinder3dHex.zip decomposePar mpirun -n 4 moveDynamicMesh -parallel Para submeter o processo, basta usar o comando: .. code-block:: bash sbatch submit_paral_jobs.sh Submissão de Jobs Seriais ------------------------- Crie um arquivo chamado, por exemplo, *submit_serial_jobs.sh*. .. code-block:: bash #!/bin/bash #SBATCH -t 24:00:00 export INPUT="foam-extend-cavity.zip" export OUTPUT="cavity.zip" module load foam-extend job-nanny ./run.sh O conteúdo do arquivo *run.sh* seria algo como: .. code-block:: bash #!/bin/bash # unpack input file unzip foam-extend-cavity.zip blockMesh icoFoam #pack all results zip cavity.zip * Para submeter o processo, basta usar o comando: .. code-block:: bash sbatch submit_serial_jobs.sh Referências ----------- Para informações adicionais sobre o software, consulte a `documentação do Foam-Extend `_.