OpenFOAM (Open-source Field Operation And Manipulation) is well-known software in computational fluid mechanics (CFD). It contains several standard solvers for simulating a broad range of continuum flows. Using the OpenFOAM toolbox, users can build their own solver to solve specific problems. OpenFOAM is open-source software under the GNU General Public License Version 3.
...
Out of memory
If users encounterslurmstepd: error: Detected ... oom-kill event(s) ... killed by the cgroup out-of-memory handler
in any log file, try increasing RAM per CPU core by adding#SBATCH --mem-per-cpu=3800M
– while having ntasks-per-node <= 64 or#SBATCH --mem-per-cpu=7600M
– while having ntasks-per-node <= 32
to your
submitFoam.sh
.Floating-point exception trapping
By default, the floating-point exception trapping is disabled. To enable, addexport FOAM_SIGFPE=true
to your script.Building custom executable
Please useFOAM_USER_APPBIN
in place ofFOAM_APPBIN
andFOAM_SITE_APPBIN
FOAM_USER_LIBBIN
in place ofFOAM_LIBBIN
andFOAM_SITE_LIBBIN
to avoid permission denied.
[v2212] To manually specify those paths, see $WM_PROJECT_DIR/bin/tools/change-userdir.sh
...
Contact Us
ThaiSC support service : thaisc-support@nstda.or.th