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?
 
Hello! I want to generate an RF magnetic field at variable frequencies (from 1 to 20 MHz) using this amplifier: https://www.minicircuits.com/WebStore/dashboard.html?model=LZY-22%2B, by passing current through a loop of current (assume the inductive resistance is negligible). How should I proceed in practice? Can i directly connect the loop to the RF amplifier? Should I add a 50 Ohm in series? Thank you!