visualizing vorticity with blobflow · visualizing vorticity with blobflow lou rossi department of...

41
Advanced vortex methods Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day

Upload: others

Post on 26-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Visualizing Vorticity with BlobFlow

Lou Rossi

Department of Mathematical SciencesUniversity of Delaware

Network Delaware Day

Page 2: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

The point vortex method: a venerable technique...

L. Rosenhead, “The point vortex approximation of a vortexsheet” Proc. Roy. Soc., 134, 1932.

Page 3: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Particle methods

Computationally, if we know the initial distribution of ρ or ω, we canuse Φt to follow it forward in time.

d~xdt

= ~u(~x , t)

~x(0) = ~y

t=T

t=0

Page 4: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Particle methods

Represent ρ as a collection of N particles, and follow them forwardin time. Thus, we reduce a PDE to a d × N dimensional system ofODEs.

d~xdt

= ~u(~x , t)

~x(0) = ~y

t=T

t=0

Page 5: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Particle methods

Represent ρ as a collection of N particles, and follow them forwardin time. Thus, we reduce a PDE to a d × N dimensional system ofODEs.

d~xdt

= ~u(~x , t)

~x(0) = ~y

t=T

t=0

Page 6: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Why does one do this?

Natural adaptivity.Resources are dedicated where ρ or ω are and nowhereelse. This yields a strong general method for scientific andengineering applications.Stability.Geometry independent.Appeal to modelers.

Page 7: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Why does one do this?

Natural adaptivity.Stability.Assuming that the flow field is “well behaved”, the initialvalue problem for the system of ODEs is well-posed andstability is guaranteed.Geometry independent.Appeal to modelers.

Page 8: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Why does one do this?

Natural adaptivity.Stability.Geometry independent.Local solutions to PDEs mean that boundary conditionsare applied locally, not globally.Appeal to modelers.

Page 9: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Why does one do this?

Natural adaptivity.Stability.Geometry independent.Appeal to modelers.Such schemes bridge the gap between computations andmodeling because each computational element canrepresent a localized model for the full system.

Page 10: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Example: Mixing in a differentially rotating flow.

Advantage: Adaptive resolution of fine scales and highgradients. Particle methods can capture diffusion exactly.

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 0.0

0 0.5 1 1.5r

2

2.5

3

3.5

4

4.5

5

Turn

over

tim

e, τ

ActualRigid body rotation

Turnover time vs. radius

Page 11: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Example: Mixing in a differentially rotating flow.

Advantage: Adaptive resolution of fine scales and highgradients. Particle methods can capture diffusion exactly.

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 1.5

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 1.5

Pe = 104 Pe =∞

Page 12: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Example: Mixing in a differentially rotating flow.

Advantage: Adaptive resolution of fine scales and highgradients. Particle methods can capture diffusion exactly.

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 3.0

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 3.0

Pe = 104 Pe =∞

Page 13: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Example: Mixing in a differentially rotating flow.

Advantage: Adaptive resolution of fine scales and highgradients. Particle methods can capture diffusion exactly.

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 4.5

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 4.5

Pe = 104 Pe =∞

Page 14: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Example: Mixing in a differentially rotating flow.

Advantage: Adaptive resolution of fine scales and highgradients. Particle methods can capture diffusion exactly.

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 6.0

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 6.0

Pe = 104 Pe =∞

Page 15: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Example: Mixing in a differentially rotating flow.

Advantage: Adaptive resolution of fine scales and highgradients. Particle methods can capture diffusion exactly.

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 7.5

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 7.5

Pe = 104 Pe =∞

Page 16: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Example: Mixing in a differentially rotating flow.

Advantage: Adaptive resolution of fine scales and highgradients. Particle methods can capture diffusion exactly.

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 9.0

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1T = 9.0

Pe = 104 Pe =∞

Page 17: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

A tough problem

A comparison with a meshed method.

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1*Exact*

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1100 X 100 ADI

Page 18: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

A tough problem

A comparison with a meshed method.

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1*Exact*

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1200 X 200 ADI

Page 19: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

A tough problem

A comparison with a meshed method.

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1*Exact*

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1Deforming Lagrangian w/2219 particles

Page 20: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

A tough problem

A comparison with a meshed method.

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1*Exact*

−1 −0.5 0 0.5−1

−0.5

0

0.5

1Deforming Lagrangian w/2219 particles

Page 21: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Vortex methods

DωDt

=1

Re∇2ω

Express ω (or ~ω in 3D) as a linear combination of moving basisfunctions (blobs):

ω̂(~x) =N∑

i=1

γiφ(~x − ~xi)

d~xi

dt= ~u(~xi)

Page 22: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

The Biot-Savart integral

ω̂(~x) =N∑

i=1

γiφ(~x − ~xi)

d~xi

dt= ~u(~xi)

Since ω (ω̂) is our primitive variable, we must determine ~u froma Biot-Savart integral via a streamfunction ψ.

Page 23: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

The Biot-Savart integral

