0
$\begingroup$

I want to generate a triangular mesh over a rectangle domain in order to solve Euler equations. Most mesh generator generate a mesh while providing node connectivity for each element. This is convenient for finite element codes. Whereas finite volume codes for unstructured grids requires the center of each element, the faces (the tag of the two nodes that are separated by the face) and the face's normal.

Are there finite volume mesh generators?

$\endgroup$
7
  • $\begingroup$ What is the difference between a "triangular mesh" and a "finite element mesh"? $\endgroup$ Commented Mar 20 at 17:17
  • $\begingroup$ Sorry for my bad formulation, I will edit the question. Tell him if it more understandable. $\endgroup$
    – mle
    Commented Mar 20 at 18:45
  • 1
    $\begingroup$ Are you trying to use the two point flux approximation scheme so you need orthogonal meshes? You can use a Delaunay triangulation/Voronoi construction library. $\endgroup$
    – lightxbulb
    Commented Mar 20 at 19:40
  • $\begingroup$ *Yes, I am trying to use a two point flux approximation, but not necessarily on an orthogonal mesh. $\endgroup$
    – L Maxime
    Commented Mar 21 at 13:37
  • $\begingroup$ @LMaxime Two point flux approximation schemes require the graphs to be orthogonal for consistency as far as I can remember, so I think you will have to use a Delaunay triangulation and its corresponding Voronoi mesh. $\endgroup$
    – lightxbulb
    Commented Mar 21 at 16:07

1 Answer 1

2
$\begingroup$

“Finite volume” and “finite element” refer to ways of discretizing functions and operators over a mesh. The mesh generation itself is not strictly a part of either method and the same mesh can be used for both methods. However, different methods may perform better or worse on the same mesh.

$\endgroup$
3
  • $\begingroup$ I think my question should be: is there a library that postprocess an unstructured mesh in order to extract the needed objects so that the mesh is exploitable by a finite volume code? $\endgroup$
    – mle
    Commented Mar 20 at 19:21
  • $\begingroup$ Are you OP on another account? $\endgroup$
    – whpowell96
    Commented Mar 20 at 19:38
  • $\begingroup$ Yes I am, I can receive the notifications on my other account. $\endgroup$
    – L Maxime
    Commented Mar 21 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.