Questions tagged [mesh]
Questions on the use and creation of meshes including the use of MeshRegion, ElementMesh, and TetGenLink.
888 questions
56
votes
2
answers
2k
views
A geometric multigrid solver for Mathematica?
Cross posted to community.wolfram.com
Mathematica ships a variety of linear solvers through the interface
LinearSolve[A, b, Method -> method]
the most ...
41
votes
4
answers
7k
views
Creating a 2D meshing algorithm in Mathematica
As what is proving to be a difficult, but entertaining task, I am attempting to adapt a 2D meshing algorithm created for MATLAB and port it to Mathematica. I understand meshing functions already exist ...
36
votes
2
answers
2k
views
How to perform Loop subdivision on a triangle mesh with Mathematica?
(Cross posted on Wolfram Community)
Every now and then, the question pops up how a given geometric mesh (e.g. a MeshRegion) can be refined to produce a (i) finer ...
33
votes
7
answers
6k
views
How to generate a mesh with quadrilateral elements?
I have the following code that generates a finite element mesh:
...
32
votes
2
answers
2k
views
Smoothing 3D contours as post processing
Context
Following this question (and great answer!),
It would be nice to have a function which also smooths 3D contours plots once they have been done. There are various solutions which involve ...
25
votes
3
answers
4k
views
Removing unwanted appearance of underlying mesh
Let us first define two positive definite matrices:
M1 = {{2, -6}, {4, 8}};
M2 = {{2, 3}, {4, 8}};
then set two points ...
25
votes
6
answers
3k
views
How to obtain the cell-adjacency graph of a mesh?
In addition to the accepted answer, see also the answer by Chip Hurst. This functionality is built in, but not documented.
Given an arbitrary mesh region, how can I efficiently obtain the graph ...
25
votes
3
answers
2k
views
Convert binary voxel image to geometric region
I have a binary voxel image which described a contiguous region in space.
Example:
...
24
votes
4
answers
1k
views
24
votes
1
answer
1k
views
Mismatch between Mathematica and COMSOL in 3D FEM problem
I would like to solve an advection-diffusion problem on a torus domain. There are three Dirichlet conditions: One at the inlet (concentration $c=0$), one at the outlet ($c=0.5$) and one at the wall ($...
23
votes
3
answers
5k
views
Finding a Concave Hull
I have 3D clustered data:
Is there any other way to get the concave hull of 3D data points?
23
votes
2
answers
3k
views
DelaunayMesh in a specified closed region - creating a concave hull from a set of points
I have a list of discrete points wich I want to use as nodes for creating a 2D mesh. I used DelaunayMesh and it works fine. The problem that I have is that some elements/polygons are outside of the ...
23
votes
2
answers
1k
views
How can the {x,y,z} points that fall on the outer boundary of a set of values be selected and smoothly surfaced?
For a given set of x,y,z values, that may, or may not form a uniform shape, how can the center of the data cloud be found, and the surface points be located and a solid smooth surface created from ...
22
votes
2
answers
2k
views
How to access FEM shape functions?
A couple of days ago I asked here about surface meshes and plotting on surfaces.
Now I have another question: How can I access the surface or boundary element shape functions?
I would like to ...
22
votes
1
answer
2k
views
Eigenfunctions of the Laplacian on an arbitrary mesh
So, I've constructed a mesh over which I'd like to find eigenfunctions of Laplace's equation with a free boundary (a zero Neumann boundary condition along the edge).
Mostly because I figured an ...