OOF: Finite Element Analysis of Microstructures

/adaptive_mesh/create

/adaptive_mesh/create

/adaptive_mesh/create -- create an adaptive mesh

Synopsis

Create an initial uniform mesh to adapt. The initial mesh should be roughly on the scale of the largest features you wish to resolve in the end. Making the mesh much finer initially will lead to smaller elements than necessary in regions where the features are coarse. Making the mesh much coarser initially will make it hard to find and resolve the features of interest.

Arguments

nx

The number of element sides that will appear along the top and bottom of the image--or one minus the number of nodes in the x-direction. Default: 1

ny

The number of element sides that will appear along the left and right sides of the image--or one minus the number of nodes in the y-direction. Default: 1