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 >:
Collaboration diagram for MeltPoolDG::Simulation::LaserMeltingSimonds::InflowVelocity< dim >:
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 >
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
-
dim Spatial 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>
|
override |
Evaluate the inflow velocity.
- Parameters
-
p Evaluation point. component Vector component to evaluate.
- Returns
- Velocity value of the selected component at point
p.
The documentation for this class was generated from the following files:
- applications/mp-melt-pool/cases/laser_melting_simonds/laser_melting_simonds.hpp
- applications/mp-melt-pool/cases/laser_melting_simonds/laser_melting_simonds.templates.hpp
Generated by