|
[Sponsors] |
nproc number in decomposeParDict or Allrun for checkMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 5, 2021, 11:54 |
nproc number in decomposeParDict or Allrun for checkMesh
|
#1 |
Member
Join Date: Apr 2021
Posts: 41
Rep Power: 5 |
dear foamers,
how to set one time only the number of processor ($nproc) which will be used in: . decomposeParDict Code:
numberOfSubdomains $nproc; Code:
runApplication -np $nproc checkMesh –parallel but then what is the command line in Allrun to get it ? or should I do the contrary, but then what is the command line in decomposeParDict to get it ? I have also another question: how to check the boundary layer coverage with checkMesh ? thanks if someone could help me on this topic |
|
May 7, 2021, 08:28 |
|
#2 |
Member
Lorenzo
Join Date: Apr 2020
Location: Italy
Posts: 44
Rep Power: 6 |
Hi,
When you want to run an application in parallel you should write "runParallel". Example in an Allrun: runApplication blockMesh runApplication decomposePar runParallel $(getApplication) runApplication reconstructPar You can see many examples in tutorials, for example in tutorials/multiphase/interFoam/laminar/damBreak. For what concerns decomposeParDict, you should write there the number of cores, and then runParallel will see that information. The second question is not so clear to me, sorry. Cheers, Lorenzo |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SimpleFoam & Theater | jipai | OpenFOAM Running, Solving & CFD | 3 | June 18, 2019 10:11 |
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library | aylalisa | OpenFOAM Installation | 23 | June 15, 2015 14:49 |
Cluster ID's not contiguous in compute-nodes domain. ??? | Shogan | FLUENT | 1 | May 28, 2014 15:03 |
DecomposePar unequal number of shared faces | maka | OpenFOAM Pre-Processing | 6 | August 12, 2010 09:01 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 07:36 |