CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Different decomposition for SHM & PimpleFoam?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2021, 17:09
Default Different decomposition for SHM & PimpleFoam?
  #1
Member
 
Wowbagger's Avatar
 
Michael S.
Join Date: May 2020
Location: Hamburg, Germany
Posts: 47
Rep Power: 5
Wowbagger is on a distinguished road
Send a message via Skype™ to Wowbagger
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
Does anybody have experience with that?


Best regards,
Michael
Wowbagger is offline   Reply With Quote

Old   September 22, 2021, 14:51
Default
  #2
Member
 
Wowbagger's Avatar
 
Michael S.
Join Date: May 2020
Location: Hamburg, Germany
Posts: 47
Rep Power: 5
Wowbagger is on a distinguished road
Send a message via Skype™ to Wowbagger
I was able to get results by having a look into the "turbineSiting" tutorial.
Maybe this helps some other users.


Best
Michael
Wowbagger is offline   Reply With Quote

Reply

Tags
decomposition, scotch, shm


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 02:58
Running pimpleFoam in steady state trailer OpenFOAM Running, Solving & CFD 6 January 24, 2023 03:07
FoamExtend4.0 decomposition warnings? EternalSeekerX OpenFOAM Running, Solving & CFD 0 May 23, 2021 07:17
[snappyHexMesh] How to define to right point for locationInMesh Mirage12 OpenFOAM Meshing & Mesh Conversion 7 March 13, 2016 14:07
meshing of a compound volume in GMSH shawn3531 OpenFOAM 4 March 12, 2015 10:45


All times are GMT -4. The time now is 04:52.