|
[Sponsors] |
mappedPatch in mesh created using snappyHex from .stl files |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 3, 2022, 10:51 |
mappedPatch in mesh created using snappyHex from .stl files
|
#1 |
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 |
Hello Everyone
I have created a mesh using snappyHexMesh utility from STL file. The created mesh has patches such as inlet, outlet and so on. I want that the flow conditions at inlet boundary should be fully developed. In order to do that, I want to use mappedPatch bc. I have done this before on normal meshes, which is created using blockmesh utility. In simple meshes, one needs to define the inlet is mappedPatch type boundary in blockMeshDict and then required fields can be mapped. But on the mesh created using snappyHex, I have no clue how and where can i define the inlet boundary as mappedPatch and coresponding mapping location. My blockMeshDict is rectangular domain having patches similar to my .stl files. After creating my background mesh (using blockMesh), i use snappyHexMesh to generate the mesh for my geomtery. in my knowldege, in doing this, I couldn't define my inlet boundary as mappedPatch in blockMeshDict unlike done for simple meshes. Does any one has an idea, how can I provide mappedPatch bc in my created mesh from stl file? Best Regards Atul |
|
February 1, 2022, 14:18 |
snappy mapped BC
|
#2 |
New Member
John Pearson
Join Date: Feb 2022
Posts: 1
Rep Power: 0 |
Here is an example case, taken from snappyHexMeshDict:
refinementSurfaces { inlet { level (2 2); patchInfo { type mappedPatch; offset (0.5 0 0); sampleRegion region0; sampleMode nearestCell; samplePatch none; } } } Then you finish configuring the mapped boundary condition in the "0" directory, it sounds like you have done this before. |
|
February 2, 2022, 05:55 |
|
#3 |
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 |
Dear John
Thanks for your answer. Your suggestion seems to be a better option but I have manually changed the patch as mappedPatch in polyMesh/boundary file after blockMesh and snappyHexMesh execution and this worked fine as well. Best Regards Atul |
|
Tags |
mappedpatch, snappyhexmesh, stl files |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
[snappyHexMesh] snappyHexMesh stuck when snap is turned on | yukuns | OpenFOAM Meshing & Mesh Conversion | 3 | February 2, 2021 14:05 |
[snappyHexMesh] Snappyhex mesh: poor inlet mesh | Swagga5aur | OpenFOAM Meshing & Mesh Conversion | 1 | December 3, 2016 17:59 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |