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

learn more… | top users | synonyms

0
votes
1answer
80 views

Improving NDSolve computation speed for 3D stationary PDE

Continuing my last question, I am trying to solve 3D Schrodinger equation (with mass equals to 1) and with no potential (I will add a potential later). The analytical solution for this equation is ...
0
votes
0answers
36 views

Convert 3D array to mesh for CAD/ABAQUS?

I am new to both finite element meshes and exporting to meshes, but I am struggling with the appropriate thing to do to convert my array of filled/empty nodes into a mesh for FEM. I created a ...
11
votes
2answers
122 views

Integration of a PDE solution over a custom-defined subdomain

Preamble: In my previous question I raised a problem of a custom-chosen integration of the solution of a PDE. In that case it was an integration along a line lying within the PDE domain. The solution ...
2
votes
1answer
68 views

Increasing NDSolve computation range for 3D stationary PDE

I am trying to solve 3D Schrodinger equation (with mass equals to 1) and with no potential (I will add a potential later). My goal is to set boundary conditions on the outer boundary of a sphere and ...
0
votes
0answers
64 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 ...
4
votes
1answer
126 views

NMinimize fails on Mesh?

Context I want to identify the minimum of a solution of a PDE found on a mesh. Problem I do not understand why NMinimize fails on a mesh? As a test case, ...
3
votes
3answers
71 views

List connectivity of points in discretized mesh

I'm trying to automate the extraction of the points and a compatible connectivity list for meshes created using the DiscretizeRegion or similar method. If I create ...
3
votes
2answers
164 views

Generating Meshes with Conforming Boundaries for FEM

I would like to solve a PDE on an annulus with some boundary condition that relates the inner circle to the outer circle. (For example, periodicity along radial lines). If I use a finite element ...
7
votes
2answers
165 views

Poor/wrong sampling in 1D DiscretizeRegion of splines?

Bug introduced in 10.1 and persisting through 10.2 or later Context In relation to this question I have would like to use splines to define a ...
11
votes
1answer
207 views

How to specify PDE Boundary condition on Bspline?

Context I would like to solve a PDE on a boundary which is parametrized as a BSpline. I am trying to solve the force-free Grad-Shafranov equation on a ...
4
votes
1answer
53 views

DelaunayMesh in a specified closed region

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 ...
6
votes
0answers
90 views

Possible Bug with Options in DelaunayMesh

Update: It turns out after some testing, none of the Options work in DelaunayMesh when 3D point sets are involved. Original ...
0
votes
1answer
59 views

Boundary discretize region of ellipsoid returns a three dimensional region

I need to integrate a rather complicated function on an ellipsoidal surface, specifically a prolate spheroid surface. Im using the mathematica 10 feature of discretize the regions in mesh and pass ...
3
votes
1answer
118 views

Surface Area of a Region inside a Region

I need to find the surface area of a region which is within another region. The regions I'm working with are fairly complex and so I'm looking for a general solution, but I'll use a cylinder and ...
8
votes
2answers
140 views

Mesh Problems with MatrixPlot

I've come across some weird behavior in 10.1 when trying to use Mesh with MatrixPlot. In the example below, when specifying Mesh, I only get one line along the X axis at 100 instead of lines at {100, ...
2
votes
2answers
117 views

Extracting points from the MeshFunctions of Plot3D

I am trying to extract the points from the mesh lines of a 3D plot. (Not my actual function.) ...
3
votes
1answer
146 views

Transforming a region obtained with RegionPlot

I have a region r0, obtained from an interpolated function, with the use of RegionPlot. Let's call this function under the ...
2
votes
1answer
95 views

ToElementMesh fails on DodecahedronIcosahedronCompound

Context I would like to compute the eigenmodes of a DodecahedronIcosahedronCompound. Why? Because it is cool! and I wonder how it rings… Starting with: ...
5
votes
0answers
97 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 ...
9
votes
2answers
148 views

VoronoiMesh without edges

How can I remove the edges of a VoronoiMesh? I would like to display only the closed cells not touching the border of the image. This is my binarized source image (imgbw): I am doing this: ...
3
votes
1answer
84 views

ConvexHullMesh sometimes excludes valid points from convex hull

I have a sequence of polytopes that I am trying to visualize, and I find that ConvexHullMesh sometimes excludes points from the convex hull, and it does so inconsistently. In particular, notice these ...
5
votes
1answer
125 views

What are some useful (or hidden) properties of MeshRegion?

There is quite a bit of powerful functionality built in to MeshRegion, but it seems to be lacking in some areas. For example: extracting a list of edges that live ...
1
vote
1answer
133 views

Generating a boundary mesh from a list of points

I have a list of points from which I am trying to generate a mesh: ...
3
votes
0answers
105 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 ...
15
votes
1answer
223 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 ...
3
votes
1answer
39 views

Disassambling a boundary mesh into pieces and building it back again fails. Why?

