How to apply divergence free (∇.v=0) in nodal finite element method?

mdn
Messages
49
Reaction score
0
I know how to apply boundary condition like Dirichlet, Neumann and Robin but i have been struggling to apply divergence free condition for Maxwells or Stokes equations in nodal finite element method. to overcome this difficulties a special element was developed called as edge element but i don't want to use this element because my complete programming depends on the nodal base element.
 
Engineering news on Phys.org
Divergence free is not usually a boundary condition; it is, certainly in both the examples you give, a condition which is true throughout the domain. The way to enforce it is to express your vector field in a manner which satisfies the condition automatically.

For 2D problems, use a stream function.

For 3D problems, you can use a toroidal-poloidal decomposition.
 
  • Like
Likes   Reactions: mdn
Can I use such potential formulation for curl, curl equation of Maxwell or Navier- Stokes equation in fluid flow?
 
Would you give me the example of NS equation using stream function in fem?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K