How sophierckr/meltpooldg works
MeltPoolDG is research simulation software for metal additive manufacturing. Users select a simulation case and run an application that advances a coupled physical model and writes simulation output. The repository provides separate applications for advection–diffusion, heat transfer, level sets, reinitialization, melt-pool dynamics, and radiative transport, backed by reusable FEM, multiphase, phase-change, particle, and time-integration components. The map emphasizes these domain capabilities rather than build and test infrastructure. Some subsystem links are dashed because their implementation was not sampled; documented product features are retained where source-level wiring is unavailable.
Main entry points: melt_pool_application.cpp Melt-pool runner · heat_transfer_application.cpp Heat runner · level_set_operation.hpp Level-set methods · level_set_application.cpp Level-set runner
Components 22
Simulation applications
- Case setup
include/meltpooldg/core/case_factory.hpp - Melt-pool runner
applications/mp-melt-pool/melt_pool_application.cpp - Heat runner
applications/mp-heat-transfer/heat_transfer_application.cpp - Level-set runner
applications/mp-level-set/level_set_application.cpp - Reinitialization runner
applications/mp-reinit/reinitialization_application.cpp - Advection runner
applications/mp-advec-diff/advection_diffusion_application.cpp - Radiation runner
applications/mp-radiative-transport/radiative_transport_application.cpp
Thermo-fluid physics
- Flow solver
include/meltpooldg/compressible_flow/multiphase_operator.hpp - Heat solver
include/meltpooldg/heat/heat_operation_base.hpp - Phase change
include/meltpooldg/phase_change/evaporation_operation.hpp - Radiative transport
include/meltpooldg/radiative_transport/radiative_transport_operation.hpp
Interfaces and particles
- Level-set methods
include/meltpooldg/level_set/level_set_operation.hpp - CutFEM interfaces
include/meltpooldg/cut/cut_data.hpp - Powder particles
include/meltpooldg/particles/particle.hpp - Fluid structure coupling
include/meltpooldg/fluid_structure_interaction/brinkman_penalization.hpp
Numerical methods
- Time integrators
include/meltpooldg/time_integration/time_integrator_base.hpp - Linear solvers
include/meltpooldg/linear_algebra/linear_solver.hpp - CG/DG FEM
include/meltpooldg/utilities/dg_generic_convection_diffusion_worker.hpp - Adaptive mesh
include/meltpooldg/utilities/amr.hpp
Output and analysis
- Post-processing
include/meltpooldg/post_processing/postprocessor.hpp - Simulation state
include/meltpooldg/core/simulation_case_base.hpp
Other components
- Simulation user
Connections 23
- Simulation user → Melt-pool runner: starts run
applications/mp-melt-pool/melt_pool_application.cpp - Simulation user → Heat runner: starts run
applications/mp-heat-transfer/heat_transfer_application.cpp - Simulation user → Level-set runner: starts run
applications/mp-level-set/level_set_application.cpp - Simulation user → Reinitialization runner: starts run
applications/mp-reinit/reinitialization_application.cpp - Simulation user → Advection runner: starts run
applications/mp-advec-diff/advection_diffusion_application.cpp - Simulation user → Radiation runner: starts run
applications/mp-radiative-transport/radiative_transport_application.cpp - Melt-pool runner → Phase change: computes mass flux
applications/mp-melt-pool/melt_pool_application.cpp - Melt-pool runner → Level-set methods: sets melt front
applications/mp-melt-pool/melt_pool_application.cpp - Melt-pool runner → Flow solver: sets flow state
applications/mp-melt-pool/melt_pool_application.cpp - Heat runner → Heat solver: computes heat source
applications/mp-heat-transfer/heat_transfer_application.cpp - Radiation runner → Radiative transport: solves transport
applications/mp-radiative-transport/radiative_transport_application.cpp - Melt-pool runner → Heat solver: couples temperature
- Melt-pool runner → Powder particles: models powder
- Flow solver → Fluid structure coupling: couples structure
- Melt-pool runner → CutFEM interfaces: uses interface cuts
- Level-set runner → Level-set methods: advances interface
- Reinitialization runner → Level-set methods: reinitializes field
- Advection runner → CG/DG FEM: applies DG operator
applications/mp-advec-diff/advection_diffusion_application.cpp - Melt-pool runner → Time integrators: advances steps
- Heat runner → Linear solvers: solves system
- Melt-pool runner → Adaptive mesh: adapts mesh
- Melt-pool runner → Post-processing: writes results
- Case setup → Simulation state: configures state