Académique Documents
Professionnel Documents
Culture Documents
Particle Tracking
Postprocessor and
Coprocessor for AcuSolve
Rick Pember
March 2012
Page 2
Motivation
Example
AcuTrace overview and history
Some details
Future work
Discussion and conclusions
Page 3
Page 4
Inputs
AcuSolve solution
Initial particle states: position,
Outputs
Particle path: all end points
Poincare: intersection with rectangle
Time cut: position, etc., at specific time
Page 5
AcuTrace classic
Massless particles
Steady flow only
Turbulent and laminar flows
Turbulent diffusion option
Multiple reference frames
Stretch
No mesh motion or sliding
g interfaces
Explicit 4th-order Runge-Kutta (RK4)
integration
Parallel: master-slave paradigm
AcuTrace2
New (4+ yr) code
Capabilities
p
beyond
y
AcuTrace classic
First shipped with V1.7f (5/09)
Page 6
Physics
p
Massless particles
Steady, transient, cyclic flow
Turbulent and laminar flows
Moving
i meshes
h and
d sliding
lidi iinterfaces
f
Multiple reference frames: two approaches
Classic: Use local frame velocityy
Pseudo-transient (sliding interfaces and
moving mesh)
Produces more realistic trajectories than
the classic approach
Stretch
User-defined
U
d fi d functions
f
ti
Page 7
Integration
5th-order Time-Discontinuous Galerkin (TDG)
Implicit
Unconditionally stable
Stifflyy A-Stable
Space-time formulation facilitates coupling
with AcuSolve
Parallel
Hybrid MPI/OpenMP (like AcuSolve)
Distributed memory via MPI
Shared memory via OpenMP
Flow data shared by OpenMP threads
Problem setup
AcuSolve style input files
AcuConsole
Postprocessing
AcuTransTrace conversion
EnSight
AcuFieldView
AcuDisplay
Page 10
Basic equations
User defined functions
Time discontinuous Galerkin
Multiple reference frame treatment
Cyclic Flow
Bidirectional coupling
Page 11
Particle
Massless
r
Dx p
Dt
r r
= v f ( xp , t)
r
D
x
r r
Finite Mass
p
= vp ( xp , t)
Dt
r
Dv p r r r r
mp
= Fp ( x p , v p , v f ,U f , t )
Dt
Stretch
Page 12
r
r
Dl
Tr
= vfl
Dt
Altair Engineering, Inc.
r r
Di
v
= fi x p , t,U p ,U f ;1,...,n;Vudf
Dt
i = 1,..., n
Page 13
r r
r
x& p = v f ( x p , t )
t n +1
tn
r r r
r r
r r r
w( x& p v f ) + w[x p ] + w& ( x& p v f )dt = 0
2
[xr ] = xr (tn+ ) xr (tn ) = xr (tn+ ) xrn
Page 14
Classic
Move particle by local reference frame
velocity
Subtract frame rotational velocity
from the flow velocity
Pseudotransient
Define mesh motion and a transient
velocity field by
Split interface between fixed and
rotating frames
Rotate mesh and the flow velocity
in the rotating frame in time using
the frame rotation rate
Move
M
th
the particle
ti l using
i g thi
this mesh
h
motion and transient velocity
As if we solved the full sliding
mesh problem
Page 15
Pseudotransient
Page 16
Classic
Classic: Blue
Pseudotransient: Red
t n +1
tn
n particles
p =1
t n +1
tn
r
= f (t , x p , q p ,...)
r
r
N a ( x p (t )) f (t , x p , q p ,...)dt
N
q
r
r
r
r
N a ( x p (t )) f (t , x p , q p ,...)dt = wq tf (t ( q ), x ( q )) N a ( x ( q ))
q =1
m p cv , p
DTp
= k (T f Tp )
Dt
k = Nu
N D p k f
Page 20
Page 22