科研 Skill
相场与CALPHAD耦合建模
phase-field-calphad
Covers mesoscale microstructure evolution and CALPHAD thermodynamic phase-diagram modeling. Use for phase-field plus CALPHAD workflows.
SKILL.md
Phase-Field Modeling and CALPHAD
Overview
CALPHAD (CALculation of PHAse Diagrams) computes temperature- and composition-dependent phase
equilibria from thermodynamic databases — the standard tool for multi-component phase diagrams and
alloy design. Phase-field modeling simulates how microstructure (grain growth, phase transformation,
precipitation) evolves over time, often using CALPHAD-derived thermodynamic data as input. Both sit
at the mesoscale, between atomistic simulation (computational-materials) and continuum mechanics
(finite-element-modeling).
When to use this skill
Activate when the request involves:
- CALPHAD, phase diagram (temperature-dependent, not the 0K DFT hull in
materials-structure-analysis), phase-field simulation, microstructure evolution, grain growth, precipitation, Thermo-Calc, pycalphad - Terms: Gibbs free energy, thermodynamic database (.tdb), order parameter, interface mobility
- "Compute this alloy's phase diagram at temperature X," "simulate grain growth/precipitation"
Core usage
CALPHAD phase equilibrium calculation (pycalphad)
from pycalphad import Database, equilibrium, variables as v
db = Database("alloy_system.tdb") # thermodynamic database — see pitfalls on database provenance
components = ["FE", "C", "VA"] # VA = vacancy, a CALPHAD convention for sublattice models
phases = list(db.phases.keys())
eq = equilibrium(db, components, phases, {v.X("C"): 0.01, v.T: 1000, v.P: 101325, v.N: 1})
print(eq.GM.values) # Gibbs energy of the equilibrium state
Binary phase diagram construction
import numpy as np
from pycalphad import binplot
binplot(
db, components, phases,
{v.X("C"): (0, 0.05, 0.001), v.T: (300, 1300, 10), v.P: 101325, v.N: 1},
)
Phase-field simulation (conceptual — MOOSE/similar is input-file/C++-driven, not primarily scripted in Python)
# A phase-field model tracks one or more order parameters (phase fraction,
# composition) evolving under a free-energy functional (often CALPHAD-derived)
# via the Allen-Cahn (non-conserved order parameter, e.g. grain boundaries) or
# Cahn-Hilliard (conserved, e.g. composition) equations. MOOSE's phase-field
# module handles this via input files defining the free energy, mobility, and
# interface parameters — see MOOSE documentation for the current input syntax,
# which is substantial and version-specific.
Validation & Pitfalls
Canonical references: Saunders & Miodownik, CALPHAD: Calculation of Phase Diagrams (1998), for CALPHAD methodology; Chen (2002), "Phase-field models for microstructure evolution," Annual Review of Materials Research, for phase-field modeling.
- CALPHAD results are only as good as the thermodynamic database used, and databases vary in quality, scope, and the systems they were assessed for — a database extrapolated outside the composition/temperature range it was fitted to can give a plausible-looking but unreliable phase diagram; check the database's documented valid range before trusting results outside it.
- Metastable phases and phases outside the database's assessed system are invisible to a CALPHAD
calculation by construction — a CALPHAD phase diagram shows equilibrium among the phases included
in the database, not necessarily every phase that could actually form (including kinetically
stabilized ones); this is a different limitation than the 0K-only nature of the DFT-hull approach in
materials-structure-analysis, but similarly requires stating what the calculation does and doesn't capture. - Phase-field simulation results depend heavily on interface energy/mobility parameters, which are often uncertain or fit rather than independently measured — treat quantitative kinetic predictions (transformation timescales) with more skepticism than qualitative morphology predictions unless the parameters were specifically validated against experimental kinetics for the system in question.
- Grid resolution and interface width in phase-field simulations are numerical parameters, not physical ones, and must be checked for convergence — an under-resolved interface (too few grid points across the diffuse interface width) produces numerically unstable or spuriously fast dynamics; verify convergence with respect to grid resolution before trusting simulated kinetics.
- CALPHAD equilibrium calculations assume full thermodynamic equilibrium is reached — real processes (rapid cooling/quenching, short-duration heat treatments) can leave a material in a non-equilibrium state a CALPHAD diagram doesn't directly predict; this is where the phase-field (kinetic) approach complements the CALPHAD (equilibrium) one, not a substitute for it.
示例提示词
我想把CALPHAD热力学数据库耦合进相场模拟来预测微观组织演化。
所属插件
安装该插件会一并获得同领域的 42 个 Skill / MCP。
同插件的其他科研 Skill
- 贝叶斯优化材料发现Covers Bayesian optimization for materials and chemistry design: surrogate models, acquisition functions, batch/constrained BO. Use when planning sample-efficient experiments or simulations.
- CALPHAD热力学计算工作流Covers CALPHAD computational thermodynamics: database selection, equilibrium/metastable calculations, binary/ternary phase diagrams. Use when predicting phase stability or solidification paths.
- 材料第一性原理与分子动力学模拟Routes first-principles and classical materials simulation (DFT, MD, ML potentials) to the right specialized workflow. Use as an entry point for any simulation-based materials task.
- 蠕变力学建模与验证Selects, calibrates, and validates creep deformation and rupture models under sustained thermomechanical load, covering rate prediction. Use when assessing long-term high-temperature components.
- 晶体塑性有限元建模Covers crystal plasticity and CPFE modeling of metals: slip systems for FCC/BCC/HCP, Schmid factors. Use when simulating texture- and orientation-dependent plastic deformation.
- 衍射结构表征Covers diffraction-based structure characterization (XRD, neutron, SAED): space group determination, Rietveld refinement, phase identification. Use for any diffraction-pattern analysis technique.
- EBSD织构分析Analyzes EBSD orientation maps for grain size, misorientation, phase, and texture, with pole figures and twin-boundary identification. Use for electron backscatter diffraction workflows.
- 电化学性能测试分析Covers electrochemical characterization: cyclic voltammetry, battery cycling analysis, EIS. Use for electrochemistry-specific data analysis distinct from general materials characterization.
- 金属疲劳寿命评估Builds, calibrates, and validates fatigue assessments for metals and components: stress-life, strain-life, multiaxial critical-plane. Use when predicting fatigue life or crack growth.
- 多物理场有限元建模Covers finite element modeling for coupled materials, mechanics, and transport problems: weak-form construction, boundary conditions, mesh choice. Use for multiphysics FEM simulations.
- 连续尺度有限元力学建模Covers continuum-scale mechanical, thermal, and multiphysics simulation with Abaqus/COMSOL conventions, mesh generation. Use for macroscale FEM consuming measured or computed material properties.
- 断裂力学评估与建模Selects, constructs, and validates fracture-mechanics assessments: LEFM checks, elastic-plastic fracture mechanics. Use when assessing cracked materials or components.
- 高斯过程材料回归建模Covers Gaussian process regression for materials and chemistry datasets: descriptor selection, kernel design. Use when a probabilistic surrogate model with uncertainty is needed.
- 自驱动实验室闭环材料发现Covers combinatorial synthesis, robotic experimentation. Use for autonomous or robotics-driven experimental campaigns, a less standardized domain.
- 材料数据库可复现访问Covers reproducible API access to materials databases (Materials Project, AFLOW, OQMD, NOMAD, COD, ICSD-style sources): authentication. Use when programmatically querying these databases.
- 材料数据库跨库查询Covers querying public materials databases beyond Materials Project: AFLOW, OQMD, NOMAD, JARVIS. Use when pulling or comparing data from these live, API-integrated resources.
- 材料数据标准与互操作Covers data interoperability standards for materials science: CIF crystal files, the OPTIMADE query API. Use when structuring or exchanging materials data between tools.
- 材料结构特征化Covers converting structures, compositions, and trajectories into ML feature vectors: Magpie-style elemental statistics. Use when building inputs for materials ML models.
- 材料科学图表绘制规范Covers publication-quality figure conventions for materials science plots: phase diagrams, pole figures, stress-strain curves. Use when the deliverable is a figure, not just an analysis result.
- 材料信息学性质预测Covers ML for materials property prediction and generative design: descriptor-based models, crystal GNNs (CGCNN/MEGNet-class). Use for materials informatics distinct from interatomic potentials.
- 材料生命周期评估Covers life-cycle assessment for materials and manufacturing routes: goal/scope definition, functional units, inventory construction. Use for environmental-impact studies of materials.
- 材料科学文献检索Covers formulating literature search queries for materials science questions and synthesizing/citing results responsibly. Requires a web search tool; it cannot substitute for one.
- 工程材料选型设计Selects engineering materials via material indices and Ashby charts, ranking candidates by performance per cost or mass. Use when picking a material class for a design constraint.
- 材料统计方法与实验设计Covers statistics shared across materials characterization and simulation: design of experiments. Use for cross-cutting statistical treatment of materials data.
常见问题
相场与CALPHAD耦合建模能做什么?
Covers mesoscale microstructure evolution and CALPHAD thermodynamic phase-diagram modeling. Use for phase-field plus CALPHAD workflows。
如何安装相场与CALPHAD耦合建模?
在科搭 Codar 左侧点击「插件」,在「组件」页签搜索「相场与CALPHAD耦合建模」并安装;在 Claude Code 或 Codex 中可以发送本页的安装提示词,或下载 Skill 包后解压到 ~/.claude/skills 或 ~/.codex/skills。
相场与CALPHAD耦合建模需要哪些权限?
该科研 Skill没有声明额外权限;执行具体操作时仍由 Agent 按自身规则请求确认。
相场与CALPHAD耦合建模经过官方审核吗?
是。SpeedSkills 收录的每个版本都会记录内容摘要与权限声明,当前版本已通过安全审核。