|
[Sponsors] |
[Other] Different decomposition for SHM & PimpleFoam? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 20, 2021, 18:09 |
Different decomposition for SHM & PimpleFoam?
|
#1 |
Member
|
Hi to all,
I am trying to run a case in parallel. My problem is that I want to refine the mesh with SHM. Depending that I read that the scotch method should be avoided because of possible trouble in that combination. But the scotch method is that one which is obviously the fastest to get the calculation results. Is there a way to decompose first for SHM and after that to decompose again with the scotch method? I tried various attempts like this in my Allrun-script but without success: Code:
#!/bin/sh cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions rm log.* rm -rf ./processor* application="$(getApplication)" runApplication blockMesh rm ./system/decomposeParDict cp ./system/_decomposeParDict_SHM ./system/decomposeParDict runApplication decomposePar -copyZero -force runParallel snappyHexMesh -overwrite runApplication foamListTimes -rm rm ./system/decomposeParDict mv log.decomposePar log.decomposePar_SHM runApplication reconstructParMesh -constant runApplication extrudeMesh runApplication transformPoints "translate=(0 -0.02 0)" runApplication renumberMesh cp ./system/_decomposeParDict_Pimple ./system/decomposeParDict runApplication decomposePar -force rm ./system/decomposeParDict mv log.decomposePar log.decomposePar_Pimple runParallel $application runApplication reconstructPar Best regards, Michael |
|
September 22, 2021, 15:51 |
|
#2 |
Member
|
I was able to get results by having a look into the "turbineSiting" tutorial.
Maybe this helps some other users. Best Michael |
|
Tags |
decomposition, scotch, shm |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain decomposition of 3D overset grid case | tok3rat0r | OpenFOAM Running, Solving & CFD | 2 | February 24, 2023 03:58 |
Running pimpleFoam in steady state | trailer | OpenFOAM Running, Solving & CFD | 6 | January 24, 2023 04:07 |
FoamExtend4.0 decomposition warnings? | EternalSeekerX | OpenFOAM Running, Solving & CFD | 0 | May 23, 2021 08:17 |
[snappyHexMesh] How to define to right point for locationInMesh | Mirage12 | OpenFOAM Meshing & Mesh Conversion | 7 | March 13, 2016 15:07 |
meshing of a compound volume in GMSH | shawn3531 | OpenFOAM | 4 | March 12, 2015 11:45 |