Questions on the use and creation of meshes including the use of MeshRegion, ElementMesh, and TetGenLink.

learn more… | top users | synonyms

0
votes
1answer
54 views

Writing PDE boundary conditions with derivatives, More general than Neumann

I am solving 2D Laplace equations on f[x,y] with boundary conditions SomeVector[x,y].Grad[f] == 0 This is more general than Neumann. Is there a way to set such boundary conditions for a curved ...
15
votes
0answers
982 views

Using TetGen in Mathematica to get 3D Voronoi diagram

In this post, the use of TetGen for 3D Voronoi tesselation has been briefly discussed. However there is still no info about the use of TetGen to generate a 3D Voronoi diagram. The TetGen documentation ...
8
votes
0answers
81 views

Why isn't ToElementMesh figuring out what my boundary is in 3D?

I am trying to change the element mesh for a FEA application I'm doing. I thought I understood it, when I did it in 2D. Here's my shape: ...
8
votes
0answers
81 views

Defining a MeshRegion from a list of points and Polygons with duplicate points does not work in 10.4

Bug introduced in 10.4 and persists through 10.4.1 This code produces a MeshRegion in versions 10.0 through 10.3.1, ...
8
votes
0answers
303 views

How to create an ElementMesh of a Sphere

I want to create an ElementMesh of a "sphere". To reduce the computational effort I want to use HexahedronElement; the ...
6
votes
0answers
135 views

Possible Bug with Options in DelaunayMesh

Bug introduced in 10.2 and persisting through 10.4 Update: It turns out after some testing, none of the Options work in ...
4
votes
0answers
46 views

What is the difference between getting a boundary mesh from ToBoundaryMesh vs doing it with ToElementMesh?

I am trying to figure out how to define and use meshes for FEM and NDSolve. I've figured out that if I want more resolution near my boundaries, I can use ToBoundaryMesh to first create the boundary ...
4
votes
0answers
257 views

Region Intersection for MeshRegion objects embedded in 3D

How can I create a logical intersection of MeshRegion objects that are three-dimensional? The RegionIntersection function will ...
4
votes
0answers
70 views

NIntegrate::ncvbr: How should we interpret and handle this error not mentioned in any documentation?

I have some user-defined module describing my integrand which has to be computed numerically (it's much more complicated than this but bear with me): ...
2
votes
0answers
92 views

ElementMesh (rendering?) issue

The appearance of the following ElementMesh is bad as you can see for example on the inside surface of the shell. The same problem happens converting to a ...
2
votes
0answers
75 views

Export Time-dependent STL Graphics

I have recently found that Mathematica may export files (.stl) which may be used for Blender (3D pictures and animations). However, I am interested in mathematics visualization, and I suppose that ...
1
vote
0answers
48 views

How to label vertices on a mesh with user defined values?

I am trying to write a code to estimate geometric properties (i.e. Mean Curvature, Gaussian Curvature, Principle Curvatures) on a triangulated mesh. I would like to save the calculated data as a set ...
1
vote
0answers
56 views

Why is MeshRegion atomic?

I wanted to make some changes inside a MeshRegion today and found that unlike Graphics objects, it can't be done directly ...
1
vote
0answers
36 views

Find best convex approximation of an “almost convex” function

I've got values of a function of two variables at integer points inside a rectangle, that is, a rectangular table $f(i,j)$, $1\leqslant i\leqslant m$, $1\leqslant j\leqslant n$. The function is very ...
1
vote
0answers
56 views

Handling Self-Intersecting Regions

I am trying to test various parametric regions of a function for membership of the origin (point {0,0}). I generate the boundary by creating four parametric boundary curves, and then use RegionMember ...
1
vote
0answers
639 views

Doing local FFT on huge 3D vector data cell mesh and visualizing it spatially?

Simulation type: I'm running a simulation with the OOMMF micromagnetics package http://math.nist.gov/oommf/ where are magnet is represented by a mesh of 3 million cells, it gets excited by a ...
0
votes
0answers
35 views

Is there a extend mesh generation program link with mathematica such as openfoam native blockmesh?

I have read the relative mesh tutorial in mathematica, and found that it mainly focused on finite element method with triangle and tetrahedron, so I wonder if it is possible to link a general extend ...
0
votes
0answers
30 views

How can I efficiently select certain mesh elements based on measurement criteria?

I am trying to do some mesh cleaning based on element size, but I'm having a hard time seeing how to best use the MeshRegion data structure to accomplish it without ...
0
votes
0answers
49 views

Ordering of MeshCoordinates in MeshRegion and associated BoundaryMeshRegion

When generating a MeshRegion from a BoundaryMeshRegion and vice versa it would be advantageous if the two types of objects were ...
0
votes
0answers
133 views

How to get an element mesh from a region?

I've been exploring a new 3D solid commonly called the "Chestahedron" (7 faces of equal area). I wanted to find the centroid, so turned to Mathematica and found it!:) Other things of interest turned ...
0
votes
0answers
126 views

RegionPlot3D of MeshRegion with VertexColor-like behavior

I regularly use the VertexColors option with GraphicsComplex[] to render images of objects with certain attributes at the ...
0
votes
0answers
180 views

NDSolve: basic settings for PDEs

I am trying to learn how to solve PDEs in Mathematica in order to deal with relatively simple problems without needing to formulate weak formulations in FreeFem++, which is rather time consuming for ...