D. Mladenov - On Integrable Systems in CosmologySEENET-MTP
Lecture by Prof. Dr. Dimitar Mladenov (Theoretical Physics Department, Faculty of Physics, Sofia University, Bulgaria) on December 7, 2011 at the Faculty of Science and Mathematics, Nis, Serbia.
D. Mladenov - On Integrable Systems in CosmologySEENET-MTP
Lecture by Prof. Dr. Dimitar Mladenov (Theoretical Physics Department, Faculty of Physics, Sofia University, Bulgaria) on December 7, 2011 at the Faculty of Science and Mathematics, Nis, Serbia.
Lecture by prof. dr Neven Bilic from the Ruđer Bošković Institute (Zagreb, Croatia) at the Faculty of Science and Mathematics (Niš, Serbia) on October 29, 2014.
The visit took place in the frame of the ICTP – SEENET-MTP project PRJ-09 “Cosmology and Strings”.
Localized Electrons with Wien2k
LDA+U, EECE, MLWF, DMFT
Elias Assmann
Vienna University of Technology, Institute for Solid State Physics
WIEN2013@PSU, Aug 14
Talk given at the workshop "Multiphase turbulent flows in the atmosphere and ocean", National Centre for Atmospheric REsearch, Boulder CO, August 15 2012
Lecture by prof. dr Neven Bilic from the Ruđer Bošković Institute (Zagreb, Croatia) at the Faculty of Science and Mathematics (Niš, Serbia) on October 29, 2014.
The visit took place in the frame of the ICTP – SEENET-MTP project PRJ-09 “Cosmology and Strings”.
Localized Electrons with Wien2k
LDA+U, EECE, MLWF, DMFT
Elias Assmann
Vienna University of Technology, Institute for Solid State Physics
WIEN2013@PSU, Aug 14
Talk given at the workshop "Multiphase turbulent flows in the atmosphere and ocean", National Centre for Atmospheric REsearch, Boulder CO, August 15 2012
Bisnis dimiliki oleh seorang pemilik. Pemilik dari suatu kepemilikan perseorangan disebut pemilik tunggal (sole proprietor)
Keuntungan yang didapatkan akan dianggap sebagai laba pribadi pemiliknya dan menjadi subyek pajak penghasilan pribadi.
SCF methods, basis sets, and integrals part IIIAkefAfaneh2
Some DFT implementations (such as Octopus) attempt to describe the molecular
Kohn–Sham orbitals on a real-space grid.
• A 3D simulation box is chosen together with a grid spacing, for example 0.5 a0. Then,
a grid in 3D is constructed and the SCF equations are solved on the grid.
• This is different from an MO-LCAO expansion in numerical AOs!
• Pseudopotentials are inevitable for real-space grid methods, but they are not required
when numerical AOs are used.
• A great advantage of the use of numerical AOs as in DMol3 is that the method is free
of the basis-set superposition error (BSSE).
• Because exact atomic orbitals are used, the atoms in a molecule cannot improve
their orbitals artificially using basis functions from other atoms.
In topological inference, the goal is to extract information about a shape, given only a sample of points from it. There are many approaches to this problem, but the one we focus on is persistent homology. We get a view of the data at different scales by imagining the points are balls and consider different radii. The shape information we want comes in the form of a persistence diagram, which describes the components, cycles, bubbles, etc in the space that persist over a range of different scales.
To actually compute a persistence diagram in the geometric setting, previous work required complexes of size n^O(d). We reduce this complexity to O(n) (hiding some large constants depending on d) by using ideas from mesh generation.
This talk will not assume any knowledge of topology. This is joint work with Gary Miller, Benoit Hudson, and Steve Oudot.
This poster was created in LaTeX on a Dell Inspiron laptop with a Linux Fedora Core 4 operating system. The background image and the animation snapshots are dxf meshes of elastic waveform solutions, rendered on a Windows machine using 3D Studio Max.
Nonlinear viscous hydrodynamics in various dimensions using AdS/CFT
Aerospace Engineering Seminar Series
1. High Order Finite Elements for Lagrangian
Computational Fluid Dynamics
Truman E. Ellis
Advisor: Dr. Faisal Kolkailah
LLNL Mentors: Dr. Robert Rieben and Dr. Tzanio Kolev
Department of Aerospace Engineering
California Polytechnic State University
San Luis Obispo, CA
ellis.truman@gmail.com
November 18, 2009
This work performed under the auspices
of the U.S. Department of Energy by
Lawrence Livermore National Laboratory
under Contract DE-AC52-07NA27344
LLNL-PRES-416883, -416822
Powered by L EX
AT
2. Introduction
We are developing advanced finite element
discretization methods for Lagrangian
hydrodynamics.
Our goal is to improve the current
staggered grid hydro (SGH) algorithms in
multi-material ALE codes with respect to:
symmetry preservation
energy conservation
artificial viscosity discretization
hourglass-mode instabilities
We consider a general framework for
solving the Euler equations with the
following features:
allows for high order field representations
allows for curved element geometry
exact energy conservation by construction
reduces to classical SGH under simplifying assumptions
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 2 / 27
3. Glossary
We consider several different hydro methods which make use of various finite element spaces.
The specific finite element spaces considered in this talk are:
Q0: constant function on quadrilaterals
Q1: continuous bi linear functions on quadrilaterals
Q2: continuous bi-quadratic functions on quadrilaterals
Q1d: discontinuous bi-linear functions on quadrilaterals
Q2d: discontinuous bi-quadratic function on quadrilaterals
Each hydro method is designated by a pair of finite element spaces:
A continuous kinematic space
A discontinuous thermodynamic space
For example: Q2-Q1d uses continuous quadratic velocities and positions with discontinuous bi-
linear pressures and densities.
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 3 / 27
4. Euler Equations in a Lagrangian Frame
Typically, these equations are
solved on a staggered spatial grid
[1,2] where thermodynamic
The Euler equations of gas dynamics in a Lagrangian variables are approximated as
reference frame can be written in differential form as: piece-wise constants defined on
zone centers and kinematic
variables are defined on the
∂v
Momentum Conservation: ρ = −∇p + ... nodes.
∂t
Spatial gradients are computed
1 ∂ρ using finite volume and/or finite
Mass Conservation: = −∇ · v
ρ ∂t difference methods:
∂e
Energy Conservation: ρ = −p∇ · v + ...
∂t
Equation of State: p = EOS(e, ρ)
[1] R. Tipton, CALE Lagrange Step, unpublished LLNL report, 1990
[2] M. Wilkins, Calculations of Elastic-Plastic Flow, In Methods of Computational Physics, 1964
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 4 / 27
5. Semi-Discrete Finite Element Approximation: Computational Mesh
We propose a general semi-discrete FEM approach to solving the Euler equations in a Lagrangian
frame. A semi-discrete method is only concerned with the spatial approximation of the continuum
equations.
To begin, we decompose the continuum domain at an initial time into a set of non-overlapping
discrete volumes (zones). The union of these volumes forms the computational mesh:
−→
Ω(t0 ) ˜
Ω(t0 ) = ∪Z ΩZ (t0 )
The motion of the continuous medium will therefore be described by the motion of only a finite
number of particles (mesh vertices, edge midpoints, etc )
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 5 / 27
6. Semi-Discrete Finite Element Approximation: Lagrangian Mesh Motion
After deformation in time, zones are reconstructed based on This reconstruction process
particle locations, thus defining the moved mesh. has an inherent geometric
error.
Initial Cartesian mesh
Q2 (Bi-Quadratic) deformed with the exact
Q1 (Bi-Linear) Approximation solution of the Sedov blast
Approximation
wave problem.
This built in geometric error motivates the use of (higher order) finite elements which can use the
additional particle degrees of freedom to more accurately represent continuous deformations.
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 6 / 27
7. Lagrangian Mesh Motion: Animation
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 7 / 27
8. Semi-Discrete Finite Element Approximation: Curved Geometries
Finite element basis functions are defined on a reference (unit) zone. To compute quantities on an
arbitrary mesh zone, we use the Jacobian matrix which defines the geometric transformation (or
mapping) from reference space:
Reference Space: Physical Space:
ˆ
φ (x) φ (x) = φ (Φ−1 (x))
ˆ
ˆ −1 ˆ
∇φ (x) ∇φ = JZ ∇φ
A standard Q1 mapping gives zones with straight edges, while Q2 mappings produce curved zones.
Note that we can have Q1 elements defined with a Q2 mapping and vice versa. The finite element
reference degrees of freedom are in general different from the nodes of the mapping.
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 8 / 27
9. Semi-Discrete Finite Element Approximation: Basis Functions
We approximate each of the continuum fields with a basis function expansion, where the
expansion coefficients are independent of space:
Nv Np
Velocity: v(x, t) ≈ ∑ vi (t)wi (x) Pressure: p(x, t) ≈ ∑ pi (t)φi (x)
i i
Ne Nρ
Internal Energy: e(x, t) ≈ ∑ ei (t)θi (x) Density: ρ(x, t) ≈ ∑ ρi (t)ψi (x)
i i
Our formulation is general; we are free to choose various types of basis functions. However,
stability requires that certain choices are not independent[1] (e.g. pressure and velocity.)
Q2 basis function with degrees of
Q1 (Bi-Linear) basis function Q2 (Bi-Quadratic) basis function
freedom at the 9
4 DOF per Quad 9 DOF per Quad
Gauss-Legendre quadrature
points
[1] See for example: D. Arnold et. al., Differential Complexes and stability of Finite Element Methods, 2005.
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 9 / 27
10. Semi-Discrete Momentum Conservation
To derive a semi-discrete momentum conservation law, we begin with a variational formulation:
dv dv
ρ = −∇p =⇒ ρ ·w = (∇p) · w = p(∇ · w ) − p(w · n)
ˆ
dt ˜
Ω(t) dt ˜
Ω(t) ˜
Ω(t) ˜
∂ Ω(t)
Multiply by vector valued test
Perform integration
function, integrate over
by parts
computational mesh
Inserting our basis function expansions and applying Galerkins method by picking the velocity
basis as the test function yields the following linear system of equations:
−→
Write in matrix / vector form
dvi dv
˜
ρ∑
dt
wi · wj =
˜
∑ pi φi (∇· wj ) M = DT p
Ω(t) i Ω(t) i dt
The Mass and Derivative matrices are computed zone by zone and assembled to form global
systems:
(Mz )ij = Ω(t) ρ(wi · wj )
˜ (Dz )ij = Ω(t) φi (∇ · wj )
˜
The symmetric positive definite mass matrix
The rectangular derivative matrix maps
describes how matter is distributed in space
between pressure and velocity spaces. This
matrix is a discrete version of the Div operator.
Its adjoint (transpose) is the Grad operator
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 10 / 27
11. Computing Mass and Derivative Matrices
In practice, we compute the mass and derivative matrices by integrating over the reference volume
using a change of variables:
f= (f ◦ Φ)|Jz |
Ω(t) ˜
Ω(t)
The integrals are computed using Gaussian quadrature of a specified order. For certain integrands
and quadrature rules, this can be computed exactly:
Nq
˜
Ω(t)
(f ◦ Φ)|Jz | ≈ ∑ αn {f ◦ Φ)|Jz |}x=qˆn
ˆ
n=1
2D Order 1 Gauss-Legendre 2D Order 2 Gauss-Legendre 2D Order 3 Gauss-Legendre 2D Order 4 Gauss-Legendre
rule (exact for Q1) rule (exact for Q3) rule (exact for Q5) rule (exact for Q7)
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 11 / 27
12. Semi-Discrete Mass Conservation
We define the zonal mass moments in a natural manner: mz,i = ρψi
Ωz (t)
dmz,i
The Lagrangian description requires that: =0
dt
From the representation: ρ(x, t) ≈ ∑ρi (t)ψi (x) it follows that: mz,i = ∑ ρz,j ψi ψj
i j
Ωz (t)
In matrix form we have: mz = Mρ ρz
z where (Mρ )i,j =
z ψi ψj
Ωz (t)
d
If we impose the stronger condition: ρψ = 0 for any function ψ
dt Ω(t)
then we obtain the strong mass conservation principle:
ρ(t)|J(t)| = ρ(t0 )|J(t0 )|
Note that, in general, the density defined by the above equation is not polynomial.
Note that both generalizations imply the standard zonal mass conservation
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 12 / 27
13. Mixed Finite Elements
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 13 / 27
14. High Order Methods Using the Q2 Basis
Points in reference space Points in physical space
For each Q2 zone, we track 9
independent vertices
(coordinates, velocities,
accelerations etc ) which define
the quadratic mapping from
reference space to physical
space. This mapping is defined
using the Q2 Jacobian matrix,
which is a function:
Jmat=[(-4*(y - 1)*(2*y - 1)*(2*x - 1)*X5 +
Basis function in reference space Basis function in physical space
(y - 1)*(2*y - 1)*(4*x - 3)*X1 + (y- 1)*(2*y
- 1)*(4*x - 1)*X2 + 16*(y - 1)*(2*x - 1)*X9*y
- 4*(y - 1)*(4*x- 3)*X8*y - 4*(y - 1)*(4*x -
1)*X6*y - 4*(2*y - 1)*(2*x - 1)*X7*y + (2*y-
1)*(4*x - 3)*X4*y + (2*y - 1)*(4*x -
1)*X3*y); (-4*(2*y - 1)*(x - 1)*(2*x - 1)*X8
+ 16*(2*y - 1)*(x - 1)*X9*x - 4*(2*y -1)*(2*x
- 1)*X6*x + (4*y - 3)*(x - 1)*(2*x - 1)*X1 -
4*(4*y - 3)*(x -1)*X5*x + (4*y - 3)*(2*x -
1)*X2*x + (4*y - 1)*(x - 1)*(2*x - 1)*X4
-4*(4*y - 1)*(x - 1)*X7*x + (4*y - 1)*(2*x -
1)*X3*x)];
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 14 / 27
15. High Order Methods Using the Q2 Basis
For each zone in the computational mesh, we compute the following matrices using
Gauss-Legendre quadrature of a specified order.:
The symmetric positive definite 9 by 9 mass
matrix describes how matter is distributed (Mz )i,j ≡ ρz (wi wj )|Jz |
within the Q2 zone ˆ
Ωz
The rectangular derivative matrix maps
between the pressure and velocity spaces.
(Dx )i,j ≡
z φi (J−1 ∇wj ) · {1, 0}|Jz |
z
ˆ
Ωz
This matrix is a discrete version of the Div
operator. Its adjoint (transpose) is the Grad
operator
(Dy )i,j ≡
z φi (J−1 ∇wj ) · {0, 1}|Jz |
z
ˆ
Ωz
The symmetric positive definite 9 by 9 stiffness
matrix is a discrete version of the second order
DivGrad operator. It is used to compute the
(Sz )i,j ≡ µz (J−1 ∇wi )(Jz ∇wj )|Jz |
z
−1
ˆ
Ωz
artificial viscosity
The bulk of the computational effort is in computing the high order Jacobian matrix. However, this
can be computed once per DOF and shared between each matrix.
For the remaining examples, we apply mass lumping to the mass matrix to eliminate the need for
a global linear solve. In addition, we compute the mass matrix only once as an initial condition.
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 15 / 27
16. Static Momentum Equation Solve Convergence Study
In this simple test, we project an analytic pressure function Lumped mass matrix
onto a randomly perturbed mesh and solve for the
resulting accelerations:
π π
p(x, y) = cos( x) cos( y)
2 2
ma = −∇p
Ma = −DT p
Full linear solve
Randomly perturbed base line mesh and a sequence of
refinements
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 16 / 27
17. 1D Sod Shock Tube: Velocity and Density
We consider two meshes: A coarse 60 zone mesh and fine 120 zone mesh
For each method, qlin = qquad = 1.0, no monotonic limiter is used
We acknowledge this is sub-standard for Q1 (i.e. limiters make a difference); however, this a
fair comparison between each method
For each zone, 5 plot points are evaluated
Each method captures contact discontinuity exactly due to discontinuous thermodynamic
basis
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 17 / 27
18. 1D Sod Shock Tube: Velocity and Density (Zoomed View)
We consider two meshes: A coarse 60 zone mesh and fine 120 zone mesh
For each method, qlin = qquad = 1.0, no monotonic limiter is used
We acknowledge this is sub-standard for Q1 (i.e. limiters make a difference); however, this a
fair comparison between each method
For each zone, 5 plot points are evaluated
Each method captures contact discontinuity exactly due to discontinuous thermodynamic
basis
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 18 / 27
19. Sedov Blast Problem, 20 by 20 Mesh: Q1-Q0 FEM
Standard HG filter
required
Shock is not well
resolved on this
coarse mesh
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 19 / 27
20. Sedov Blast Problem, 20 by 20 Mesh: Q2-Q1d FEM
No HG filter used
Curved elements
81 plot points used per cell
Shock front is much sharper
on the same mesh
Zone at origin has incorrect
deformation
Velocity oscillations are
observed in post shock region
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 20 / 27
21. Sedov Blast Problem, 20 by 20 Mesh: Q2-Q1d FEM
No HG filter used
81 plot points used per cell
Allowing 25% of the linear-q
term in expansion has a
significant benefit
Velocity oscillations in post
shock region are eliminated
Curved deformation of zones
closely resembles exact
deformation
We have not taken full benefit
of the high order information
in each cell to compute the
viscosity coefficient, this is an
area we plan to investigate
much further
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 21 / 27
22. Sedov Blast Problem, 20 by 20 Mesh Comparison
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 22 / 27
23. Noh Implosion Problem, 30 by 30 Mesh: Q1-Q0 FEM
Standard HG filter
required
Shock is not well
resolved on this
coarse mesh
No overshoots or
undershoots are
observed
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 23 / 27
24. Noh Implosion Problem, 30 by 30 Mesh: Q2-Q1d FEM
No HG filter used
36 plot points per zone
Shock is more sharply
resolved
Wall heating is diminished
Post shock density is closer
to correct value
Strong undershoots and
overshoots in the density are
observed in the single layer of
zones at shock front
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 24 / 27
25. Noh Implosion Problem, 30 by 30 Mesh: Q2-Q2d FEM
No HG filter used
36 plot points per zone
Shock is more sharply
resolved
Wall heating is diminished
Post shock density is closer
to correct value
Under shoots in density
diminished, but overshoots
persist
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 25 / 27
26. Conclusions
We have developed a general FEM framework for Lagrangian CFD
Kinematic and thermodynamic space can be chosen independently
For triangles:
Linear, quadratic, cubic, etc. kinematic space
Constant, linear, quadratic, etc. thermodynamic space
For quads:
Bi-linear, bi-quadratic, bi-cubic, etc. kinematic space
Constant, bi-linear, bi-quadratic, etc. thermodynamic space
This allows us to experiment with many different finite element pairs
We have also demonstrated that high order Lagrangian methods have significant promise
Permits curved elements
Increased accuracy
Sharper shocks
Density/pressure gradients in a single cell
Second derivatives of velocity in a single cell
Potential improvements for sub-zonal physics / multi-material ALE
Post shock ringing is still an issue and we plan to address this by improving the artificial
viscosity coefficient (e.g. the Hyper Viscosity technique of Cook and Cabot)
Truman Ellis (Cal Poly) High Order Finite Elements for Lagrangian CFD November 2009 26 / 27