Convert a Quadrangle to a Triangle

  • Thread starter Thread starter luonganh89
  • Start date Start date
  • Tags Tags
    Convert Triangle
Click For Summary

Discussion Overview

The discussion revolves around methods for converting a quadrangle mesh to a triangle mesh in the context of computational fluid dynamics (CFD). Participants explore various approaches and considerations related to this conversion process.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant describes their challenge in establishing a method for converting a quadrangle mesh to a triangle mesh and seeks assistance.
  • Another participant requests clarification on the specific problem and the method the original poster is using.
  • A third participant suggests a straightforward approach of dividing each quadrilateral into two triangles by drawing a diagonal, while noting that the choice of diagonal may affect the outcome if the quadrilaterals are curved.
  • This same participant proposes an alternative method of finding the "center" of the quadrilateral and connecting it to the corners to create four triangles, indicating that the intended use of the triangle mesh may influence the choice of method.
  • A later reply mentions the participant's intention to remesh their model and indicates they have written a short code for this purpose, but they are experiencing some difficulties.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method for converting the mesh, as multiple approaches are discussed and no definitive solution is agreed upon.

Contextual Notes

The discussion lacks specific details about the original method the first participant established and does not clarify the implications of using different diagonals in curved quadrilaterals.

luonganh89
Messages
12
Reaction score
0
Hi all !

I got stuck in establising an method to Convert a Quadrangle mesh to a Triangle mesh (CFD).
I have a mesh file (.dat) which have information:
Number of Element - Node 1 - Node 2 - Node 3 - Node 4
1 1 2 3 4
2 3 4 5 6
Have anyone done like me. Can share me some information thank you so much

luong anh
pfiev
 
Technology news on Phys.org
You need to be more specific.
What exactly is the problem?
What is the method that you established and where are you stuck?
 
The obvious thing to do is turn each quadrilateral into two triangles by drawing a diagonal. But if the quadrilaterals are curved (i.e. a 3D surface) the results may look different depending on which diagonal you choose.

If that is a problem, maybe you need to find the "center" of the quadrilateral (i.e. the average of the 4 corner points) and join that to the corners to make 4 triangles.

As gsal says it really depends what the triangle mesh will be used for.
 
:D of course , I've just wanted to remesh my model, and i write a short code to remesh it and open it by using tecplot , but now i come back home , tomorrow i will send my result to you but i got some trouble @@
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K