Since ω (ω̂) is our primitive variable, we must determine ~u froma Biot-Savart integral via a streamfunction ψ.

~u =

[−∂ψ∂y∂ψ∂x

]∇2ψ = −ω̂

Page 24: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

The Biot-Savart integral

Since ω (ω̂) is our primitive variable, we must determine ~u froma Biot-Savart integral via a streamfunction ψ.

~u =

[−∂ψ∂y∂ψ∂x

]∇2ψ = −ω̂

ψ = − 14π

∫∫ ∞−∞

log(|~x − ~s|2)ω̂(~s)d~s

Page 25: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

An example with Gaussian blobs

φ(~x) =1

4πσ2 exp(−|~x |2

4σ2

)~u(~x) =

N∑i=1

γi

2π~x − ~xi

|~x − ~xi |2

[1− exp

(−|~x − ~xi |2

4σ2

)]

Note: O(N2) complexity.

Page 26: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Corrected core spreading vortex method (CCVSM)

φ(~x) =1

4πσ2i

exp

(−|~x |2

4σ2i

),

~u(~x) =N∑

i=1

γi

2π~x − ~xi

|~x − ~xi |2

[1− exp

(−|~x − ~xi |2

4σ2i

)],

dσi

dt=

1Re.

Some comments: Refinement and merging (or remeshing) canmaintain spatial accuracy for all time. For high Reynoldsnumber flows and limited resolutions, core size growth may notbe important anyway. σ0 � T

Re .

Page 27: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

The dynamics of elliptical Gaussians

θ

σ /a

σ a

Find the evolution equations for ~xi , θi , σi and ai so thatφ ≡ φ(~x ;~xi , σi ,ai , θi) satisfies

∂tφ+ [~u(~xi) + D~u(~xi)(~x − ~xi)] · ∇φ− 1Re∇2φ = 0.

Page 28: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

The dynamics of elliptical Gaussians

θ

σ /a

σ a

For simplicity θi = 0...

ddt~xi =

[ui

vi

]ddt

(σ2i ) =

12Re

(a2i + a−2

i )

ddt

(a2i ) =2d11,ia2

i +1

2Reσ2i

(1− a4i )

ddtθi =

d21,i − d12,i

2−

d21,i + d12,i

2(a−2

i + a2i )

(a−2i − a2

i )

Page 29: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Exploring complex flows is time consuming

Page 30: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Exploring complex flows is time consuming

Page 31: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Removing the pain from BlobFlow.

Just a thought.A scientist should not need to ...

... understand my algorithm to explore vorticity.

... compile my program to explore vorticity.

... own a cluster to explore vorticity.

... know how to project basis functions onto grids toexplore vorticity.

Page 32: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Removing the pain from BlobFlow.

Just a thought.A scientist should not need to ...

... understand my algorithm to explore vorticity.

... compile my program to explore vorticity.

... own a cluster to explore vorticity.

... know how to project basis functions onto grids toexplore vorticity.

Page 33: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Removing the pain from BlobFlow.

Just a thought.A scientist should not need to ...

... understand my algorithm to explore vorticity.

... compile my program to explore vorticity.

... own a cluster to explore vorticity.

... know how to project basis functions onto grids toexplore vorticity.

Page 34: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Removing the pain from BlobFlow.

Just a thought.A scientist should not need to ...

... understand my algorithm to explore vorticity.

... compile my program to explore vorticity.

... own a cluster to explore vorticity.

... know how to project basis functions onto grids toexplore vorticity.

Page 35: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Removing the pain from BlobFlow.

Goals...Useful to any scientist.Visual.Networked.Free, open and cross-platform (Python + Qt4).Kinda’ like Minecraft.

Page 36: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Removing the pain from BlobFlow.

Goals...Useful to any scientist.Visual.Networked.Free, open and cross-platform (Python + Qt4).Kinda’ like Minecraft.

Page 37: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Removing the pain from BlobFlow.

Goals...Useful to any scientist.Visual.Networked.Free, open and cross-platform (Python + Qt4).Kinda’ like Minecraft.

Page 38: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Removing the pain from BlobFlow.

Goals...Useful to any scientist.Visual.Networked.Free, open and cross-platform (Python + Qt4).Kinda’ like Minecraft.

Page 39: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Removing the pain from BlobFlow.

Goals...Useful to any scientist.Visual.Networked.Free, open and cross-platform (Python + Qt4).Kinda’ like Minecraft.

Page 40: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Removing the pain from BlobFlow.

Page 41: Visualizing Vorticity with BlobFlow · Visualizing Vorticity with BlobFlow Lou Rossi Department of Mathematical Sciences University of Delaware Network Delaware Day. Advanced vortex

Advanced vortex methods

Conclusions

The high-order vortex method is an accurate, generalsolver that is competitive with more mainstream methods.The next step is to make vorticity exploration more open toscientists.Please visit the BlobFlow site and play with vorticity.

www.math.udel.edu/∼rossi/BlobFlow