Analysis Sintering
AnalysisSintering provides sintering-specific microstructure metrics: a line-intersection–based estimate of grain-boundary density along the three primary axes, and a density measure normalised to a reference value. It is intended for green-body sintering studies built on the initial microstructures produced by Initializations::RectangularGreenBody.
Key Classes and Concepts
AnalysisSintering: analysis class. Its results are written as CSV via internal writer methods and timed by theRunTimeControlcadence.
Usage
Input
Defined in the @AnalysisSintering block.
text
@AnalysisSintering
$Rho0 Reference density (normalisation) : 1.0
$LI Use the line-intersection method : Yes
$LIX Line-intersection along X : Yes
$LIY Line-intersection along Y : Yes
$LIZ Line-intersection along Z : Yes
# Bounding-box sizes in physical length (divided by dx internally) {#bounding-box-sizes-in-physical-length-divided-by-dx-internally}
$BBSX Bounding-box size in X : 1.0e-5
$BBSY Bounding-box size in Y : 1.0e-5
$BBSZ Bounding-box size in Z : 1.0e-5| Token | Variable | Type | Default |
|---|---|---|---|
$Rho0 | ReferenceDensity | double | 1.0 |
$LI | Do_LineIntersection | bool | false |
$LIX | Do_LineIntersectionX | bool | false |
$LIY | Do_LineIntersectionY | bool | false |
$LIZ | Do_LineIntersectionZ | bool | false |
$BBSX | BoundingBoxSizeX (grid cells; input is physical length) | double | — |
$BBSY | BoundingBoxSizeY (grid cells; input is physical length) | double | — |
$BBSZ | BoundingBoxSizeZ (grid cells; input is physical length) | double | — |
Output
CSV files with the computed metrics, written at the RunTimeControl output cadence.
Example
cpp
#include "Tools/AnalysisSintering.h"
AnalysisSintering AS(OPSettings, InputFile);
for(RTC.tStep = RTC.tStart; RTC.tStep <= RTC.nSteps; RTC.IncrementTimeStep())
{
if (RTC.WriteVTK())
{
AS.Analyse(Phi, RTC); // writes CSV metrics
}
}Dependencies
- PhaseField — source of the microstructure.
- RunTimeControl — output cadence.
- Initializations — typical starting geometries (
RectangularGreenBody,FillRectangularWithSpheres).