phase-field modelsfkd/courses/egee520/2019deliverables/phase.pdf · advantages of phase field...

33
Phase-Field Models Faras Al Balushi Timothy Duffy

Upload: others

Post on 29-Oct-2019

4 views

Category:

Documents


0 download

TRANSCRIPT

Phase-Field Models

Faras Al BalushiTimothy Duffy

★ Introduction

★ Historical background

★ General principle

★ Governing equations

★ Hand-calculation example

★ Numerical example

2

★ Introduction

★ Historical background

★ General principle

★ Governing equations

★ Hand-calculation example

★ Numerical example

3

Introduction to Phase Field Modeling

● Mathematical model used to solve interfacial problems

● Provide quantitative modeling of the evolution of microstructure

and physical properties at the mesoscale

● Solve for problems where the shape of the interface is important

● Used widely in material science

Openphase.de

4

Applications in Which Phase Field Models Are Used:

● Solidification dynamics

● Viscous fingering

● Droplet on solid interface

● Fracture dynamics

● Phase transformation

5

Advantages of Phase Field Models:

● Able to turn sharp interfaces to diffuse interfaces

● No explicit tracking of the interface

● Can solve for problems involving three phases

● Can be converted from 2D to 3D easily

● Provide more accurate solutions

6

Disadvantages of Phase Field Models:

● Large number of grid points needed near the interface

● Computationally-intensive

● Applications are limited to shape observation

7

★ Introduction

★ Historical background

★ General principle

★ Governing equations

★ Hand-calculation example

★ Numerical example

8

Historical Background

● Van Der Waals

● Cahn-Hilliard

● Landau-Ginzburg

9

Before Phase Field Models

v

10

Phase-Field Models at Penn State:

→ Dr. Long-Qing Chen

● Professor of Material Science and Engineering

● Research area:

○ Phase-field methods and software development

○ Co-evolution of microstructures and properties

● Projects:

○ Phase-field modeling of dielectric degradation and breakdown

○ Phase-field Model of Microstructure Evolution in Ti-Alloys

12

★ Introduction

★ Historical background

★ General principle

★ Governing equations

★ Hand-calculation example

★ Numerical example

13

General Principles

Diffuse Interface

14

Free Energy- Double WellPhase Field Variables

0

0.2

0.4

0.6

0.8

1

0 0.5 1

p(φ

)

φ

The phase field variable φ represents a state that a system can evolve towards

15

e.g. phase, spin, crystal lattice, composition

-1 ≤ φ ≤ 1

Commonly:

0≤ φ ≤ 1

or

Vapor φ=0

Liquid φ=1

The phase field variables φ provide a tool to interpolate between the parameters of two phases

16

0

0.2

0.4

0.6

0.8

1

0 0.5 1

p(φ

)φ𝑝 𝜙 = 𝜙3 6𝜙2 − 15𝜙 + 10

For parameters such as heat capacity,

conductivity, etc.

Allows us to perform Multiphysics

problems with interfaces

Common interpolation function:

Diffuse Interface- No tracking required!

17

Sharp Boundary

● Continuous properties across interface

● Don’t need to track interface during solve

Diffuse Boundary

● Discontinuous properties between the interface

● Location of interface is part of the unknowns

Moehlans et al. (2008)

Free Energy Double-Well Minimization of free energy

18

𝐹 = 𝐹bulk + 𝐹int + 𝐹el + 𝐹fys+. . .

𝐹 =

𝑉

𝑓 𝜙, 𝑐, 𝑇 +𝜖𝐶2

2|𝛻𝑐|2 +

𝜖𝜙2

2|𝛻𝜙|2 dV

𝜖𝜙 = 6𝜎𝑙

𝑊 = 3𝜎

𝑙

Penalizes sharp interface

Penalizes intermediate phases

0

0.02

0.04

0.06

0.08

-0.2 0 0.2 0.4 0.6 0.8 1 1.2

f(φ

) / J m

-3

φ

𝑓 𝜙 = 𝑊𝜙2 1 − 𝜙 2

𝑊

Interfacial gradient

Double-Well height

Calphad: Thermodynamic Database for Phase Diagrams/ Free Energy Functions

CALculation of PHAse Diagrams

Longer run times for more

quantitative solution

Commonly used in binary/ternary

alloy systems

19Kobayashi (2003)

Governing Equations

Cahn Hilliard

20

Allen- Cahn/

time-dependent Ginzburg-Landau

𝜕𝑐

𝜕𝑡= 𝛻𝑀𝑐𝛻

δF

δ𝑐

𝜕𝜙

𝜕𝑡= −𝑀𝜙

δF

δ𝜙

δF

δ𝜙=𝜕𝑓

𝜕𝜙− 𝜖𝜙

2𝛻2𝜙

Conserved variables Non-conserved variables

Hand Calculation Example: Allen Cahn 1D

21

𝜕𝜙

𝜕𝑡= −𝑀𝜙

𝜕𝑓

𝜕𝜙− 𝜖𝜙

2𝜕2𝜙

𝜕𝑥2

Phase α

Phase β

Initially:

Allen- Cahn:

1 2

How does this develop over time?

𝜙1 𝜙2

Hand Calculation Example

22

1

𝑀𝜙

𝜕𝜙

𝜕𝑡+𝜕𝑓

𝜕𝜙= 𝜖𝜙

2𝜕2𝜙

𝜕𝑥2Rearranged:

Substitute Shape Functions:

Takes the Form: *No Flux

𝑆𝐴𝐿

2𝑀𝜙

