InflowVelocity< dim > Class Template Reference

Developer Documentation: MeltPoolDG::Simulation::LaserMeltingSimonds::InflowVelocity< dim > Class Template Reference
Developer Documentation
MeltPoolDG::Simulation::LaserMeltingSimonds::InflowVelocity< dim > Class Template Reference

Prescribed inflow velocity profile. More...

#include <laser_melting_simonds.hpp>

Inheritance diagram for MeltPoolDG::Simulation::LaserMeltingSimonds::InflowVelocity< dim >:
[legend]
Collaboration diagram for MeltPoolDG::Simulation::LaserMeltingSimonds::InflowVelocity< dim >:
[legend]

Public Member Functions

 InflowVelocity ()
 Construct the inflow velocity function.
 
double value (const Point< dim > &p, const unsigned int component) const override
 Evaluate the inflow velocity.
 

Detailed Description

template<int dim>
class MeltPoolDG::Simulation::LaserMeltingSimonds::InflowVelocity< dim >

Prescribed inflow velocity profile.

The function defines a velocity in the first coordinate direction. The velocity is nonzero only at the left inflow boundary and is ramped from zero to inflow_velocity between 0.5 * delta_h and 1.5 * delta_h.

For all components except component zero, the function returns zero.

Template Parameters
dimSpatial dimension.

Constructor & Destructor Documentation

◆ InflowVelocity()

template<int dim>
MeltPoolDG::Simulation::LaserMeltingSimonds::InflowVelocity< dim >::InflowVelocity ( )

Construct the inflow velocity function.

This function is only implemented for dimensions larger than one.

Member Function Documentation

◆ value()

template<int dim>
double MeltPoolDG::Simulation::LaserMeltingSimonds::InflowVelocity< dim >::value ( const Point< dim > &  p,
const unsigned int  component 
) const
override

Evaluate the inflow velocity.

Parameters
pEvaluation point.
componentVector component to evaluate.
Returns
Velocity value of the selected component at point p.

The documentation for this class was generated from the following files: