problem with adding layers
2 Attachment(s)
Hello all,
I have some problems with adding layer near surface given by stl files. I have tried to add 5 layers (i.e. nSurfaceLayers 5) for all patches. Other addLayersControls settings are as follows. Code:
relativeSizes true; patch faces layers overall thickness [m] [%] ----- ----- ------ --- --- building1 617 0 0 0 building2 1419 0 0 0 ... Does anybody have some ideas about it? Leo |
Hi Leo,
Well by seeing your configuration, I think from what I have seen that Code:
nGrow 1; Also, for Code:
featureAngle 60; If these two parameters are not enough to solve the addlayer phases: For the sharp edges what you can do is increase up to 10 Code:
nSmoothSurfaceNormals For snapping setup you can increase : Code:
nSolveIter 30; For instance on a 6 millions cells, it is not affecting a lot the time for meshing but it improves a bit the snapping phase. Cheers, |
4 Attachment(s)
Quote:
Hi John, Thank you for your help. I set nGrow = 0, featureAngle = 120 (or 150 or 180) with others unchanged (Figure angle120, angle150 and angle180). I also tried to increase nSmoothSurfaceNormals to 10 and nSolveIter to 300. Layers were successfully added but the results are far from ideal. Do you have other suggestions? Thank you, Leo |
Hi Leo,
It seems you have a bad snap. I did not see it but you forgot in your SHM dict to mention the feature snapping tools : try to add these lines in the snappingControls section just after the function nRelaxIter 5; Code:
// Feature snapping |
Hi Leo,
I'm running into similar issues when trying to mesh a ship hull. As long as I stick to the settings used in the DTCHull tutorial (3 wall layers), everything's fine, but as soon as I try to add more layers, I end up with an invalid mesh. I came across some posts by seaspray (Eric Bretscher) in this thread (posts #6 and #8). They're from 2014, so not very recent, but his strategy might be worthwhile trying. Cheers, Sita |
4 Attachment(s)
Quote:
Hi John, You are right. The snap is bad. I have checked .stl and .eMesh and everything seems fine (Fig. building_stl and edgeMesh). But SHM can't capture edges of rooftop correctly while grid at the bottom is OK (Fig. building_snap and building_mesh2). Here are settings for snap Code:
snapControls Thank you, Leo |
Hi John and Sita,
Thank you for your replies. I solved this by decreasing resolveFeatureAngle. Cheers, Leo |
All times are GMT -4. The time now is 01:21. |