Multi-Beam
The multiBeam case applies two simultaneous IN625 heat sources separated by 100 µm in the hatch direction.
Physical setup
- IN625 properties from
$ADDITIVEFOAM_ETC/materials/IN625.cfg. - Two simultaneous
superGaussianheat sources. - Each uses
radius (85 85)µm,depth 30µm,k 2, anddefinition e2. - Independent paths separated by 100 µm in the hatch direction.
- Fluid flow disabled by
nOuterCorrectors 0in the tutorial case. - Each source uses
tolerance 1e-3andnPoints (10 10 10). - Eight MPI ranks.
Run
cp -r "$ADDITIVEFOAM_TUTORIALS/multiBeam" "$FOAM_RUN/multiBeam"
cd "$FOAM_RUN/multiBeam"
./Allrun
Important inputs
| File | Purpose |
|---|---|
constant/heatSourceDict |
Defines beam1, beam2, their models, and source-specific AMR buffers |
constant/scanPath_1 |
Position, time, and power for beam1 |
constant/scanPath_2 |
Position, time, and power for beam2 |
constant/dynamicMeshDict |
OpenFOAM topology changer |
system/controlDict |
Run controls and optional Function Objects |
system/fvSolution |
Flow, temperature, and phase-coupling controls |
system/decomposeParDict |
Eight-rank domain decomposition |
Workflow
Allrun generates the mesh, decomposes the case, runs additiveFoam in parallel, and reconstructs the fields. Each named source reads its own scan path; the time and power columns determine when it is active.
When both beams are active, qDot and the absorbed power reported in the solver log include both sources.
Outputs
Open the reconstructed case in ParaView and visualize T, alpha.solid, and qDot to inspect the interaction between the two moving sources and their melt pools.
The AMB2018-02-B tutorial documents the quantitative and microstructure output workflows: