300 likes | 484 Views
School of Computing. “An Adaptive Numerical Method for Multi-Scale Problems Arising in Phase-field Modelling”. Peter Jimack, Andy Mullis and Jan Rosam. BICS Numerical Analysis Conference, 7 September 2007. Outline. Introduction Coupled Phase-Field model for Modeling Alloy Solidification
E N D
School of Computing “An Adaptive Numerical Method for Multi-Scale Problems Arising in Phase-field Modelling” Peter Jimack, Andy Mullis and Jan Rosam BICS Numerical Analysis Conference, 7 September 2007
Outline • Introduction • Coupled Phase-Field model for Modeling Alloy Solidification • Adaptive Spatial Discretisation • Fully Implicit Temporal Discretisation • Nonlinear Multigrid solver • Results Jimack, Mullis and Rosam
Introduction • Real Solidification Structures Dendritic microstructure formation in Xenon systems J.H. Bilgram, ETH Zurich Jimack, Mullis and Rosam
Introduction • Thermodynamic Background Driving force for Solidification Pure Materials Temperature Alloys Concentration Dilute Alloys Temperature + Concentration Jimack, Mullis and Rosam
Thermal-solute Phase-field model • Basic Idea of Phase-Field Phase-field variable describes microstructure with diffuse interface approach Jimack, Mullis and Rosam
Thermal-solute Phase-field model • Karma’s Phase-field model • Properties: • highly nonlinear • noise introduced by anisotropy function A(Ψ) • where Phase Equation Jimack, Mullis and Rosam
Thermal-solute Phase-field model • Karma’s Phase-field Model Concentration Equation Temperature Equation • highly nonlinear Jimack, Mullis and Rosam
Thermal-solute Phase-field model • Karma’s Phase-field Model (multiple time scales) D Concentration Equation Temperature Equation • highly nonlinear Jimack, Mullis and Rosam
Thermal-solute Phase-field model • Multiscale Problem Cross-section of typical solution Large ratios of the diffusion coefficients lead to a multiscale problem that is highly stiff Jimack, Mullis and Rosam
Adaptive Spacial Discretisation • Adaptive mesh refinement • second or fourth order Finite Difference method • based upon quadrilateral meshes (non-uniform) • adaptive remeshing controlled by a gradient criterion • compact stencils used to reduce grid anisotropy Further mesh refinement on coarser levels to represent the temperature field accurately !! The sharp interfaces of the phase and concentration fields lead to large gradients so fine mesh resolution is essential !! Jimack, Mullis and Rosam
Fully Implicit Temporal Discretisation • Explicit time integration methods • explicit methods are `easy` to apply • but impose a time step restriction • very fine mesh resolution is • needed to resolve the large • gradients in the interface region, • so the time steps become • excessively small Jimack, Mullis and Rosam
Fully Implicit Temporal Discretisation • Explicit time integration methods • explicit methods are easy to apply • but impose a time step restriction • very fine mesh resolution is • needed to resolve the large • gradients in the interface region, • so the time steps become • excessively small C Jimack, Mullis and Rosam
Fully Implicit Temporal Discretisation • Influence of the Multiscale problem • STRONG dependence on material • parameters, LE = D/α : • increasing ratio of diffusion • coefficents leads to a further drop • in the time steps size! Jimack, Mullis and Rosam
Fully Implicit Temporal Discretisation • Fully implicit BDF2 method • fully implicitsecond-order BDF method is used to overcome these time • step restrictions Jimack, Mullis and Rosam
Fully Implicit Temporal Discretisation • adaptive time step control • the BDF2 method is combined with variable time steppingbased upon a • local error estimator The adaption of the time step leads to a much larger time step than the maximum stable time step for the explicit Euler method !! Jimack, Mullis and Rosam
Fully Implicit Temporal Discretisation • convergence of solution as maximum mesh level is increased • The BDF2 method allows sufficiently fine spatial meshes to be used: Jimack, Mullis and Rosam
Nonlinear Multigrid solver • nonlinear Multigrid solver for adaptive meshes At each time step a large nonlinear algebraic system of equations must be solved for the new values: , and . Unless this can be done efficiently the method is worthless… • A fully coupled nonlinear Multigrid solver is used to achieve this: • based upon the FAS (full approximation scheme) approach to resolve the non-linearity • and the MultiLevel AdapTive (MLAT) scheme of Brandt to handle the adaptivity • a pointwise weighted nonlinear Gauss-Seidel iterative scheme is seen to be an adequate smoother. • Excellent, h-independent, convergence results are obtained. Jimack, Mullis and Rosam
Nonlinear Multigrid solver • the FAS scheme • The FAS scheme, for solving A(U)=f, has the following features… • Smoother is nonlinear -- we use a pointwise weighted G-S scheme: • The correction step requires an approximation to the full coarse grid problem but with a modified right-hand-side: Jimack, Mullis and Rosam
Nonlinear Multigrid solver • the FAS scheme • In this implementation: • Interpolation from coarse to fine grids is bilinear • Restriction from fine to coarse grids is simple injection • We use a full multigrid (FMG) version because of the locally refined meshes: Jimack, Mullis and Rosam
Nonlinear Multigrid solver • the MLAT scheme For the MLAT scheme the nodes at the interface between refinement levels are treated as a Dirichlet boundary by the smoother… Jimack, Mullis and Rosam
Nonlinear Multigrid solver • nonlinear Multigrid solver for adaptive meshes • Here we see the mesh-independent convergence rate of the nonlinear multigrid solver: Jimack, Mullis and Rosam
Nonlinear Multigrid solver • nonlinear Multigrid solver for adaptive meshes • Here we see the optimal solution time for the nonlinear multigrid solver: Jimack, Mullis and Rosam
Nonlinear Multigrid solver • nonlinear Multigrid solver for adaptive meshes • The specific choice of multigrid cycle can be selected for the best performance, as shown in the following table: Jimack, Mullis and Rosam
Simulation results • Dilute binary alloy solidification simulation with Lewis number 500 Lewis number 500 Jimack, Mullis and Rosam
Simulation results • Progression of the adaptive mesh Jimack, Mullis and Rosam
Future Work • Physical solidification occurs in 3-d: • these 2-d simulations have limited quantitative predictive capabilities. • We must generalize the approach to a fully coupled 3D phase-field model: • adaptivity on hexahedral meshes, • fully implicit time-stepping with 3d nonlinear multigrid, • parallel implementation likely to be essential. • So far we have only just begun this process by looking at a pure thermal problem (so explicit time-stepping is feasible)… Jimack, Mullis and Rosam
Future Work • Beginning with an explicit solver in 3-d • An example of solidification with a six-fold symmetry… Jimack, Mullis and Rosam
Future Work • Beginning with an explicit solver in 3-d • A snap shot of the mesh with at most 8 refinement levels… Jimack, Mullis and Rosam
Future Work • Beginning with an explicit solver in 3-d • A snap shot of the mesh with at most 9 refinement levels… Jimack, Mullis and Rosam
Summary Numerical method: • Finite Difference approximation on adaptively refined meshes • Fully implicit second order BDF time integration • Variable time step control based upon a local error estimator • Fully coupled nonlinear Multigrid solver Phase-field: • The first time a multiscale Phase-field model has been solved fully implicitly • Quantitative simulation of dilute binary alloys with high Lewis number • Now trying to extend everything to 3-dimensions in parallel… Jimack, Mullis and Rosam