A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [mesh]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
35 views

Using a mixture of QuadElement and TriangleElement in ElementMesh

TL;DR Is it possible to have a ElementMesh made of a mixture of a TriangleElements`` andQuadElements` Setup I've got the ...
1
vote
0answers
103 views

ElementMeshContourPlot and PlotLegend [closed]

Does anybody know why ElementMeshContourPlot ignored PlotLegends->Automatic? I have used the useful topic about Von Mises stress but I vould like a colored scale on the right of the plot. With ...
1
vote
0answers
81 views

Regions, Mesh Regions, and Graphics

This behavior seems inconsistent to me: ...
1
vote
0answers
56 views

Options problem for 3D plots

If I'm not mistaken, the code below should produce two identical pictures of a torus. But it does not. The MeshStyle->Thick option seems to be ignored for the first. Obviously the second code ...
1
vote
0answers
797 views

Plot3D of multiple functions

I am trying to combine 3D plots of different functions. Usually, this works: Plot3D[{f1[x,y],f2[x,y]},{x,-1,1},{y,-1,1}] However, I am encountering a weird ...
1
vote
0answers
43 views

Can't find RegionIntersection of DelaunayMesh

I want to find the RegionIntersection of two DelaunayMesh (given below), but the evaluation never ends. Though when I plot them, their regions are valid and shown to intersect. Why is this? ...
1
vote
0answers
55 views

Very bad mesh when using MeshRefinementFunction [duplicate]

This post is not a duplication of another post, which is a region plot problem. Basically, the problem shown here is caused by a curved boundary, which is belong to the region aimed to be refined, and ...
1
vote
0answers
52 views

Mathematica generated DAE file can not be opened by other softwares [closed]

I am building a 3D model in mathematica, but the exported dae file can not be opened other softwares except mathematica, ie., xcode and preview on mac. As a comparison, the same dae file can be ...
1
vote
0answers
126 views

Creating a 3D mesh on an Image3D Figure

I have a stack of images that I compile with the Image3D function. The resulting figure is 360x360x93 pixels and named "X". My goal is to mesh the figure. I have defined points that correspond the ...
1
vote
0answers
347 views

ContourPlot has extra mesh in PDF

When I create a contour plot it looks fine. When I copy as PDF, and paste into another document (e.g. Apple Mail, Keynote, etc.) it has an extra unwanted white mesh. This occurs even when the option ...
1
vote
0answers
106 views

How to define inclusions in FEM/NDSolve? [closed]

I am trying to simulate the compaction process of hot mix asphalts and want to do this with mathematica's FEM libraries. How can I define inclusions in meshes (i.e aggregate particles in the binder) ...
1
vote
0answers
112 views

Import[] .obj data with per-vertex colors?

There's a somewhat standard way of including per-vetex color with obj files: Geometric Vertex[edit] A vertex can be specified in a line starting with the letter "v". That is followed by (x,y,z[,w]...
1
vote
0answers
81 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
152 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
330 views

Draw mesh edge / map a graph to a mesh [closed]

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 get ...
1
vote
1answer
1k views

Drawing a shape on the mesh of a Plot3D [duplicate]

My question pertains to modifying the output of a typical Plot3D object, and overlaying a 2D shape, like a circle, on the 3D surface. Thinking of the surface as a stretchy surface, I want to put the ...
1
vote
0answers
854 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
1answer
41 views

DelaunayMesh error : EmptyRegion

What is wrong with the following list of points? When I apply DelaunayMesh[listPoints] I get the error ...
0
votes
1answer
53 views

How can I check to see if two cylinders overlap?

Is there a simple way for me to determine if a cylinder a and cylinder b overlap in the 3D space? I have spent a few hours ...
0
votes
1answer
126 views

Solving for potential outside a square with outgoing flux condition?

Context As a follow up/ simplification of this question I would like to compute the potential created by a charged square outside of the square. I would like to impose that far enough the outgoing ...
0
votes
1answer
98 views

Behaviour of meshing in BoundaryDiscretizeRegion

I have come across some strange behaviour in the function BoundaryDiscretizeRegion[], using Mathematica 11.0.0 on Mac OSX 10.11.6. It seems like the option ...
0
votes
1answer
155 views

Workaround for Mesh Generation Bugs? [closed]

I'm having trouble with the ToElementMesh and ImplicitRegion functions. There is a known bug that causes mesh variability (bug), but I couldn't find a workaround for the problem with the mesh below. ...
0
votes
1answer
63 views

How to auto-rotate a MeshRegion?

I have a 3D MeshRegion region1 as below: ...
0
votes
1answer
64 views

BoundaryDiscretizeRegion Plots does not work with ParametricPlot3D

I am trying wit this data ...
0
votes
1answer
108 views

Export from ParametricPlot3D to 3D file formats

I would like to export this parametrization from ParametricPlot3D in a 3D format such as .obj or .stl. All the exports I have made show an ugly mesh. Is there a way ...
0
votes
1answer
174 views

Concerning the default coloring made by Plot3D in 10.4 [closed]

Recently, I have installed Mathmatica 10.4, but I found out that when I use Plot3D, it gives me a mesh. In order to add color, I have to explicitly set ...
0
votes
1answer
155 views

Why is `B /. h -> #2 &` not a pure function?

