phase eld modelling - github pagesfigure:new material development cycle: 10 to 20 years. can we...

29
Phase field modelling M P Gururajan Preamble Microstructure A few movies Phase field modelling Phase field modelling Current challenges and opportunities for high performance computing P G Tennyson , D Mohan , G Phanikumar , M P Guru rajan 1 Department of Metallurgical Engineering and Materials Science, Indian Institute of Technology Bombay, Mumbai 400076 INDIA : Tata Research Development and Design Center (TRDDC), Pune : Department of Metallurgical and Materials Engineering, IIT Madras, Chennai December, 2018 1 [email protected],[email protected]

Upload: others

Post on 05-Oct-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Phase field modellingCurrent challenges and opportunities for high performance

computing

P G Tennyson†, D Mohan‡, G Phanikumar‡, M P Gururajan1

Department of Metallurgical Engineering and Materials Science,Indian Institute of Technology Bombay, Mumbai 400076 INDIA

†: Tata Research Development and Design Center (TRDDC), Pune‡: Department of Metallurgical and Materials Engineering, IIT Madras, Chennai

December, 2018

[email protected],[email protected]

Page 2: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Acknowledgements

Funding: IRCC, IIT Bombay, DST, Government of India, DRDOand SASE, Ministry of Defence, Government of India,DST-DAAD, Tata Steel, GE India

Computational resources: Spinode, Dendrite, Nebula /Space-Time, Param Yuva (C-DAC, Pune)

Organisers, specifically, Dr. Shenoy, C-DAC, Pune

Teachers, collaborators, students

Page 3: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Outline

Microstructure and its evolution

Phase field modelling

Examples: Six-fold anisotropy on morphology / Solidification

Way forward!

Page 4: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Computational Materials Engineering Group

Figure: CMEG: part of materials and process modelling lab

Page 5: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

The problem

Figure: New material development cycle: 10 to 20 years. Can we bring itdown to less than 5 years? Xiong and Olson, npj Computational Materials,2016

Page 6: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

ICME

Figure: ICME: The minerals, metals and materials society (TMS) study,2013

Page 7: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Tools and techniques

Figure: Computational materials science: tools and techniques

Page 8: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

What is microstructure?

Figure: Microstructure (a Ni-base superalloy). Xu et al, Met. Mat. Trans.A, 1998

Structure, shapes, sizes and distribution of interfaces

Page 9: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Microstructural evolution

Figure: Effect of heat treatment. Xu et al, Met. Mat. Trans. A, 1998

Page 10: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Microstructural evolution

Figure: Dendrites during solidification. David et al, JOM, 2003

Page 11: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Spinodal decomposition

0.5

Homogeneous system with noise

Figure: A homogeneous alloy with a slighlty noisy composition profile

Page 12: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Pure material solidification

Undercooled melt

Nucleus

Figure: An undercooled melt with insulated sides and nucleus on one of thewalls. The interfacial energy is 4-fold anisotropic.

Page 13: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Six-fold dendrites

Undercooled melt

Nucleus

Figure: An undercooled melt with insulated sides and nucleus at the centre.The interfacial energy is 6-fold anisotropic.

Page 14: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Spinodal decomposition

Figure: Regions rich in A (B) become richer in A (B) with time.Microstructures at times 0, 100 and 1000 units.

Page 15: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Issue 1

The phase field method, like many other modeling ap-proaches, is practically limited by the computational expenseentailed in running large simulations. The challenge stemsfrom the need to resolve a diffuse interface that has a dif-fuseness that is on a much smaller length scale than a typicalmicrostructural evolution length scale.

–Modeling Across Scales: A Roadmapping Study for Con-necting Materials Models and Simulations Across Length andTime Scales, TMS study report, 2015

Page 16: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Issue 2

Common software: MicressTM, FiPyTM, OpenPhaseTM, and MOOSE(Marmot)TM

Compare with VASP, LAMMPS, ParaDIS, ...Phase field: an approach and not a set methodology (like FEM)pfHUB: maintained by NIST

Page 17: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Phase field models

∂c

∂t= ∇M∇µ = ∇M∇[g(c)− κ∇2c] (1)

∂φ

∂t= −Lµ = L[κ∇2φ− g(φ)] (2)

