Skip to content
Discussion options

You must be logged in to vote

There a two steps to running AdditiveFOAM simulations on multiple cores:

  1. You need to change the numberOfSubdomains in system/decomposeParDict to 24 (here)
  2. You need to update corresponding mpirun so that the number of tasks is equal to the number of subdomains. For SLURM, this would be:
srun -N 1 -n 24 additiveFoam -parallel

Finally, before you run the application, don't forget to decompose the mesh again if you are changing the number of processors, using

decomposePar -force

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by akshathadixith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants