Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
Filtered Density Function (for LES) and the Potentials for its Quantum Computation Peyman Givi Mechanical Engineering at Pitt Collaborators: S. Levent Yilmaz Center for Simulation and Modeling at Pitt Andrew Daley and Jeremy Levy Physics and Astronomy at Pitt Rolando Somma, LANL Steve Pope, Cornell University Pete Strakey, NETL, DOE Naseem Ansari, Fluent and Pitt Patrick Pisciuneri and Mehdi Nik, Pitt
NIA CFD Conference, Hampton, VA, August 2012
Outline
1. LES via FDF.
2. Towards Petascale FDF Simualtion.
3. Quantum Speed-up?
NIA CFD Conference, Hampton, VA, August 2012
Filtered (Mass) Density Function
• PDF at the subgrid scale (SGS).
• Scalar-FDF: SGS chemical reaction effects in a closed form.
• Velocity-Scalar FDF: SGS convection in a closed form.
• More parameters FDF: more complex physics.
, , , | , , , , , , , ;Ll L lx t Q x t Q x t V F V x t dVd d d
, , ,l
Q x t Q x t G x x dx , l
L
l
QQ x t
NIA CFD Conference, Hampton, VA, August 2012
Low Speed Combustion
4
0jll L
j
u
t x
,j ii ijl L ll L lL
j i
L i j
j j
u uu p
t x x x
u u
x
,j jl L ll L j
j j
L
jl
Lu J u
t x xS
x
SGS unclosed terms:
,L i j i j i jLL Lu u u u u u ,L j j j LL L
u u u
l l LS S
NIA CFD Conference, Hampton, VA, August 2012
VS-FDF
5
Fine Grain Density:
3
1 1
, ; , , , , ,sN
k k
k
V u x t x t V u x t x t
, , ; , , ; , , ,LF V x t x t V u x t x t G x x dx
, , ;L lF V x t dVd
FDF:
NIA CFD Conference, Hampton, VA, August 2012
High Speed Turbulence
6
0jll L
j
u
t x
,j ii ijl L ll L lL
j i
L i j
j j
u uu p
t x x x
u u
x
,Lj jl L ll L L
j j j
i i LLij l
j
j
d
i
u ee q
t x x x
u up
x x
e u
,j jl L ll L L
j j
j
j
Lu J
t x
u
x x
NIA CFD Conference, Hampton, VA, August 2012
EPVS-FDF
7
Fine Grain Density:
3
1 1
, , , ; , , , , , , ,
, , , ,sN
k k
k
V u x t x t e x t p x t
V u x t x t e x t p x t
, , , , ; , , , , ; , , , , , , ,LF V x t x t V u x t x t e x t p x t G x x dx
, , , , ;L lF V x t dVd d d
FDF:
NIA CFD Conference, Hampton, VA, August 2012
Exact VS-FDF Transport
8
2
2
/
1, ,
1 1 2, ,
3
2
LL
j j
jiL L
j L
L
j
i i i j k k
j j
L L
i j i i i j
i
FF
t x x
uupV F V F
V x V V x x
u uV F V F
V x x V x
F
x
VS F
x
V
2
, ,iL L
j j j j
uV F V F
x x x x
NIA CFD Conference, Hampton, VA, August 2012
Langevin Descriptor
9
• Lagrangian vector variables
• Diffusion process
• Compare the corresponding Fokker-Planck equation with FDF
, , , ,Z t X U E P
, ,dZ t D Z t t dt E Z t t dW t
... , ...D E
NIA CFD Conference, Hampton, VA, August 2012
Fokker-Planck
10
1 2 1
2 1
3
jii L lL L L L L L
i i i j j i j i il l l
L
ij j j Lj L lL L
i j i i i il
up uV FF F F F
t x x V x x V x x V
FG V u Fu F
x x V V x x
2 2
0
2 1
2
1
1
j k iL L L
i i j j j k i i il l
L LL L ie Lij L
j
L
u u uF F FC
x x V x x V V V V
F e F uCC F
x
AF22 2 2 2
2 2
2 2 2 2 2
11 1
2
1 1
2
L LL
L L
B F B FAF
B F B F
NIA CFD Conference, Hampton, VA, August 2012
Modeled 2nd Order SGS Equations
11
11
0
, , ,, ,
, ,
L i j k L i j L i jl l L
ij L k i jl lk k k
jk L k i ik L k j ijl l
u u u u u u uP u u u
t x x x
G u u G u u C
, , ,, ,
2 2 ,
L k L Ll l L
L kl lk k k
L LLl
k k
uP u
t x x x
Cx x
, , ,, ,
, ,
L i k L i L il l Li L k il l
k k k
ik L k L il l
u u u uP u u
t x x x
G u C u
NIA CFD Conference, Hampton, VA, August 2012
FDF Simulation
Typically Lagrangian Monte Carlo elements on
Eulerian grids.
Complex domain.
10**9 grids /elements.
10**11 MC particles.
Mostly reduced kinetics.
NIA CFD Conference, Hampton, VA, August 2012
FDF vs. RANS: Axial Velocity
Z = 20 mm
Z = 40 mm
LES / FDF RANS
NIA CFD Conference, Hampton, VA, August 2012
FDF vs. RANS : Temperature
Z = 40 mm
Z = 20 mm
LES / FDF RANS
NIA CFD Conference, Hampton, VA, August 2012
FDF vs. RANS: CO2 Mass Fraction
Z = 40 mm
Z = 20 mm
LES / FDF RANS
NIA CFD Conference, Hampton, VA, August 2012
Reasonable representation of an industrial type gas turbine combustor. Combustor features a plenum, a swirler & a square combustion chamber. CH4 fuel at equivalence ratio of 0.83 fed through 12 injection holes within the radial swirler. Dry air at ambient temperature fed via the plenum through the radial swirlers. Total mass flow rate = 12.9 g/s Combustion chamber cross section = 85 mm x 85 mm Combustion chamber height = 114 mm
Example 2: DLR PRECCINSTA Burner
NIA CFD Conference, Hampton, VA, August 2012
Towards Petascale FDF Simulation
20
Typically the domain is regularly portioned
Inefficient on massively parallel platform
NIA CFD Conference, Hampton, VA, August 2012
Irregularly Portioned Processors Partition in to subdomains
Connectivity between subdomains:
Local data
Neighboring data
Communication patterns
Data structures
1D arrays that map to a global
3D array
Particle lists
Array of particle lists (bins)
NIA CFD Conference, Hampton, VA, August 2012
• Quantum computers use special properties of microscopic
objects to process information
• Information in a classical computer is stored as bits
• In a quantum computer it is stored as qubits
A qubit can be in a superposition of 0 and 1
Quantum Computing
NIA CFD Conference, Hampton, VA, August 2012
38468522360287713067145227649177955801213487701099
89956280167263288492906413250106234738923625487248
43632748829239471099553846946567828308577705718806
94978568779355941701709253073909647758709792262685
32784959698795712324287283270444145525795129254121
120710346037881026114574883283576878022850732431110
88058576663938238037682029535630748718401810408271
7619027814399839319656394117300027235594739384321
= 19151078601511813582801009133095143365412697691872
82849826678249401200032709416910316550320010920704
37797665474841228343134658535223112172218027305038
34496265576199132087913176183816562977572021862399
X 20086869862907331390554301660726422765403303838159
28513728233298852507348154165945582548188931037072
13279188964772171854249281063180682234029182739436
25886101798462506273138523315831932882407840022527
9
• Perform certain tasks much faster than a normal (classical) computer
• e.g., quantum computers
can factor numbers exponentially faster than classical computers (Shor, 1994)
Difficulty of factoring
numbers is foundation
of public key encryption
Example 1:
NIA CFD Conference, Hampton, VA, August 2012
DATABASE SEARCH
(Grover)
Telephone book
with N=1,000,000 entries
Task: find name of
person whose number
is: (757) 864-6228
Ordinary Phonebook
Number found after
~N/2=500,000 attempts
Quantum Phonebook
Number found after
~N1/2 =1000 attempts
Example 2:
• Other algorithms with quantum speed-ups for: sparse linear equations, classical simulated annealing, quantum Monte-Carlo computations,…
NIA CFD Conference, Hampton, VA, August 2012
Power of Quantum Computers
• They can represent many outcomes at once
• Single qubit: 2D space
• Many qubits: 2n complex numbers describe the state
A state with n=1000 qubits is specified by 21000 ~10300 coefficients !
NIA CFD Conference, Hampton, VA, August 2012
S
0 1 2 2 1n
1 Step 1: Initialize (boot) computer.
(0) 1S
Step 2: Gate operations
S
0 1 2 2 1n
1
Step 3: Read out answer a
( ) 1F S a
0 1 2 2 1n
1
a
S F S
General Structure: Classical
NIA CFD Conference, Hampton, VA, August 2012
0 1 2 2 1n
1 Step 1: Initialize quantum computer.
0 0
0 1 2 2 1n
1
0 1 2 2 1n
1
0 1 2 2 1n
1Step 2: Quantum gate operations
ˆi H tt
0 1 2 2 1n
1
a0 1 2 2 1n
1
a
Step 3: Quantum measurement
2
P a a
General Structure: Quantum
NIA CFD Conference, Hampton, VA, August 2012
Many implementations are being explored, with
components already demonstrated:
• Neutral atoms
• Trapped ions
• Color centers (e.g., NV-centers in diamond)
• Quantum dots
• Superconducting qubits (charge, phase, flux)
• Nuclear Magnetic Resonance systems
• Optical qubits
State of the art
• 14 entangled qubits with several hundred
gate operations – trapped ions
• Large qubit arrays (ca. 500) with neutral
atoms (but slow gate timescales)
• Fast gate operations demonstrated with
superconducting qubits
Hardware
NIA CFD Conference, Hampton, VA, August 2012
Realization on a
quantum
computer
SDEs
Quantum
algorithm
Quantum Speedup for FDF?
NIA CFD Conference, Hampton, VA, August 2012
Summary of FDF Properties
Turbulence-Chemistry interactions in closed form.
SGS scalar fluxes in closed form.
Equivalent to 2nd order closures (at least).
Quantum computing may be very effective for FDF simulation.
Applicable to premixed, non-premixed, and partially premixed
flames.
Applicable to both flamelet and distributed flame regions.
Continues to gain popularity in turbulence simulation.
NIA CFD Conference, Hampton, VA, August 2012
Popularity of FDF
• UC Berkeley
• Stanford
• Purdue
• Iowa State
• Cornell
• UT Austin
• SUNY-Buffalo
• U. Wyoming
• Michigan State
• CTR/NASA Ames
• NASA Langley
• Sandia Labs
• Rolls Royce
• ANSYS
• .
• .
• .
• England
• France
• Germany
• Netherland
• Portugal
• Russia
• Spain
• Kazakhstan
• Canada
• China
• .
• .
•
• in FLUENT
• In US3D
• In VULCAN .