|
[Sponsors] |
[Other] preserveFaceZones constraint on a multi region mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 29, 2018, 05:23 |
preserveFaceZones constraint on a multi region mesh
|
#1 |
New Member
Viktor Klüber
Join Date: Jan 2018
Posts: 10
Rep Power: 8 |
Hello,
I am modelling a multi region mesh consisting of a solid and a fluid part in OpenFoam. It is supposed to depict a duct structure. The interfaces between solid and fluid part (INTERFf & INTERFs) are of "regionCouple" boundary type and transfered to zones by (eg. for solid region): Code:
setSet -batch solid.setSet -region solid setsToZones -noFlipMap -region solid Code:
faceSet solidFluid new patchToFace INTERFs For using a customized conjugate solver for conform meshes on this model, owner and neighbour cells of the defined zone must be processed on the same processor. So, I wanted to use the preserveFaceZones constraint in decomposeParDict like explained in: https://github.com/OpenFOAM/OpenFOAM...composeParDict I used: Code:
preserveFaceZones (fluidSolid solidFluid); When now decomposing the mesh automatically (eg. using simple, hierachical or scotch) the preseveFaceZone does not have any influence on the decomposition. The single decomposed meshes are still inconsistently distributed. As an example the zones for one processor are depicted on the following picture, where red shows the solid and blue the fluid zone. For my purpose, these zones should be overlaying. I executed the decomposition first with fe4, then of4, fe32 and later of5 without any improvement. Unfortunately, I also did not find any instructions or similiar topic on a forum explaining the preserveFaceZones constraint in detail. Therfore I opened this thread. Is there any possibility using an automatic method for my purpose? Maybe I did some severe mistakes in defining the zones or executing the decomposition. Right now I am doing the decomposition manually with the setFieldsDict. Thus, an automized decomposition would save me a lot of time in the future. Thank you for your help in advance. Kind regards, Viktor |
|
October 30, 2018, 08:15 |
|
#2 |
Member
Saleh Abuhanieh
Join Date: Nov 2017
Posts: 83
Rep Power: 9 |
Hi Viktor,
Did you solve it? |
|
October 30, 2018, 08:24 |
|
#3 |
New Member
Viktor Klüber
Join Date: Jan 2018
Posts: 10
Rep Power: 8 |
Hey,
Unfortunately no! I am still reliant on the manual decomposition of my multi-region meshes via the setFieldDict scheme. Best regards, Viktor |
|
October 30, 2018, 09:55 |
|
#4 |
Member
Saleh Abuhanieh
Join Date: Nov 2017
Posts: 83
Rep Power: 9 |
Hi Vektor,
Could you please explain how you are decomposing manually? I am facing the same problem, I opened a thread while ago: Segmentation fault initiated from a region-to-region BC |
|
May 21, 2019, 12:28 |
|
#5 |
New Member
Gaoqiang Yang
Join Date: Apr 2018
Posts: 14
Rep Power: 8 |
Hi, Have you solved the problem? May I ask that how do you view mesh in each processor? After I decompose the mesh, when I tried to view in paraFoam it failed. Thanks a lot |
|
May 21, 2019, 12:45 |
|
#6 | |
New Member
Viktor Klüber
Join Date: Jan 2018
Posts: 10
Rep Power: 8 |
Quote:
You can view single segements of the decomposed mesh by executing parafoam in the respective processor# subfolder. |
||
Tags |
constraints, decomposepardict, preservefacezones |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with chtMultiregionFoam radiation boundary condition | baran_foam | OpenFOAM Running, Solving & CFD | 10 | December 17, 2019 18:36 |
How I can introduce my power heat (W) in chtMultiRegionFoam? | aminem | OpenFOAM Pre-Processing | 32 | August 29, 2019 03:23 |
[Other] conformed FSI mesh for unstructured fluid region | ashish.svm | OpenFOAM Meshing & Mesh Conversion | 10 | August 2, 2019 09:40 |
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! | divergence | OpenFOAM Meshing & Mesh Conversion | 0 | January 23, 2019 05:17 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |