Quantcast
Channel: COMSOL Forums: Mesh element volume
Viewing all articles
Browse latest Browse all 80

Re: Mesh element volume

$
0
0
I extracted two quantities:
- dvol (for a set of coordinates x,y z)
- meshtype (for a set of coordinates x,y,z)

To obtain the volume of a mesh element (in Matlab), I multiply "dvol" at coordinate (x,y,z) by the appropriate factor depending on the value of "meshtype" at that same coordinate.

"meshtype" is equal to the number of element edges for each mesh element type, for example, 9 for prism and 6 for tetrahedron.

The factors are:
Triangle : 1/2
Tetrahedron : 1/6
Prism: 1/2
Pyramid : 1/3

Viewing all articles
Browse latest Browse all 80

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>