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

AI Thread 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?
 
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Electromagnet magnetic field issue'
Hi Guys We are a bunch a mechanical engineers trying to build a simple electromagnet. Our design is based on a very similar magnet. However, our version is about 10 times less magnetic and we are wondering why. Our coil has exactly same length, same number of layers and turns. What is possibly wrong? PIN and bracket are made of iron and are in electrical contact, exactly like the reference design. Any help will be appreciated. Thanks. edit: even same wire diameter and coil was wounded by a...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...
Back
Top