NDSolve`FEM`
NDSolve`FEM`

ElementMeshProjection

ElementMeshProjection[mesh,p]

applies the projection p to the coordinates of an ElementMesh mesh.

Details and Options

  • ElementMeshProjection returns a new ElementMesh with coordinates computed by mapping p/@mesh["Coordinates"].
  • ElementMeshProjection can be used to project a 3D boundary mesh to a 2D mesh.
  • ElementMeshProjection can be used to create parts of a 3D boundary mesh from a 2D mesh.
  • ElementMeshProjection can be used to scale or rotate a mesh.
  • ElementMeshProjection accepts the same options as ElementMesh.

Examples

open allclose all

Basic Examples  (2)

Load the package:

Create an ElementMesh:

Visualize the ElementMesh:

Visualize the projected ElementMesh:

Create and visualize a 2D ElementMesh:

Project the 2D mesh to 3D:

Visualize the projected ElementMesh:

Scope  (7)

1D to 1D  (1)

Create and visualize a 1D ElementMesh:

Scale the 1D mesh:

2D to 2D  (2)

Create and visualize a 2D ElementMesh:

Scale the mesh:

Visualize the projected ElementMesh:

Create and visualize a 2D boundary ElementMesh:

Scale the mesh:

Visualize the projected boundary ElementMesh:

2D to 3D  (2)

Create and visualize a 2D ElementMesh:

Project and scale the mesh:

Visualize the projected boundary ElementMesh:

Create and visualize a 2D ElementMesh:

Project the mesh to 3D:

Visualize the projected boundary ElementMesh:

3D to 3D  (1)

Create and visualize a 3D ElementMesh:

Scale the mesh to 3D:

Visualize the projected ElementMesh:

3D to 2D  (1)

Create and visualize a 3D boundary ElementMesh:

Project the boundary mesh to 2D:

Visualize the projected ElementMesh:

Applications  (1)

Make a rotational transform on a full element mesh:

Visualize the original wireframe mesh in black and the transformed wireframe in blue:

Possible Issues  (3)

Projections from 3D to 1D and vice versa are not implemented:

Projections from 2D to 1D and vice versa are not implemented:

Projections can lead to a distorted ElementMesh:

In some cases, this can be circumvented by using a different element type:

Wolfram Research (2024), ElementMeshProjection, Wolfram Language function, https://reference.wolfram.com/language/FEMDocumentation/ref/ElementMeshProjection.html.

Text

Wolfram Research (2024), ElementMeshProjection, Wolfram Language function, https://reference.wolfram.com/language/FEMDocumentation/ref/ElementMeshProjection.html.

CMS

Wolfram Language. 2024. "ElementMeshProjection." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/FEMDocumentation/ref/ElementMeshProjection.html.

APA

Wolfram Language. (2024). ElementMeshProjection. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/FEMDocumentation/ref/ElementMeshProjection.html

BibTeX

@misc{reference.wolfram_2024_elementmeshprojection, author="Wolfram Research", title="{ElementMeshProjection}", year="2024", howpublished="\url{https://reference.wolfram.com/language/FEMDocumentation/ref/ElementMeshProjection.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_elementmeshprojection, organization={Wolfram Research}, title={ElementMeshProjection}, year={2024}, url={https://reference.wolfram.com/language/FEMDocumentation/ref/ElementMeshProjection.html}, note=[Accessed: 21-November-2024 ]}