Questions tagged [mesh]
Questions on the use and creation of meshes including the use of MeshRegion, ElementMesh, and TetGenLink.
177
questions
5
votes
1answer
399 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 ...
5
votes
3answers
173 views
Unexpected behavior of ListPlot3D
This question surfaced when I was working on this question
Given
zVals = {{1, 1, 1, 1}, {1, 2, 1, 2}, {1, 1, 3, 1}, {1, 2, 1, 4}};
and
...
5
votes
1answer
210 views
How to get a larger triangle when we discretize a sphere?
In order to solve this problem,I want to get larger triangles (Of course less amount). But I don't know how to do this. I have tried MaxCellMeasure and ...
4
votes
1answer
116 views
Speedup DiscretizePDE when InitializePDECoefficients contains Interpolation functions
I work on FEM in Mathematica and want to speed up the computation when dealing with very fined mesh (i.e., a huge number of DOF).
I found that a very much longer time is consumed when the ...
4
votes
1answer
99 views
ElementMeshInterpolation on a BoundaryMesh
It appears as though ElementMeshInterpolation does not play nice with the element meshes produced by BoundaryMesh
...
4
votes
1answer
131 views
Drawing a “realistic” VoronoiMesh
Consider a set of points generated via Lloyd's relaxation algorithm
...
4
votes
1answer
67 views
How to obtain a Region from a numerical (!) function
I'd like to achieve a Region from a purely numerically defined function.
Like this one:
...
4
votes
1answer
190 views
Where to get the detailed code of MMA for grid mesh
I know DelaunayMesh can triangulate the specified area, but I can't see the code and partition idea of this built-in function. I want to know how to get the source ...
4
votes
1answer
241 views
Plot a revolution surface, with two cross sections to show its shape
I'm having trouble plotting a revolution surface with intersections. What I have done is shown in the figure, with the help of SphericalPlot3D: .
But I can't plot ...
4
votes
3answers
124 views
Forcing at least $n$ spatial steps in solving a 1D spatio-temporal PDE problem with NDSolve
I want to solve the telegraph equation with a spatial discretization forced at 200 points. I tried:
...
4
votes
3answers
173 views
Cell-adjacency Graph of a Square Mesh
Consider the list of points
pts = {{1, 1}, {1, 2}, {2, 1}, {2, 2}}
I want to use them to define a 2x2 square mesh using ...
4
votes
1answer
357 views
Writing loops for triangle elements
I'm kind of new to using Mathematica, so any help is great. I'm trying to write a program that will create a list or matrix that will give each small triangle's point numbers. For example if given ...
3
votes
0answers
129 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 ...
3
votes
2answers
206 views
Add interpolating functions over an unstructured mesh to get a single interpolating function
In a Newton iterative FEM PDE solver I am writing, each iterative step involves updating the current solution function u by adding to it the increment function <...
3
votes
1answer
348 views
Deleting mesh elements from a mesh
I am trying to make an interpolation function over my data. The points I am selecting make an unstructured grid, so I am following through the steps in the documentation "ref/message/...
3
votes
1answer
117 views
How to resize “ImageMesh”
How to make high resolution DiscretizeRegion from the given image?
ImageDimensions[img]
$\{963, 594\}$
For instance there ...
3
votes
1answer
227 views
Wave equation with mesh, “The ranges … cannot be combined to a region”
I am attempting to solve the wave equation with the boundary displacement oscillating in time, using mesh.
Here is a working program for the heat equation with the same boundary conditions:
...
2
votes
1answer
76 views
How can I calculate volume of such a MeshRegion Object
The Data is here:
meshData
===
PolygonData is here
...
2
votes
1answer
129 views
Finding the tangents of the function in each mesh
I have a 2D graphic which contains a table of curves within a circular region.
...
2
votes
1answer
97 views
ToElementMesh Error/General meshing strategies
I am trying to create a mesh using ToBoundaryMesh as opposed to DiscretizeRegion. I was hoping this would be a better strategy ...
2
votes
1answer
102 views
Information concerning undocumented function “Region`Mesh`MeshNearestCellIndex[r ]”
I'm looking for further information of the undocumented function Region`Mesh`MeshNearestCellIndex[r] (Thanks to Henrik Schumacher!)
The function considers a ...
2
votes
1answer
114 views
Set maximum space between elements in 3D mesh
A region in 3D space has been discretized to obtain a list of points.
The resulting ListPointPlot3D plot is:
I will like to obtain a mesh from these points, but ...
2
votes
1answer
186 views
mesh refinement in a cylindrical mesh
I have been trying to refine a cylindrical mesh that i have generated but somehow the refinement that i visualize is not exactly that i prescribed. Here is the piece of code for it.
...
2
votes
1answer
363 views
1
vote
1answer
207 views
Angles inside of Voronoi mesh cells
How can I determine the angles belonging to the vertices of each interior Voronoi mesh cell?
...
1
vote
3answers
258 views
0
votes
0answers
53 views
How can I convert such a model into a BoundaryMeshRegion
The obj file is here
As you see, I cannot import such a house model into Mathematica with BoundaryMeshRegion Option.
Import[objFile, "BoundaryMeshRegion"]
So my ...