add ons to the compatible staggered lagrangian scheme
play

Add-ons to the compatible staggered Lagrangian scheme and other - PowerPoint PPT Presentation

Add-ons to the compatible staggered Lagrangian scheme and other unspoken details ere 1 R. Loub` 1 Institut de Math ematique de Toulouse (IMT) and CNRS, Toulouse, France ECCOMAS, September 2012 R. Loub` ere (IMT and CNRS) Add-ons to the


  1. Add-ons to the compatible staggered Lagrangian scheme and other unspoken details ere 1 R. Loub` 1 Institut de Math´ ematique de Toulouse (IMT) and CNRS, Toulouse, France ECCOMAS, September 2012 R. Loub` ere (IMT and CNRS) Add-ons to the compat. stag. Lagr. scheme ECCOMAS, September 2012 1 / 24

  2. Plan Introduction and motivation 2D Lagrangian Staggered Hydrodynamics scheme Subcell formalism Specifics : Artificial viscosity, subpressure forces Properties Some “facts” and deaper studies Lagrangian subcell ? Internal (and volume) consistency ? Stability ? Accuracy ? Conclusions and perspectives R. Loub` ere (IMT and CNRS) Add-ons to the compat. stag. Lagr. scheme ECCOMAS, September 2012 2 / 24

  3. Introduction and motivation Why do we still analyse a staggered Lagrangian scheme from the 50’s ? 2D Staggered Lagrangian scheme for hydrodynamics dates back to von Neumann, RichtmyerJ. Appl. Phy. 1950)], Schultz, Wilkins [Green book (1964)] era. later improved by many authors in national labs or academy important subcell based compatible discretization of div/grad [Burton, Caramana, Shashkov (1998)] ✄ improved artificial viscosity, hourglass filters, accuracy time/space, axisymetric geo. ✄ coupling with slide line, materials, diffusion, elastoplasticity, etc. ✄ “engine” of many ALE codes most of all this scheme has been and still is routinely used ! = ⇒ Need to deeply understand its behaviors ! to explain already known features to chose between different “versions” to measure the relative importance of “improvements” to fight back, justify or simply understand urban legends R. Loub` ere (IMT and CNRS) Add-ons to the compat. stag. Lagr. scheme ECCOMAS, September 2012 3 / 24

  4. 2D Lagrangian Staggered Hydro scheme Governing equations 2D gas dynamics equations � 1 � ρ d ρ d ρ d − ∇ · U = 0 dt U + ∇ P = 0 dt ε + P ∇ · U = 0 dt ρ Equation of state EOS P = P ( ρ, ε ) , where ε = E − U 2 2 . Internal energy equation can be viewed as an entropy evolution equation (Gibbs relation � � 1 TdS = d ε + Pd ≥ 0) ρ � d � 1 �� ρ d dt ε + P d dt ε + P ∇ · U = ρ ≥ 0 dt ρ Trajectory equations d X dt = U ( X ( t ) , t ) , X ( 0 ) = x , Lagrangian motion of any point initially located at position x . R. Loub` ere (IMT and CNRS) Add-ons to the compat. stag. Lagr. scheme ECCOMAS, September 2012 4 / 24

  5. 2D Lagrangian Staggered Hydro scheme Preliminaries Staggered placement of variables Point velocity U p , cell-centered density ρ c and internal energy ε c Subcells are Lagrangian volumes Subcell mass m cp is constant in time so are cell/point masses p + Ω c c � � m c = m cp , m p = m cp , Ω cp p p ∈P ( c ) c ∈C ( p ) L cp N cp p − Compatible discretization Given total energy definition and momentum discretization (Newton’s 2nd law) imply energy discretization as sufficient condition Cornerstone : subcell force F cp that acts from subcell Ω cp on p . ✄ compile pressure gradient F cp = − P c L cp N cp , artificial visco, anti-hourglass, elasto forces. � Galilean invariance and/or momentum conservation implies F cp = 0 p ∈P ( c ) R. Loub` ere (IMT and CNRS) Add-ons to the compat. stag. Lagr. scheme ECCOMAS, September 2012 5 / 24

  6. 2D Lagrangian Staggered Hydro scheme Discretization Time discretization : t n − → t n + 1 Originaly staggered placement of variable in time U n + 1 / 2 and ρ n , ε n . Improvement gained by same time location U n , ρ n , ε n . Side effect : This helped total energy conservation. ✄ Predictor-Corrector P/C type of scheme is very often considered. Predictor step is often used as to time center the pressure for correction step. ✄ Very seldom : GRP , ADER to reduce the cost of a two-step P/C process Space discretization : Ω p , Ω c � d d dt V c − L cp N cp · U p = 0 or dt X p = U p , X p ( 0 ) = x p p ∈P ( c ) � d m p dt U p + F cp = 0 c ∈C ( p ) � d m c dt ε c − F cp · U p = 0 p ∈P ( c ) R. Loub` ere (IMT and CNRS) Add-ons to the compat. stag. Lagr. scheme ECCOMAS, September 2012 6 / 24

  7. 2D Lagrangian Staggered Hydro scheme Properties General grid formulation GCL First order accurate scheme in space on non-regular grid, Conservation of mass, momentum, total energy Expected properties Expected (internal) consistency Expected second-order accuracy in time Expected stability under classical CFL condition Biblio [1] Volume consistency in Staggered Grid Lagrangian Hydrodynamics Schemes, JCP , Volume 227, Pages 3731-3737 R. Loub` ere, M. Shashkov, B. Wendroff, [2] On stabiliy analysis of staggered schemes, A.L. Bauer, R. Loub` ere, B. Wendroff, SINUM. Vol 46 Issue 2 (2008) [3] The Internal Consistency, Stability, and Accuracy of the Discrete, Compatible Formulation of Lagrangian Hydrodynamics, JCP , Volume 218, Pages 572-593 A.L. Bauer, D.E. Burton, E.J. Caramana, R. Loub` ere, M.J. Shashkov, P .P . Whalen R. Loub` ere (IMT and CNRS) Add-ons to the compat. stag. Lagr. scheme ECCOMAS, September 2012 7 / 24

  8. Internal consistency General remark The equations are essentially created in discrete form, as opposed to being the discretization of a system of PDE’s. As such, one may or may not be able to rigorously take the continuum limit to obtain the latter ; this depends on the kinds of forces that are employed to resolve shocks and to counteract spurious grid motions. Ambiguity of cell volume definition Results from requiring both total energy conservation and the modeling of the internal energy advance from the differential equation d dt ε + p d dt ( 1 /ρ ) = 0 under assumptions V c can be computed from X p for all p ∈ P ( c ) U p is constant for all t ∈ [ t n ; t n + 1 ] , so that X p ( t ) = X n p + U p ( t − t n ) There exist a coordinate and a compatible cell volume which may be different ! R. Loub` ere (IMT and CNRS) Add-ons to the compat. stag. Lagr. scheme ECCOMAS, September 2012 8 / 24

  9. Internal consistency Ambiguity of cell volume definition Implied coordinate cell volume � t n + 1 � t n + 1 � t n + 1 � dV c ∂ V c ∂ V c V n + 1 − V n c = dt dt = u p dt + v p dt c ∂ x p ∂ y p t n t n t n p ∈P ( c ) � = u p A cp + v p B cp p ∈P ( c ) with A , B are rectangular sparce matrices. Remark Not simple average of integrands unless for Cartesian geometry. R. Loub` ere (IMT and CNRS) Add-ons to the compat. stag. Lagr. scheme ECCOMAS, September 2012 9 / 24

  10. Internal consistency Ambiguity of cell volume definition Implied coordinate cell volume � V n + 1 − V n c = u p A cp + v p B cp c p ∈P ( c ) Implied compatible cell volume Discrete momentum + total energy conservation implicitely defines � � m p ( u n + 1 − u n m p ( v n + 1 − v n p ) − P c a cp = 0 , p ) − P c b cp = 0 p p c ∈C ( p ) c ∈C ( p ) � m c ( ε n + 1 − ε n c ) + P c u p a cp + v p b cp = 0 c p ∈P ( c ) with ( a cp , b cp ) = ∆ t L cp N cp . For adiabatic flows the entropy S satisfies T dS dt = d ε dt + P dV dt = 0. � � � � ε n + 1 − ε n V n + 1 − V n m c + P c = 0 c c c c R. Loub` ere (IMT and CNRS) Add-ons to the compat. stag. Lagr. scheme ECCOMAS, September 2012 10 / 24

  11. Internal consistency Ambiguity of cell volume definition Implied coordinate cell volume � V n + 1 − V n c = u p A cp + v p B cp c p ∈P ( c ) Implied compatible cell volume Discrete momentum + total energy conservation implicitely defines � � m p ( u n + 1 − u n m p ( v n + 1 − v n p ) − P c a cp = 0 , p ) − P c b cp = 0 p p c ∈C ( p ) c ∈C ( p ) � m c ( ε n + 1 − ε n c ) + P c u p a cp + v p b cp = 0 c p ∈P ( c ) with ( a cp , b cp ) = ∆ t L cp N cp , for adiabatic flows the entropy S satisfies T dS dt = d ε dt + P dV dt = 0. � � � ε n + 1 − ε n m c + P c u p A cp + v p B cp = 0 c c p ∈P ( c ) R. Loub` ere (IMT and CNRS) Add-ons to the compat. stag. Lagr. scheme ECCOMAS, September 2012 10 / 24

  12. Internal consistency Ambiguity of cell volume definition Condition for uniqueness of cell volume definition Same volume definition if A cp = a cp , and B cp = b cp ∀ c , p along with total energy conservation and PdV work. But a , b correspond to your prefered discrete gradient and A , B are given by the geometry ! Do the matrices match for different geometry and classical discrete gradient ? 1D Cartesian - Yes 1D cylindrical - No unless (time centering grid vectors + force=0) 1D spherical - No unless (time centering + 1D vector manipulation) 2D Cartesian - No unless (time centering + force=0). 2D cylindrical r − z - No Remark : 2D Cartesian analysis shows that the difference is small ( O (∆ t 3 ) for one time step) R. Loub` ere (IMT and CNRS) Add-ons to the compat. stag. Lagr. scheme ECCOMAS, September 2012 11 / 24

Recommend


More recommend