|
[Sponsors] |
[snappyHexMesh] snappyHexMesh and chtMultiRegionFoam DomainNameProblem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 4, 2014, 09:39 |
snappyHexMesh and chtMultiRegionFoam DomainNameProblem
|
#1 |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
Hello,
I have a problem in setting up a chtMultiRegionFoam case with snappyHexMesh. Following these steps i did: - blockMesh with a block 50mmx50mmx50mm - loaded stl for fluid and for solid region (fluid region cube 50x50x50 and solid a plate 2x10x10) - SnappyHexMesh is then running and finishes without any error - When I am doing splitMeshRegions I got a result which i don understand. I get two domains which is correct but for the fluid domain i got domain0 as name but I think i have specified that this domain should be named "air". Has anybody any idea what am I doing wrong? Thanks very much in advance for your help. |
|
September 9, 2014, 05:42 |
|
#2 |
Member
Join Date: Nov 2011
Location: Berlin
Posts: 31
Rep Power: 14 |
Hi michael,
you could try to give a name for that region in blockMeshDict like Code:
... blocks ( hex (0 1 2 3 4 5 6 7) myfluidname (10 10 10 ) simpleGrading (1 1 1) ); ... best dirk |
|
September 17, 2014, 14:43 |
|
#3 |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
Hi dirk,
thanks for your help. I now get only two regions but it is a bit strange how this is done. I have the following situation. A plate is the solid domain (with contact to two sides min_X and max_X two the boundary) as you can see in the picture 01.jpg and the surrounding is the fluid domain. My blockMeshDict looks as follows: ------------------------------------------------ blocks ( hex (0 1 2 3 4 5 6 7) air (10 10 10) simpleGrading (1 1 1) ); ------------------------------------------------ so I think the fluid domain is defined well. The solid domain is defined with an STL file named platte.stl. -------------------------------------------------- geometry { platte.stl { type triSurfaceMesh; name platte; } }; castellatedMeshControls { maxLocalCells 100000; maxGlobalCells 2000000; minRefinementCells 10; maxLoadUnbalance 0.10; nCellsBetweenLevels 1; resolveFeatureAngle 80; features ( { file "platte.eMesh"; level 1; } ); refinementSurfaces { platte { level (3 6); faceZone platte; cellZone platte; cellZoneInside inside; } } refinementRegions { } locationInMesh (0 0 0); allowFreeStandingZoneFaces true; --------------------------------------------- I think the red highlighted text is how I define the second domain solid named platte. In the /constant RegionProberties I have defined the following: ----------------------------------- regions ( fluid (air) solid (platte) ); ----------------------------------- so the air should be the fluid domain and the platte should be the solid domain. What i got is quite strange (the colours stand for one region so red=region0 and blue=region1) What am I doing wrong? |
|
September 22, 2014, 03:30 |
|
#4 |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
Hello,
I have solved the problem. The surfaces of the STL files has been orientated in two different direction (see picture). The colours stands for the orientation, grey orientation to the outside, yellow orientation to the inside. That was the problem for that. |
|
September 22, 2014, 06:13 |
|
#5 |
Member
Join Date: Nov 2011
Location: Berlin
Posts: 31
Rep Power: 14 |
hi and sorry that I had no time to have a look at it so far ... but thanks for your update anyway!
regards dirk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! | divergence | OpenFOAM Meshing & Mesh Conversion | 0 | January 23, 2019 04:17 |
[snappyHexMesh] snappyHexMesh creates inverted meshes | emat | OpenFOAM Meshing & Mesh Conversion | 3 | March 27, 2017 08:50 |
[snappyHexMesh] Using snappyHexMesh for multiple enclosed regions | richard_vega | OpenFOAM Meshing & Mesh Conversion | 0 | November 13, 2014 14:28 |
[snappyHexMesh] Multi Stl snappyHexMesh | kalyangoparaju | OpenFOAM Meshing & Mesh Conversion | 2 | November 15, 2012 09:16 |
chtMultiRegionFoam + Sphere mesh + makeCellset.setSets | alvora | OpenFOAM | 4 | March 22, 2011 02:44 |