1 00 1

𝜙.

1

𝜙.

2

+𝑆𝐴𝐿

21 00 1

𝜕𝑓 𝜕𝜙1 𝜕𝑓 𝜕𝜙2

+𝜖𝜙2𝐴

𝐿1 −1−1 1

𝜙1𝜙2= 0

We use semi-implicit time stepping

23

𝑆𝐴𝐿

2𝑀𝜙

1 00 1

𝜙.

1

𝜙.

2

+𝑆𝐴𝐿

21 00 1

𝜕𝑓 𝜕𝜙1 𝜕𝑓 𝜕𝜙2

+𝜖𝜙2𝐴

𝐿1 −1−1 1

𝜙1𝜙2= 0

𝜕𝑓 𝜕𝜙 term is too costly to calculate at t+1, so we use it’s historic value

𝜙.

1 =𝜙1𝑡+1 − 𝜙1

𝑡

ΔtSubstitute with:

𝑆𝐴𝐿

2𝑀𝜙Δt1 00 1

𝜙1𝑡+1 − 𝜙1

𝑡

𝜙2𝑡+1 − 𝜙2

𝑡 +𝑆𝐴𝐿

21 00 1

𝜕𝑓 𝜕𝜙1𝑡

𝜕𝑓 𝜕𝜙2𝑡 +

𝜖𝜙2𝐴

𝐿1 −1−1 1

𝜙1𝑡+1

𝜙2𝑡+1 = 0

One last rearrangement:

24

𝑆𝐴𝐿

2𝑀𝜙Δt1 00 1

𝜙1𝑡+1 − 𝜙1

𝑡

𝜙2𝑡+1 − 𝜙2

𝑡 +𝜖𝜙2𝐴

𝐿1 −1−1 1

𝜙1𝑡+1

𝜙2𝑡+1 +

𝑆𝐴𝐿

21 00 1

𝜕𝑓 𝜕𝜙1𝑡

𝜕𝑓 𝜕𝜙2𝑡 = 0

C11 00 1

𝜙1𝑡+1

𝜙2𝑡+1 + C2

1 −1−1 1

𝜙1𝑡+1

𝜙2𝑡+1 = C1

1 00 1

𝜙1𝑡

𝜙2𝑡 − C3

1 00 1

𝜕𝑓 𝜕𝜙1𝑡

𝜕𝑓 𝜕𝜙2𝑡

C1 C2 C3

𝜙1𝑡+1 =

C1𝜙1𝑡 + C2𝜙2

𝑡+1 − C3 𝜕𝑓 𝜕𝜙1𝑡

C1 + C2

𝜙2𝑡+1 =

C1𝜙2𝑡 + C2𝜙1

𝑡+1 − C3 𝜕𝑓 𝜕𝜙2𝑡

C1 + C2

𝑆𝑦𝑠𝑡𝑒𝑚 𝑜𝑓 2 𝑒𝑞𝑢𝑎𝑡𝑖𝑜𝑛𝑠

Time Stepping in MS Excel

25

Numerical Example: COMSOL

26

COMSOL Example: Grain Growth

27

Random starting grid,

Average 𝜙 = 0.5 (equal parts phase A and phase B)

Surface Tension = 1 mN/m Surface Tension =100 mN/m Surface Tension =1 N/m

Dendrite growth:Allen Cahn +Heat Equation w/ Latent heat of solidification

28Takaki (2014)

Wetting Phenomena on rough surfaces

29Turco et al. (2008)

• Prescribe droplet volume• Add appropriate free energy terms

Cahn-Hilliard+ Navier Stokes: 3-Phase Flow

A

30

B

Air bubble crossing water-oil interface

● bubble radius increases for each case

C

Boyer et al. (2010)

Snowflake growth

● Two-phases (ice, vapor)

● Two coupled non-conserved

phase field equations

31

Demange et al. (2017)

Thank you!Do you have any question?

32

References

33

S. B. Biner, Programming Phase-Field Modeling. Cham: Springer International Publishing,

2017.

W. J. Boettinger, J. A. Warren, C. Beckermann, and A. Karma, “Phase-Field Simulation of

Solidification,” Annu. Rev. Mater. Res., vol. 32, pp. 163–194, 2002.

F. Boyer, C. Lapuearta, S. Minjeaud, and B. Piar, “Cahn-Hilliard/Navier-Stokes Model for the

Simulation of Three-Phase Flows,” Transp. Porous Media, vol. 82, pp. 463–483, 2010.

G. Demange, H. Zapolsky, R. Patte, and M. Brunel, “A phase field model for snow crystal

growth in three dimensions,” npj Comput. Mater., pp. 3–15, 2017.

H. Kobayashi, M. Ode, S. G. Kim, W. T. Kim, and T. Suzuki, “Phase-field model for

solidification of ternary alloys coupled with thermodynamic database,” Scr. Mater., vol.

48, pp. 689–694, 2003.

N. Moelans, B. Blanpain, and P. Wollants, “An introduction to phase-field modeling of

microstructure evolution,” Calphad, vol. 32, no. 2, pp. 268–294, 2008.

T. Takaki, “Phase-field Modeling and Simulations of Dendrite Growth,” ISIJ Int., vol. 54, no. 2,

pp. 437–444, 2014.

A. Turco, F. Alouges, and A. DeSimone, “Wetting on rough surfaces and contact angle

hysteresis: numerical experiments based on a phase field model,” ESAIM Math. Model.

Numer. Anal., vol. 43, pp. 1027–1044, 2009.