Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I display the vorticity from a velocity field?

0
0 Posted

How can I display the vorticity from a velocity field?

0
0

First load your vector field with v = loadvec(‘B00001.vec’); Then display it with the background option ‘rot’ showvec(v,’rot’); Another way to do this is to create a scalar field curl, curl = vec2scal(v,’rot’); and then to display it: showscal(curl); Before computing the vorticity field, you will probably want to filter your vector field: showvec(filterf(v,1),’rot’); Many other vector-to-scalar conversions (divergence, kinetic energy, velocity derivatives…) are available from vec2scal.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123