Tabulated Beam Profile

The AlSi10Mg case converts a measured nLight AFX Index 3 profile exported by PRIMES LaserDiagnosticsSoftware and uses it in a projected heat source with a constant 50 µm depth.

AlSi10Mg top-surface temperature for the measured tabulated beam profile. The black and white contours denote the 850 K solidus and 870 K liquidus, respectively.

Physical setup

  • AlSi10Mg properties from $ADDITIVEFOAM_ETC/materials/AlSi10Mg.cfg.
  • One measured nLight AFX Index 3 planar intensity distribution.
  • A projected heat source with a tabulated profile and exponential projection.
  • depthReference constant by default, with a configured and applied depth of 50 µm.
  • The original PRIMES CSV converted by primesToAdditiveFoam.
  • Eight MPI ranks.

Run

cp -r "$ADDITIVEFOAM_TUTORIALS/tabulated" "$FOAM_RUN/tabulated"
cd "$FOAM_RUN/tabulated"
./Allrun

Allrun regenerates constant/beamProfile.txt from the original measurement before meshing and running the case:

primesToAdditiveFoam constant/primes-export.csv constant/beamProfile.txt

Important inputs

File Purpose
constant/primes-export.csv Original PRIMES LaserDiagnosticsSoftware export
constant/beamProfile.txt AdditiveFOAM table regenerated by Allrun
constant/heatSourceDict Projected profile, projection, absorption, integration, and AMR settings
constant/scanPath Beam position, time, and incident power
constant/transportProperties AlSi10Mg material properties
system/decomposeParDict Eight-rank domain decomposition

Workflow

The generated table is read by this configuration:

sources
{
    beam
    {
        path            scanPath;
        widthReference  D4Sigma;

        absorption
        {
            model   constant;
            eta     0.2;
        }

        heatSource
        {
            model       projected;
            depth       5.0e-5;
            tolerance   1.0e-3;
            nPoints     (10 10 10);

            profile
            {
                model   tabulated;
                file    "beamProfile.txt";
            }

            projection
            {
                model       exponential;
                nSlope      0;
                nIntercept  1;
            }
        }
    }
}

The table supplies the planar profile and its dimensions, so the heat-source dictionary has no lateral radius. The omitted depthReference uses the configured 50 µm constant depth. See the tabulated-profile reference for interpolation, profile metrics, and table format.

PRIMES conversion

primesToAdditiveFoam converts the LDS table export in constant/primes-export.csv and reports its beam metrics. See primesToAdditiveFoam for the supported export and conversion behavior.

Inspect any converted table independently with:

tabulatedProfileInfo constant/beamProfile.txt

Outputs

Open the reconstructed case in ParaView and visualize qDot to inspect the measured planar distribution and T and alpha.solid to inspect its thermal response.

Absorbed power, melt-pool dimensions, solidification data, and ExaCA histories are covered by the baseline output workflows.