Welcome, Guest
Username: Password: Remember me

TOPIC: CFL

CFL 9 years 2 months ago #18140

  • sathya
  • sathya's Avatar
Hi,

As i am aware of the formula for CFL is (u * dt)/dx

i wish to know,
How is the constant dx being calculated in unstructured (triangle) mesh ?





Thanks
Sathya
The administrator has disabled public write access.

CFL 9 years 2 months ago #18142

  • Lux
  • Lux's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 96
  • Thank you received: 39
The constant dx is computed is SUBROUTINE HLOC (in bief library), and corresponds to the variable DTHAUT.
The formula used to compute dx for each node :

dx = AREA around node / SUM of (directly connected) segment LENGTHS

There is an anwser in the topic "Courant number" at the post #12138

Hope it helps,
Luc
The administrator has disabled public write access.
The following user(s) said Thank You: sathya

CFL 9 years 2 months ago #18143

  • sathya
  • sathya's Avatar
Hi,

Consider a node surrounded by 6 triangles. There are 6 segments which are DIRECTLY connected to the node. The rest of the 6 segments form a HEXAGONAL structure. So in total, how many segments should i consider?


Thanks
sathya
The administrator has disabled public write access.

CFL 9 years 2 months ago #18146

  • Lux
  • Lux's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 96
  • Thank you received: 39
With your example of a node surrounded by 6 triangles, only the six segments are included in the sum of lengths.

Luc
The administrator has disabled public write access.

CFL 9 years 2 months ago #18147

  • jmhervouet
  • jmhervouet's Avatar
Hello,

This is for the Finite Volume options. On the Finite Element side, the local mesh size is considered to be the square root of twice the triangle area. This is true only if the mesh is not stretched. Distributive advection schemes (4,5,13,14) have their own formula that stems from their stability criterion.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.