Ginzburg-Landau, Alan Turing (Chemical morphogenesis), ...

Page 18: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Characteristics of phase field models

Interfaces are not sharp; diffuse interface model

No tracking of interface: numerical solutions are easier

Gradient energy coefficient: interfacial energy contributions(Gibbs-Thomson, for example) are automatically accounted for

Topological singularities (splitting or disappearance ofinterfaces): naturally taken care of

Elastic stress, magnetic and electric field: can be coupled byadding the relevant free energy term!

Page 19: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

What is phase field modelling?

Some representative viewpoints:

An approach to obtain solutions of PDEs that are hard to solve– by introducing artificial regions of continuity where there arediscontinuities (Mathematical)

Non-linear partial differential equations that lead to solutionswhich are interesting patterns (Biology)

Continuum equations derived from statistical mechanics thatlead (as solution) to interesting patterns (Physics)

Partial differential equations that describe diffusion (of atomsand heat) as well as phase transformations (Materials science)

Page 20: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Spectral technique

∂c

∂t= D∇2c (3)

Spatial Fourier transform of c: c̃ =∫

c(x) exp [−ik · r]dVTurns the PDE into ODE:

dc̃

dt= −Dk2c̃ (4)

Semi-implicit Fourier spectral technique

∂c

∂t= ∇M∇µ = ∇M∇[g(c)− κ∇2c] (5)

∂φ

∂t= −Lµ = L[κ∇2φ− g(φ)] (6)

Page 21: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Advantages of FFT

Periodic boundary conditions: representative volume elements

Semi-implicit Fourier spectral technique

Good, fast, open source FFT codes: FFTW

Page 22: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Extended Cahn-Hilliard free energy: anisotropicinterfacial energy

µ = g(c)

− 2κIijcij

− 12βIijklcijckcl + 2βIII

ijklcijkl

− 30αIijklmncijckclcmcn − 2αVII

ijklmncijklmn (7)

For details: E S Nani and M P Gururajan, Philosophical Magazine Letters (2014)

Page 23: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Six fold anisotropy

Interfacial energy anisotropy / Point effect of diffusion / FG to CG

Att. kinetics anisotropy / SG to CG / Noise and Point Effect of DiffFrom unpublished M Tech thesis of Mr. Abhinav Soni

Page 24: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Profiling on NIVIDIAr - K40C GPUs (Ternary alloycode)

Strong scaling

Weak scaling

Mohan and Phanikumar, Unpublished

Page 25: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Profiling

Figure: Profiling of 3D phase-field code

Figure: Ni - 19 Cr - 5 Nb (wt.%) alloy - 3D isothermaldendrite at ∆T = 8.0 K, ∆t = 58.0 ns for ∆x = 50.0 nm.(384 × 384 × 1024)

Mohan and Phanikumar, Unpublished

Page 26: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Performance

1024 1536 2048 2560 3672 40960

1000

2000

3000

4000

5000

Domain length

Tim

e in s

econds

Time taken for 10000 timesteps

ATI HD5870MPI 16MPI 32MPI 64

P G Tennyson, G M Karthik, and G Phanikumar, Computer PhysicsCommunications, 2015.

Page 27: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Data Visualization

Data files from each processorwritten at specific time intervals asunformatted .bin files

Data files collated and converted to.mat files by Mat I/O library byChristopher Hulbert

Visualization of data output wasdone in Matlab R©

MayaVi, created by PrabhuRamachandran, was used for 3- Ddata visualization

500 1000 1500 2000 2500 3000 3500 4000

500

1000

1500

2000

2500

3000

3500

4000

0.02

0.04

0.06

0.08

0.1

0.12

0.14

0.16

P G Tennyson, G M Karthik, and G Phanikumar, Computer Physics Communications, 2015.

Page 28: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

Summary

Phase field models: highly nonlinear, stiff PDEs

Large scale computations solving phase field models: importantfrom an applications point of view

There is plenty to explore: including developing standard, opensource code and its parallel implementation

Page 29: Phase eld modelling - GitHub PagesFigure:New material development cycle: 10 to 20 years. Can we bring it down to less than 5 years? Xiong and Olson, npj Computational Materials, 2016

Phase fieldmodelling

M P Gururajan

Preamble

Microstructure

A few movies

Phase fieldmodelling

THANK YOU!