|
[Sponsors] |
[mesh manipulation] Problem in SplitMeshRegion when the stl mesh is scaled down |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 27, 2022, 02:54 |
Problem in SplitMeshRegion when the stl mesh is scaled down
|
#1 |
Member
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 7 |
Dear all,
1. Initially, I have assigned stl mesh inside topoSet using surfaceToCell and ran the topoSet. Its working as expected. 2. Afterwards, I run the splitMeshRegion and it gave me correct region splitting with 2 regions(expected). 3. Now, I scaled down the stl mesh to 40%. Again I ran the topoSet with this new stl mesh. The topoSet ran properly. 4. But, when I run splitMeshRegions, it creates many external domain which is not needed. What would be the issue with respect to this? I have checked the stl mesh using SurfaceCheck before and after scaling it. In both cases, the surface is closed. Any leads will be appreciated. Regards, Sunag R A. |
|
January 28, 2022, 03:33 |
|
#2 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
Could it be that scaling the STL adversely changes its position relative to the mesh? You can check this easily, by visualising the unscaled and the scaled STL in ParaView.
Scaling the STL may also alter its position in space as is depicted in the attached sketch. On the left, we see an unscaled triangle mesh. If we scale the triangle mesh down, we essentially scale down the position vectors of all triangle nodes. Thus, if the STL is not centered around the coordinate axes, scaling the mesh inevitably changes the position. On the right, we see a scaled triangle mesh, that has been scaled down. |
|
January 29, 2022, 01:50 |
|
#3 | |
Member
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 7 |
Quote:
Dear Gerhard Holzinger, Thank you very much for your reply. I tried to scale down the mesh by keeping the STL centered. The mesh looks good but not splitting into the expected regions as described in the question. As you said scaling may alter the position, how to make it better? Or, is scaling all the time creates this error? Regards, Sunag R A. |
||
Tags |
splitmeshregions, stl, toposet |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh stuck when snap is turned on | yukuns | OpenFOAM Meshing & Mesh Conversion | 3 | February 2, 2021 14:05 |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
[ICEM] Problem with using the Delaunay volume mesh method | manahara | ANSYS Meshing & Geometry | 12 | December 25, 2014 22:54 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |
unstructured vs. structured grids | Frank Muldoon | Main CFD Forum | 1 | January 5, 1999 11:09 |