Questions tagged [mesh]

The tag has no usage guidance.

152 questions
Filter by
Sorted by
Tagged with
19 views

Use Bluetooth to create a group chat? [closed]

I have a question regarding the Bluetooth protocol. If I'm right iPhone has a feature to track lost devices by using the Bluetooth protocol as a kind of crowdsourced mesh network. If your lost device ...
• 95
74 views

What do diagonal (DOF-to-self) terms of stiffness matrix physically mean?

I am used to interpreting each entry of a solid mechanic system's stiffness matrix as a 1D (linear or angular) spring joining one DOF (column index) to another (row index). But this interpretation ...
45 views

B-Spline basis on a 3D mesh

I need to interpolate some (sparse) data scattered on a 3D manifold mesh. In other words, I have a scattered interpolation problem where the input values are defined for some vertices of the mesh. ...
• 301
1 vote
125 views

1 vote
146 views

From 3D to 2D with a STL file

I would like to do a 2D projection from a 3D geometry saved in a stl file and know the distance between the two projected planes. In order to explain better the concept I will start with an almost ...
• 109
75 views

Getting gradient from voxel, is it possible and how?

The R package rmarchingcubes implements a marching cubes algorithm. Given a voxel contructed from a function defining an isosurface, it returns a 3d mesh with some vertex normals. When I plot this ...
85 views

Billiard reflection inside a triangular mesh

I am currently interested in billiards and their trajectories. I would like to simulate a billiard inside a water-tight mesh. A mesh basically consists of a list of points in 3D space (vectors with 3 ...
• 113
91 views

structured quad mesh with transition zone

I wonder which software can be used to generate the mesh like below. Anybody has an idea?
• 289
1 vote
309 views

Find intersections between mesh and curve inside it

I have a simple square mesh, and a curve (discretised by another mesh) inside it. Here a picture worths thousand words. What I want to achieve is to find, for every cell $K$ of the circular (...
• 405
40 views

Packages can help to refine parallel mesh and optimize parallel mesh

I have a parallel code. The code is implemented using MPI. I want to find a package that can help to implement global mesh refine and optimize meshes (avoid very thin element). The mesh in my work is ...
• 323
57 views

How does RFEM give non-linear results with a two-node mesh?

I did this simple analysis on RFEM, of a rigid-supported beam loaded with a point moment. Before analysis, I didn't assign any kind of mesh manually. When I turn on the FE Mesh visible on Project ...
• 133
368 views

How to efficiently get mesh cell/face connectivity?

If I have 3 lists: points, faces and cells that represents a mesh, where: points is a list of x,y,z coordinates, for example ...
• 304
1 vote
79 views

How to determine the orientation of convex/concave hexahedra?

I am writing a code that checks the orientation of a list of vertices (along with face connectivity) describing both convex and concave hexahedra. The face connectivity table stores the list of vertex ...
• 233
730 views

Is mesh orthogonality important for FEM?

While studying mesh quality metrics in literature and software documentation, I've seen discussions about mesh orthogonality in Finite Volume Method (FVM) contexts, but not for Finite Element Method (...
• 141
1 vote
148 views

Renumbering the nodes for quadratic basis functions for a 2D domain

I have a simple triangulation for a 2D domain, described by the connectivity matrix $T$ and by the point matrix $P$. For didactic purposes, I assembled the stiffness matrix for $-\Delta u = f$ by ...
• 405
251 views

Visualize a mesh from list of 3D point and faces

I have a list of vertices and faces. Now, I want to create a mesh using the given points and faces list and visualize it. Also, I want to play with the mesh by adding an extra point on the faces. Can ...
• 111
298 views

Solving PDEs in parallel

I have read different approaches on how to solve pdes in parallel which are discretized using finite element method. For example: Non-overlapping domain decomposition approach as mentioned in https://...
• 481
1 vote
1k views

Open-source Hexahedral meshing tools

I'm looking for an open-source automatic meshing tool or library able to generate full or dominant hexahedral mesh starting from a provided arbitrary model i.e. a surface triangular mesh stored in STL ...
• 11
144 views

Software to build a mesh of a surface from points on the surface

I have a set of points $(x_i,y_i,u(x_i,y_i))\in\mathbb{R}^3$, $i=1,\dots N$, over a surface $S$ (from experimental data). I need to calculate the integral of a function $F$ over that surface. If the ...
• 515
647 views

Meshing surface of a sphere with a subdomain

I am trying to build a triangle mesh of the surface of a sphere which also includes a subdomain defined by a 'polygon'. Here is a successful example (subdomain defined by the red dots): Note that the ...
87 views

How to refine the tetrahedron if exist two longest length edge?

In some algorithms to refine tetrahedron, we need to calculate the longest edge. background If exist a tetrahedron with node ABCD, it has edges ...
• 323
1 vote
559 views

How to compute gradient of a cell having a boundary face?

In many situations in unstructured mesh solvers, one needs to compute gradient of arbitrary variable $\phi$ such as temperature or velocity at face centers (one of such situations is correction for ...
• 304
338 views

Going From Blender Structure defined by triangles to full 3D mesh (Using GMSH?)

I currently have created a model airplane in Blender by drawing a closed volume with triangular planes. I want to do a FEM calculation on this object, meaning I need a fine 3D tetrahedral mesh of this ...
2k views

How to calculate skewness for a mesh?

I am writing a code to calculate mesh quality stats such as: cell volume, face areas and non-orthogonality between faces (basically something like OpenFOAM's ...
• 304
703 views

What are the best ways to interpolate a vector field inside (convex) polygons?

I want to interpolate a vector field inside convex polygons in a polygonal mesh. For triangular meshes the scheme uses a piecewise constant interpolation in the triangle, discretized at the center of ...
• 607
76 views

FEM Meshing artifact at nodes with fewer neighbors

I wrote a 2D-FEM solver to solve some diffusion process and wanted to verify my code with a test problem. The input was $f(x,y) = x^2+y^2$ and I applied the stiffness matrix on it to get $\Delta f = 4$...