This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:openfoam [2026/02/24 13:02] ccrosby [Latest version: OpenFOAM-v2512] |
howto:openfoam [2026/08/28 15:49] (current) ccrosby Updated latest version to v2606 |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| - [[howto: | - [[howto: | ||
| - | ====== Latest version: OpenFOAM-v2512 ====== | + | ====== Latest version: OpenFOAM-v2606 ====== |
| - | The most recent available version is OpenFOAM-v2512. In contrast to previous installations, | + | The most recent available version is OpenFOAM-v2606. In contrast to previous installations, |
| - | <file bash runFoam2512.qsub> | + | <file bash runFoam2606.qsub> |
| # | # | ||
| ### This 72-way example calls | ### This 72-way example calls | ||
| Line 25: | Line 25: | ||
| #PBS -e / | #PBS -e / | ||
| ### Source the openFOAM environment: | ### Source the openFOAM environment: | ||
| - | . / | + | . / |
| # Set this environment variable explicitly. | # Set this environment variable explicitly. | ||
| export PBS_JOBDIR=/ | export PBS_JOBDIR=/ | ||
| Line 46: | Line 46: | ||
| # Decompose the case into processor directories | # Decompose the case into processor directories | ||
| decomposePar -force > decompose.out | decomposePar -force > decompose.out | ||
| - | # Run the solver | + | # Run the solver, simpleFoam in this case |
| mpirun -np $nproc simpleFoam -parallel > simpleFoam.out | mpirun -np $nproc simpleFoam -parallel > simpleFoam.out | ||
| # Reconstruct the time directories from the processor directories | # Reconstruct the time directories from the processor directories | ||