The tag has no usage guidance.

26 questions
Filter by
Sorted by
Tagged with
135 views

### BoundaryMeshRegion Error: Boundary surface is not closed

I am trying to create a BoundaryMeshRegion comprised of many cubes with random locations, in a relatively small region. I have had success implementing my technique for a smaller number of cubes (say,...
• 353
48 views

### Package AceFEM error: cannot be automatically installed

I have a problem to perform the package AceFEM in Mathematica 12.0.0.0 for Mac (software: macOS Monterey Version 12.4 | processor: 1,8 GHz Dual-Core Intel Core i5). I downloaded the newest AceGen and ...
70 views

### 3D Mesh refinement near sphere boundary and on surface revolutions

I am trying to solve an advection-diffusion problem inside surface of revolutions. I have high velocity gradients near the boundary of the bounding surface. Is there a way to refine the mesh near the ...
• 75
403 views

### STL generation for Ball-in-a-maze puzzle

As a minimal example, consider: ...
• 16.3k
830 views

### How can I generate a Swiss-Cheese type region and render it transparent?

I am trying to visualize a percolation model that is equivalent to a swiss-cheese where the holes are conducting. At some point, the size of the holes gets large enough for them to touch and a ...
• 101
492 views

### How to graph a solid common to multiple functions

I want to be able to graph the solid that is contained by two functions. I am graphing x^2+z^2=400 and y^2+z^2=400 and this the code I used and the graph I got: ...
• 115
147 views

### How to do boolean operations between a large amount of regions

I want to do boolean operations between a large amount of regions. For convenience, I consider a simplified problem. The problem is as follows, digging out a large number of small hemispheres on the ...
• 175
196 views

### How to create cylinder pie using ParametricRegion?

I'm wondering that this simple definition of a cylinder pie doesn't work ...
• 37.9k
210 views

### How to union 3D region to calculate volume?

I have a Teapot likes: region = RepairMesh[ExampleData[{"Geometry3D", "UtahTeapot"}, "MeshRegion"]] I want to calculate the volume ...
• 24.5k
139 views

### What does "TetGenTetrahedralize: Tetrahedralize returned an error, 2. mean? Also error number 1,2,3...?

regioncalc5 = ToElementMesh[regioncalc4, MeshRefinementFunction -> ff] TetGenTetrahedralize: Tetrahedralize returned an error, 2.
• 31
120 views

### Is there a way to SurfaceArea of each face of 3D shape separately?

Consider the following 3D shape as an example: ClearAll[cylinder]; cylinder[r_,z_]:=Cylinder[{{r,r,0},{r,r,z}},r]; It is a cylinder whose entire ...
• 8,377
358 views

### How to make a high resolution mesh from RegionIntersection in 3D

I want to make a high-resolution 3d model of the Reuleaux tetrahedron by using Mathematica The Reuleaux tetrahedron is the intersection of four balls of radius s centered at the vertices of a ...
• 8,638
217 views

### How to convert cuboid to mesh efficiently

cuboids = Table[Cuboid @@ (pts = RandomReal[100, {2, 3}]), {i, 10000}]; Method1: ...
• 8,155
146 views

### Export Discretized ImplicitRegion as step using OpenCascade

Following the reply by @user21 to this post on exporting a region to a step file, I tried to do the same for a Discretized ImplicitRegion, but OpenCascadeShape didn't appear to work. Is there a switch ...
• 1,339
1k views

### 3D FEM Vector Potential

I am trying to reproduce an FEM result in a paper. Due to possible copyright I cannot show the result directly but fortunately there is a free link An Incomplete Gauge for 3D Nodal Finite Element ...
• 191
158 views

### How to discretize the boundary of two regions?

Problem How to discretize a surface constructed with multiple components? Unsuccessful attempts include combining the objects top and ...
• 956
134 views

### Why FEM not giving output at the boundary

I am trying to solve simple 3D Poisson's equation of thermal conduction due to heat generation (q) in a spherical composite, where from 0 to a (inner radius) conductivity is k1 and from a to b (outer ...
• 55
293 views

### Balanced flux in FEA using NeumanValue

I'm using NeumannValue boundary conditions for a 3d FEA using NDSolveValue. In one area I have positive flux and in another area i have negative flux. In theory these should balance out (I set the ...
• 379
900 views

### Cylindrical coordinates in FEM

I am trying to solve the Stokes equation for fluid flow in a 3d cylinder. All boundaries are no-slip, apart from the top boundary, which enforces flow in the x-direction. My problem is that I can't ...
• 1,184
279 views

### Raytracing using Regions & NSolve

I want to use geometric shapes in Mathematica to build complex shapes and use my raytracing algorithm on it. I have a working example where we can get the intersections from a combination of a ...
• 3,862
1 vote
110 views

### why on some MaxCellMeasure values, FEM gives internal 1/0 error?

V 12.1 on windows 10 When I was answering NDSolveValue taking too long I noticed the following When I use some value for MaxCellMeasure, then FEM gives 1/0. Why ...
• 112k
183 views

### Define a region of revolution

My goal is to use "RegionCentroid" on a solid of revolution. This works great for 2d regions: ...
• 676
258 views

### What can we expect from boolean region operations?

In my recent efforts to design some 3D printable objects, I have been tempted to use relatively recent additions to the Wolfram Language such as RegionDifference ...
• 19.4k
497 views

### how to make the surface of a 3D region smooth

I want to draw this region,but the surface is rough.I tried to find options to improve the surface but failed. ...
• 6,827