I have just a misunderstanding of a sort. What I want is (1) to build a boundary mesh, (2) then to disassemble it into a list of the boundary points, and (3) to further assemble it back starting from ...
2
votes
1answer
77 views

ToElementMesh[]

Could you please help with the following: ...
0
votes
0answers
68 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
42 views

How can I get the 1-ring neighbor of mesh triangle?

I have an .obj file. I import it into my mathematica and get the vertices and also triangles as follows: ...
6
votes
1answer
271 views

Eliminate an unexpected mesh line

What is the source of the vertical mesh (ring) in this figure and how does one eliminate it? ...
3
votes
1answer
76 views

Problem with MeshOrderAlteration to create a 2nd order ElementMesh

After working on this 2D domain, I'm trying to reproduce the same ideas to create a mesh of a sphere composed of QuadElement, instead of more simple and common ...
0
votes
1answer
173 views

Create hexagonal mesh on 3D Parametric Plot and 3D spheres?

I am looking to put a cool geometric mesh on this object. I came across this question that explained how to put a hexagonal mesh on a parametric equation but I have a series of geometric objects of ...
5
votes
1answer
147 views

NDSolve and FEM support for non conformal meshes of a disk [with Kernel crash]

I want to create an ElementMesh for a disk. For my specific scenario, some author advise to use a regular mesh, where the radial and tangential directions are ...
3
votes
1answer
117 views

Define and refine mesh around a hole

I am solving Laplace equation with particular geometry and boundary conditions: ...
0
votes
0answers
60 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 ...
10
votes
1answer
352 views

Hexagonal Mesh on a 3D surface

I am new to Mathematica, and I am trying to create a 3D hexagonal mesh on a 3D surface. It is very similar to what was done in this post Create a torus with a hexagonal mesh for 3D-printing, but now ...
1
vote
0answers
105 views

Draw mesh edge / map a graph to a mesh

I am doing a "force density" method to generate a mesh under certain load. The original mesh is like this: Then, I generate a IncidenceMatrix from the graph for further matrix transformation and ...
4
votes
2answers
285 views

How to generate mesh and calculate volume of 3d object?

I saw a couple of posts dicretizing the graphic and generate DelaunayMesh to get volume of 3D object. The issue I'm having is that DelaunayMesh creates a bigger solid covering the original one, ...
4
votes
2answers
125 views

Join Two Element Meshes

Let's say I have two element meshes defined as the following: ...
9
votes
4answers
1k views

Triangular mesh of random points on a sphere

My employer with a new logo (shown below). I do not have information on how this was created (as it was done by an outside company), though I'm fairly sure it was not done in any formal mathematical ...
2
votes
1answer
127 views

Export generated mesh

Say I have generated a mesh using ToElementMesh, following one of the examples here: http://reference.wolfram.com/language/FEMDocumentation/ref/ToElementMesh.html ...
3
votes
1answer
139 views

Meshing of a cube

I want to mesh a cube and what I use is ToElementMesh[Cuboid[ {-1, -1, -1}, {1, 1, 1}]]. This creates a regular grid of the cube. Is there a way to specify that ...
6
votes
1answer
142 views

Long running ToElementMesh with very “large” domains

I'm trying to solve a system of PDE over a large domain. This doesn't means I need to have a huge amount of mesh points and mesh elements to discretize the domain. Just that the domains has a big ...
6
votes
2answers
176 views

Discretizing regions with pointy boundaries

I'm trying to discretize a region with "pointy" boundaries to study dielectric breaking on electrodes with pointy surfaces. So far I've tried 3 types of boundaries, but the meshing functions stall ...
2
votes
0answers
59 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 ...
3
votes
2answers
137 views

BUG: Problems generating FEM ElementMesh in 1-D

fixed in 10.1 (windows) I'm trying to build an ElementMesh for a simple 1-D problem. First, I build the boundary ...
2
votes
1answer
182 views

Distinguishing left from right adjacent triangles in triangle mesh [closed]

What I'm trying to do: I'm trying to create a path-drawing function which will produce a path like the one I-P in the diagram below. The way this path was generated requires me to swap between the ...
9
votes
4answers
432 views

How discretize a region placing vertices on a specific non-uniform grid

Given a generic region, for example: Ω = ImplicitRegion[ 2 x^2 + 3 y^2 + 2 x y - 2 <= 0 ∧ x^2 + y^2 > .1, {x, y}]; and a non-uniform grid, for ...
10
votes
1answer
389 views

representation of custom deformation on a meshgrid

I am trying to represent 2D deformations on a rectangular grid. In Mathematica 10, there is a method to solve the elastic differential equations and then represent the deformation as presented here: ...
0
votes
0answers
170 views

Time-dependent mesh deformation

I want to display the result of a deformation with a mesh, but I solved the deformation with a time dependency. So I have two functions: uxsol[t,x,y] and ...