Why is hex meshing preferred over tet meshing in CFD?

In summary: I didn't disagree with what you said, I disagreed with your use of the word "accuracy" in this context.
  • #1
mahaesh
12
0
Hi everyone!
Can you explain me Why always hex mesh is preffered instead of tet mesh if hex mesh is possible in perticular geometry? give brief explanation as flux point of view.
 
Engineering news on Phys.org
  • #2
For the stuff that I've done, a hex is sometimes needed if high-order schemes are being used, as a structured mesh is needed.
 
  • #3
Not even trying to provide a complete answer, but would say that hex element types have typically better "accuracy" (with the type and degree of interpolation they possesses as well as element shape (aspect ratio, distortion etc.) related issues, if you perform for example error estimation) for solving most PDEs. In addition, structured/mapped/hex meshes typically have better "quality" (could call it distribution, position (and just overall control) of degrees-of-freedom in the model). There is a whole lot more to be said about this if interested or want to read more.
 
  • #4
I would have to disagree with you Perennial, maybe it's mostly semantics, but either way. I would argue that no grid type has better "accuracy" than another type. Tets can give better answers than hex meshes, and vice versa. I will agree that using structured hex meshes give you ability to use high order of accuracy; but that concept is not directly related to the actual accuracy. Using first-order tet elements with localized bunching can give you a better answer in less computation time than hexes. Again though, it's on a case by case basis.

However, in the field of aeroacoustics, I would say that structured hexes are a necessity, when possible. This goes back to the concept of order of accuracy. Order of accuracy is defined as the rate at which the error decreases with decreasing mesh spacing. The error can decrease exponentially though for higher order schemes. For example, when halfing the grid spacing, for a single order scheme, the error decreasing by:

[tex] \epsilon = (2)^1 = 2 [/tex]

Where 2 is the grid density factor, and 1 is the order of the scheme being used. If I were to use a 6th order DRP scheme, I would expect the error to drop by:

[tex] \epsilon = (2)^6 = 64 [/tex]

Now that's not to say that a higher order scheme will always out perform a low order scheme, because that's not the case. In fact, at large grid spacing, one can show that a low order scheme actually provides a better solution with less error. However, if one needs very very high accuracy (as in the case of aeroacoustics), then one can easily see that in order to get the desired accuracy from a first-order scheme, the grid density will need to become ridiculous; whereas there will be a crossing point where the high-order scheme becomes less computationally heavy.

IMHO, CFD is still very much a black or grey art/practice, where the user really needs to understand much of what's going on behind the scenes in order to determine how much to believe the answer.
 
  • #5
Thanks "minger" for your answer

but again I have some doubt In CFD It is always criteria that your grid elements(hex/tet) should be along flow direction then I think that Hex are always better than tet mesh.
 
  • #6
minger said:
I would have to disagree with you Perennial, maybe it's mostly semantics, but either way. I would argue that no grid type has better "accuracy" than another type. Tets can give better answers than hex meshes, and vice versa. I will agree that using structured hex meshes give you ability to use high order of accuracy; but that concept is not directly related to the actual accuracy. Using first-order tet elements with localized bunching can give you a better answer in less computation time than hexes. Again though, it's on a case by case basis.

I'd think you're not really disagreeing :wink: , since the "accuracy" especially as a loose definition like being used in this discussion is a property dependent on so many things. Grid type itself doesn't lead a solution being better than some other, but what I'm arguing is that "typically" if we don't dig deeper then a hex design is "as a rule somewhat preferable" (such rule may not have much generality however for a particular appl, that "grey area" of things). In many cases a tet one will do a better job and in many cases a hex one, there are no general rules in this sense since "accuracy" is not a property directly related to grid type. Need to fix more things to get there. As you mention, it's often most interesting how a better solution can be attained by purposely decreasing the "accuracy" of certain features in your mesh/model.
 
  • #7
Definitely, that's kinda why I said it's mostly semantics.
 

Related to Why is hex meshing preferred over tet meshing in CFD?

1. What is the difference between hex and tet meshing in CFD?

Hex meshing uses predominantly hexahedral elements, which are 6-sided prisms, while tet meshing uses primarily tetrahedral elements, which are 4-sided pyramids. These elements differ in shape and the way they are connected, resulting in different mesh characteristics and performance in CFD simulations.

2. Which type of meshing is better for CFD simulations?

There is no definitive answer to this question as it depends on the specific application and geometry. In general, hex meshing is more computationally efficient and provides better accuracy for structured geometries, while tet meshing is more suitable for complex and irregular geometries.

3. Can I use a combination of hex and tet meshing in my CFD simulation?

Yes, it is possible to have a hybrid mesh with a combination of hex and tet elements. This can be useful for complex geometries where a pure hex or tet mesh may not be suitable. However, it is important to ensure proper connectivity and quality of the hybrid mesh to avoid errors in the simulation.

4. How does the choice of meshing affect the accuracy of CFD results?

The choice of meshing can significantly impact the accuracy of CFD results. In general, hex meshing provides better accuracy for structured geometries, while tet meshing is more suitable for complex geometries. However, the quality and refinement of the mesh are also important factors that can affect the accuracy of the simulation.

5. Is there a recommended meshing technique for CFD simulations?

There is no one-size-fits-all approach for meshing in CFD. The choice of meshing technique depends on the specific application and geometry, as well as the desired balance between accuracy and computational efficiency. It is important to carefully evaluate and validate the mesh before using it in a CFD simulation.

Similar threads

  • Nuclear Engineering
Replies
4
Views
2K
  • Mechanical Engineering
Replies
1
Views
1K
  • Mechanical Engineering
Replies
1
Views
1K
Replies
1
Views
7K
  • General Math
Replies
1
Views
2K
Replies
8
Views
3K
  • Classical Physics
Replies
8
Views
1K
Replies
23
Views
46K
  • General Engineering
Replies
4
Views
12K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
Back
Top