GasInletVelocity< dim > Class Template Reference

Developer Documentation: MeltPoolDG::Simulation::SingleTrackMelt::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 >:
[legend]
Collaboration diagram for MeltPoolDG::Simulation::SingleTrackMelt::GasInletVelocity< dim >:
[legend]

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 >

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
dimSpatial 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>
double MeltPoolDG::Simulation::SingleTrackMelt::GasInletVelocity< dim >::value ( const Point< dim > &  p,
const unsigned int  component = 0 
) const
override

Return the velocity value at a point for a selected component.

Parameters
pEvaluation point.
componentVector 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: