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

Click For Summary
Applying the divergence-free condition (∇·v=0) in the nodal finite element method for Maxwell's or Stokes equations can be challenging, as it is not a boundary condition but a domain-wide requirement. To enforce this condition without using edge elements, one approach is to express the vector field in a way that inherently satisfies the divergence-free requirement. For 2D problems, utilizing a stream function is recommended, while for 3D problems, a toroidal-poloidal decomposition can be employed. The discussion also raises the question of whether potential formulations can be used for curl equations in Maxwell's or Navier-Stokes equations. An example of applying the stream function in the finite element method for Navier-Stokes equations is requested for further clarification.
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.
 
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
Views
3K
Replies
6
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
4K
Replies
1
Views
2K
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K