https://linen.dev logo
blockMesh smoothing
# meshing
b
@tkeskita Sorry to tag you, but I really want to know how I can smooth this mesh. This is a pure blockMeshDict-based mesh, and I tried running the commands from the GitHub readme page, and i couldnt get it smoothed at all, and the worst part is, the circular region is part of a longer rectangular region as shown in the picture Any help would be really appreciated. Thank you!
t
What is the output from the command when you just run
smoothMesh -parallel
?
b
Boundary frozen points something something
Sorry i cant conclusively tell you, im running a case and its hogging up everything and the last time i opened another terminal, it crashed 😕
I ran a genric command, and all it did was run through some iterations but i could see 0 visible changes
Copy code
Create mesh, no clear-out for time = 0

Patches for boundary layer treatment: none
Patches for boundary point smoothing: "(\".*\")"
Applying following parameter values in smoothing:
    centroidalIters        1000
    relTol                 0.02
    minEdgeLength          0.000196271
    maxStepLength          5.88812e-05
    relStepFrac            0.5
    totalMinFreeze         0
    edgeAngleConstraint    true
    minAngle               35
    faceAngleConstraint    true
    minAngle               35
    maxAngle               160
    layerMaxBlendingFraction 0.3
    layerEdgeLength          0.000196271
    layerExpansionRatio      1.3
    minLayers                1
    maxLayers                4

Starting to build pointNeighPoints (this may take some time)
Done building pointNeighPoints

Boundary layer treatment is disabled. Either no layerPatches were specified or boundaryMaxBlendingFraction is zero

Did not find corners and feature edges in isCornerPoint and isFeatureEdgePoint files

Boundary point smoothing is disabled. Missing smoothingPatches, or one or both of files:
"constant/geometry/targetSurfaces.obj"
"constant/geometry/initEdges.obj"

Mesh includes a total of 193040 points:
  - 0 internal (non-boundary) points
  - 193040 boundary points
Mesh minimum edge length = 0.000392541
Mesh maximum edge length = 0.190735
Distance tolerance = 1.96271e-08

Boundary point classification summary:
- Detected number of corner points: 0
- Detected number of feature edge points: 0
- Detected number of layer surface points: 0
- Detected number of smoothing surface points: 0
- Detected number of frozen surface points: 193040

Smoothing iteration=1 nFrozenPoints=193040 residual=0
Residual reached relTol, stopping.
Writing new mesh to time flexyBeamTwoprocessor0

ClockTime = 1 s.

End
Finalising parallel run
t
0 internal points 😂 What does checkMesh say about that mesh?
Writing new mesh to time flexyBeamTwoprocessor0
This is a weird name for a time step, did you run with
mpirun
?. I think your case is somehow bad. Try to copy your mesh into a clean case directory under constant/polyMesh, and take the system folder from here https://github.com/tkeskita/smoothMesh/tree/main/testcase3/system and then try to run again. Try to run the serial case with just
smoothMesh
b
Nothint, its perfect lol
Thats just my case name, i had to decompose and run it with mpirun Otherwise it would complain about running parallel on 1 processor
Okay will do this
2 Views