I am trying to plot the energy surface of the mean field Ising model, but I am running into a problem with setting the MeshFunctions for the plot. ...
0
votes
1answer
72 views

Understanding Energy Function [closed]

I am trying to implement as rigid as possible mesh interpolation solution provided in this article called "As-Rigid-As-Possible Surface Morphing" http://citeseerx.ist.psu.edu/viewdoc/download?doi=10....
0
votes
1answer
96 views

Transforming a BoundaryMeshRegion

I want to transform a BoundaryMeshRegion but cannot find a way that conforms with the syntax. As given below, it doesn't work if I generate the ...
0
votes
1answer
204 views

How to add Polygons (using existing Lines and Points) to MeshRegion?

I have a MeshRegion N with Points and Lines, but without Polygons. That means that MeshCells[N, 2] returns ...
0
votes
1answer
249 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
38 views

How to perform adaptive mesh refinement on a 3D element consisting of 4 superimposed meshes on AceFem?

I'm trying to perform adaptive mesh refinement on a body that is composed of 4 separate meshes joined together. The body is composed of the following individual meshes: ...
0
votes
1answer
82 views

Nonatomic expression expected at position 1 in First[None]

This is a follow-up question to an earlier question:Solving a system of PDEs on a piecewise polynomial domain. I tried to solve the system of equations from one of my previous post with the different ...
0
votes
0answers
82 views

Create a tube from a section of a sphere using mesh

How does one make a meshed tube starting from a section of a sphere and later edit the tube's section parametrically.
0
votes
0answers
102 views

Understanding BoundaryMeshRegion error

I am trying to calculate the difference between two Cuboids: ...
0
votes
0answers
113 views

Broken lines in exporting pdf of 3D plot in Mathematica 10

I want a 3D-plot with mesh lines as written in the code below: ...
0
votes
0answers
202 views

2d dxf output of a 3d model

Hi I have imported a 3d model into Mathematica converting it from a PLY or STL format. This works fine. By using the procedure in Slice through Graphics3D and modifying it slightly for a mesh region ...
0
votes
0answers
36 views

Discretization of a region for NDSolve using [duplicate]

I would like to mesh the region below in order to use it for a calculation by means of NDSolve. Could anyone help me to discretize this region for NDSolve using. Thank you very much. Needs["NDSolve<...
0
votes
0answers
179 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 ...
-1
votes
1answer
102 views

Adjusting VoronoiMesh size

How it is possible to extend VoronoiMesh to the whole ListPlot in the following example? ...