GasInletVelocity< dim > Class Template Reference
|
Developer Documentation
|
MeltPoolDG::Simulation::SingleTrackMelt::GasInletVelocity< dim > Class Template Reference
Prescribed gas inlet velocity field for the single-track melt case. More...
#include <single_track_melt.hpp>
Inheritance diagram for MeltPoolDG::Simulation::SingleTrackMelt::GasInletVelocity< dim >:
Collaboration diagram for MeltPoolDG::Simulation::SingleTrackMelt::GasInletVelocity< dim >:
Public Member Functions | |
| GasInletVelocity (const double inlet_velocity) | |
| Construct the gas inlet velocity function. | |
| double | value (const Point< dim > &p, const unsigned int component=0) const override |
| Return the velocity value at a point for a selected component. | |
Public Attributes | |
| const double | inlet_velocity |
Detailed Description
template<int dim>
class MeltPoolDG::Simulation::SingleTrackMelt::GasInletVelocity< dim >
class MeltPoolDG::Simulation::SingleTrackMelt::GasInletVelocity< dim >
Prescribed gas inlet velocity field for the single-track melt case.
The velocity is defined only for three-dimensional simulations and returns a constant velocity in the z-direction (=scan direction). All other velocity components are zero.
- Template Parameters
-
dim Spatial dimension.
Constructor & Destructor Documentation
◆ GasInletVelocity()
template<int dim>
| MeltPoolDG::Simulation::SingleTrackMelt::GasInletVelocity< dim >::GasInletVelocity | ( | const double | inlet_velocity | ) |
Construct the gas inlet velocity function.
Member Function Documentation
◆ value()
template<int dim>
|
override |
Return the velocity value at a point for a selected component.
- Parameters
-
p Evaluation point. component Vector component to evaluate.
- Returns
- Constant inlet velocity for the z-component, zero otherwise.
Member Data Documentation
◆ inlet_velocity
template<int dim>
| const double MeltPoolDG::Simulation::SingleTrackMelt::GasInletVelocity< dim >::inlet_velocity |
inlet velocity in z-direction
The documentation for this class was generated from the following files:
- applications/mp-melt-pool/cases/single_track_melt/single_track_melt.hpp
- applications/mp-melt-pool/cases/single_track_melt/single_track_melt.templates.hpp
Generated by