fem_mesh_refinement
Add local mesh refinement to an existing FEM mesh by specifying faces or edges and a smaller characteristic length to improve simulation accuracy in critical regions.
Instructions
Add a local mesh-refinement region to an existing FEM mesh.
mesh: handle of the FEM mesh. refs: list of {handle, face|edge|tag} dicts identifying the elements (faces/edges) to refine on. char_length: characteristic element length (mm) on those elements; should be smaller than the global mesh setting to actually refine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mesh | Yes | ||
| name | No | MeshRegion | |
| refs | Yes | ||
| char_length | Yes |