-
-
July 31, 2018 at 11:28 pm
joepa_2017
SubscriberI have run into the following error:
"Unable to mesh area 1 because of shape problems. It may help to change element size on edges of area."
I would like to know if there is a way in APDL to change element size on edges of area. I assume this would mean that the mesh would be much more fine at the edge of an area while interior elements may not be so refined. However, I don't know how to implement this, aside from refining the mesh along lines after creating an initial mesh.
-
July 31, 2018 at 11:55 pm
Sandeep Medikonda
Ansys EmployeeHello,
Mesh Sizing on the command line or input file includes the following commands:
- Use ESIZE to define default global mesh size applicable to regions where local mesh size controls have not been defined
- Use KESIZE, LESIZE, AESIZE to assign local element size at keypoints, on lines and areas, respectively
- Use EREFINE, NREFINE, KREFINE, LREFINE, AREFINE to refine existing meshes at elements, nodes, keypoints, lines, and areas respectively
- Use KCLEAR, LCLEAR, ACLEAR, VCLEAR to clear existing meshes at keypoints, lines, areas, and volumes
So, let's say you want to gradual size transition on let's say area 6 in your model:
ESIZE,0.4 ! GLOBAL MESH SIZE = 0.4
ASEL,S,AREA,,6 ! SELECT AREA #6
ALLSEL,BELOW,AREA ! SELECT ALL ENTITIES USED BY AREA #6
KESIZE,ALL,0.1 ! AREA #6 CORNER KEYPOINT MESH SIZE = 0.1
AESIZE,6,0.1 ! AREA #4 MESH SIZE = 0.1
VMES,ALL ! MESH ALL CURRENTLY SELECTED VOLUMES
You can find some more examples here.
Hope this helps?
Regards,
Sandeep
-
August 1, 2018 at 12:43 am
joepa_2017
SubscriberWill this make all elements on Area 6 have equal size? That is, will all of the elements in Area 6 have a maximum size of 0.1? I would like to have a very fine mesh at one boundary of the area, for example, and then let the mesh become more coarse moving away from that boundary.
-
August 1, 2018 at 1:29 am
Sandeep Medikonda
Ansys EmployeeYes, this would make the elements on area 6 have a smaller size i.e, 0.1 and gradually grow to 0.4 as we move away. You can always do this with lines if you need just the boundary.
-
August 2, 2018 at 12:40 am
joepa_2017
SubscriberCool, I see that this process works for gradually changing the mesh size, thank you!
-
- You must be logged in to reply to this topic.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- ANSYS Workbench Measuring within Design
- how to improve the inflation quality at sharp corners?
- check element type
- The mesh file exporter could not resolve cyclic dependencies in overlapping contact regions error
- How to resolve Mesh Failure
- Meshing Error
- Error in meshing
- Conformal vs Non-Conformal Mesh
- execution error inside the mesher. The process suffered an unhandled exception or ran out of memory
- inflation created stairstep mesh at some location
-
2656
-
2120
-
1349
-
1118
-
461
© 2023 Copyright ANSYS, Inc. All rights reserved.