Skip to main content

Questions tagged [mesh]

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

0 votes
1 answer
31 views

How to increase the mesh size in NDsolve

I am trying to increase the domain over which I solve a differential equation with NDsolve. However, when I tried doing this I started getting very poor results. After some googling I learned that ...
eli morhayim's user avatar
3 votes
1 answer
74 views

How to Implement Progressive Cell Coloring in a General Mesh or Tiling?

Here are some examples of what I am talking about using Voronoi for simplicity: Given: That can be colored depending on which cell is randomly chosen: I feel like there would be a better name for ...
Teg Louis's user avatar
1 vote
1 answer
63 views

Finite element mesh not resolving small features

I am trying to create a 2D finite element mesh. This geometry is a box with a $8 \times 2$ array of disks and a "L"-shape slab removed. I built the region using ...
user55777's user avatar
  • 703
2 votes
0 answers
38 views

How to control maximum and minimum coordinates in ImageMesh[]?

I am trying to use ImageMesh to create a mesh from voxel data. On this mesh I would like to calculate the coordinates of the vertices sitting on the boundary, an equivalent approach would be to ...
Dunlop's user avatar
  • 4,083
5 votes
3 answers
437 views

Voronoi mesh of a circular image

I have a circular image (below) and would like to obtain a Voronoi mesh. I am able to obtain the centers of the cells inside the image as ...
Rachele Allena's user avatar
7 votes
2 answers
378 views

How to find stationary points graphically?

I have the following Mathematica code: ...
codebpr's user avatar
  • 2,433
0 votes
1 answer
70 views

Why do internal edges appear in MeshRegion?

why MeshRegion[] introduces additional (useless) edges in the construction of polyhedra: ...
sebqas's user avatar
  • 605
2 votes
1 answer
86 views

How to avoid overlapping mesh lines ParametricPlot3D?

I have the following plot obtained using ParametricPlot3D: obtained via the following code: ...
annuk89's user avatar
  • 65
2 votes
1 answer
345 views

Strange behavior of `VoronoiMesh`

In this very simple example the helpful function VoronoiMeshworks as expected. Every point pts is shown with a polygonal ...
Ulrich Neumann's user avatar
4 votes
1 answer
149 views

AceFEM-generated mesh versus Mathematica mesh: How to extrude 2D mesh to create a 3D mesh in AceFEM

The packages MeshTools (@Pinti) and FEMAddons seem to feature similar functions. I sometimes had strange (i.e. inconsistent results when meshing would work/not work without changing anything). Which ...
jmt's user avatar
  • 101
6 votes
1 answer
186 views

How to create a quality periodic Voronoi mesh bounded by the unit square featuring only regular or irregular hexagons?

I have been trying to build a 2D periodic Voronoi mesh ideally containing only hexagons (apart near the boundaries of the unit square). Here is an example of what I am after. Here I have perfect ...
jmt's user avatar
  • 101
1 vote
0 answers
86 views

NDSolve`FEM` 3D problem [closed]

I solved Laplace's differential equation in 2D with functions from the NDSolveFEM package and everything worked fine, but when I extended it to 3D, it doesn't work ...
someoneelse's user avatar
2 votes
1 answer
140 views

How to define styles for a mesh based on a function of element index

My main objective is to have control over style of each element in a mesh. I don't quite understand how ElementMeshToGraphicsComplex works. It looks very cool and ...
MathX's user avatar
  • 1,734
0 votes
2 answers
101 views

How best to 2D plot nearly vertical function regions?

There has got to be some better way of plotting near vertical function values other than the default 2D Mesh. The only specifications that I want to give are the function definition and the horizontal ...
Carl's user avatar
  • 717
8 votes
4 answers
293 views

Shading region under (or over) a curve in horizontal bands

It seems like this should be simple, but I have spent most of the day trying to find a similar example on the web and there appears to be nothing remotely similar. Since I cannot find a way to make ...
Mike Pugh's user avatar
  • 183

15 30 50 per page
1
2 3 4 5
56