Skip to content

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 the RunTimeControl cadence.

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
TokenVariableTypeDefault
$Rho0ReferenceDensitydouble1.0
$LIDo_LineIntersectionboolfalse
$LIXDo_LineIntersectionXboolfalse
$LIYDo_LineIntersectionYboolfalse
$LIZDo_LineIntersectionZboolfalse
$BBSXBoundingBoxSizeX (grid cells; input is physical length)double
$BBSYBoundingBoxSizeY (grid cells; input is physical length)double
$BBSZBoundingBoxSizeZ (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

Released under the GNU GPLv3 License.