SfePy NTC

Previous topic

sfepy.mesh.mesh_generators module

Next topic

sfepy.mesh.splinebox module

This Page

sfepy.mesh.mesh_tools module

sfepy.mesh.mesh_tools.elems_q2t(el)[source]
sfepy.mesh.mesh_tools.smooth_mesh(mesh, n_iter=4, lam=0.6307, mu=-0.6347, weights=None, bconstr=True, volume_corr=False)[source]

FE mesh smoothing.

Based on:

[1] Steven K. Boyd, Ralph Muller, Smooth surface meshing for automated finite element model generation from 3D image data, Journal of Biomechanics, Volume 39, Issue 7, 2006, Pages 1287-1295, ISSN 0021-9290, 10.1016/j.jbiomech.2005.03.006. (http://www.sciencedirect.com/science/article/pii/S0021929005001442)

Parameters:

mesh : mesh

FE mesh.

n_iter : integer, optional

Number of iteration steps.

lam : float, optional

Smoothing factor, see [1].

mu : float, optional

Unshrinking factor, see [1].

weights : array, optional

Edge weights, see [1].

bconstr: logical, optional :

Boundary constraints, if True only surface smoothing performed.

volume_corr: logical, optional :

Correct volume after smoothing process.

Returns:

coors : array

Coordinates of mesh nodes.