Diffusion at solid-solid interfaces

버전 1.0 (40.5 KB) 작성자: Fernando León-Cázares
Finite volume methods implemented in Matlab to model solute diffusion at solid-solid interfaces, accounting for energy barriers and interfac

다운로드 수: 11

업데이트 날짜: 2022/1/14

GitHub에서 호스트

GitHub에서 라이선스 보기

Diffusion at solid-solid interfaces

Finite volume methods implemented in Matlab to model 1D solute diffusion at solid-solid interfaces, accounting for energy barriers and interfacial segregation. The derivation of the models has been published in: F.D. León-Cázares and E.I. Galindo-Nava. Phys. Rev. Mat., 5 (2021) 123802. Please cite this publication if you benefit from this repository.

View Diffusion-at-solid-solid-interfaces on File Exchange

Requirements

Coded in Matlab R2021a. There is no need for additional packages.

License

This repository is published under a GNU GPL v3 license (License: GPL v3). See LICENSE.txt for full licensing information.

Contents and how to use

The Examples.m file showcases the usage of all the functions in this repository. The user can open the example of their preference and change the input parameters. If the simulation diverges, a smaller convergence criterion ~D*dt/dx^2<0.5 (printed by the functions) should be selected. Relevant plots of the concentrations and fluxes are also added for each diffusion case.

Functions - Diffusion simulations

These functions solve the 1D diffusion equations for a compendium of model bicrystal interfaces. The geometry can be set to cartesian, cylindrical or spherical coordinates. Boundary conditions 'perm' of constant concentrations at both surfaces were implemented for all these cases:

  • traps1D_perm.m - Interfacial energy barrier.
  • traps1D_perm_t.m - Monolayer interfacial trap.
  • traps1D_perm_t_diff.m - Diffuse interfacial trap.
  • traps1D_perm_t_inh.m - Monolayer inhomogeneous interfacial trap.

Additionally, the monolayer interfacial trap case is implemented for other two sets of boundary conditions: 'open system' with zero flux (left) and constant concentration (right) surfaces, and 'closed system' with two no flux surfaces.

  • traps1D_open_t.m - Monolayer interfacial trap.
  • traps1D_closed_t.m - Monolayer interfacial trap.

Functions - Plotting energy landscapes

  • energy_landscape_plot.m - Plotting an energy landscape of a monolayer or no trap.
  • energy_landscape_plot_diff.m - Plotting the energy landscape of a diffuse trap.

인용 양식

León-Cázares, Fernando D., and Enrique I. Galindo-Nava. “General Model for the Kinetics of Solute Diffusion at Solid-Solid Interfaces.” Physical Review Materials, vol. 5, no. 12, American Physical Society (APS), Dec. 2021, doi:10.1103/physrevmaterials.5.123802.

양식 더 보기
MATLAB 릴리스 호환 정보
개발 환경: R2021a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.