|
adamantine
|
#include <GoldakHeatSource.hh>
Public Member Functions | |
| GoldakHeatSource (boost::property_tree::ptree const &beam_database, boost::optional< boost::property_tree::ptree const & > const &units_optional_database) | |
| void | update_time (double time) final |
| double | value (dealii::Point< dim > const &point, double const height) const final |
| dealii::VectorizedArray< double > | value (dealii::Point< dim, dealii::VectorizedArray< double >> const &points, dealii::VectorizedArray< double > const &height) const final |
| dealii::BoundingBox< dim > | get_bounding_box (double time, double const scaling_factor) const final |
Public Member Functions inherited from adamantine::HeatSource< dim > | |
| HeatSource ()=default | |
| HeatSource (boost::property_tree::ptree const &beam_database, boost::optional< boost::property_tree::ptree const & > const &units_optional_database) | |
| virtual | ~HeatSource ()=default |
| virtual ScanPath & | get_scan_path () |
| virtual double | get_current_height (double const time) const |
| virtual void | set_beam_properties (boost::property_tree::ptree const &database) |
Private Attributes | |
| dealii::Point< 3, dealii::VectorizedArray< double > > | _beam_center |
| dealii::VectorizedArray< double > | _alpha |
| dealii::VectorizedArray< double > | _depth |
| dealii::VectorizedArray< double > | _radius_squared |
| double const | _pi_over_3_to_1p5 = std::pow(dealii::numbers::PI / 3.0, 1.5) |
Additional Inherited Members | |
Protected Attributes inherited from adamantine::HeatSource< dim > | |
| BeamHeatSourceProperties | _beam |
| ScanPath | _scan_path |
A derived class from HeatSource for the Goldak model of a laser heat source. The form of the heat source model is taken from the following reference: Coleman et al, Journal of Heat Transfer, (in press, 2020).
Definition at line 20 of file GoldakHeatSource.hh.
| adamantine::GoldakHeatSource< dim >::GoldakHeatSource | ( | boost::property_tree::ptree const & | beam_database, |
| boost::optional< boost::property_tree::ptree const & > const & | units_optional_database | ||
| ) |
Constructor.
| [in] | beam_database | requires the following entries:
|
| [in] | units_optional_database | may contain the following entries:
|
Definition at line 13 of file GoldakHeatSource.cc.
|
finalvirtual |
Return a scaled bounding box of the heat source at the given time.
Implements adamantine::HeatSource< dim >.
Definition at line 127 of file GoldakHeatSource.cc.
|
finalvirtual |
Set the time variable.
Implements adamantine::HeatSource< dim >.
Definition at line 22 of file GoldakHeatSource.cc.
|
finalvirtual |
Returns the value of a Goldak heat source at a specified point and time.
Implements adamantine::HeatSource< dim >.
Definition at line 39 of file GoldakHeatSource.cc.
|
finalvirtual |
Same function as above but it uses vectorized data.
Implements adamantine::HeatSource< dim >.
Definition at line 74 of file GoldakHeatSource.cc.
|
private |
Definition at line 64 of file GoldakHeatSource.hh.
|
private |
Definition at line 63 of file GoldakHeatSource.hh.
|
private |
Definition at line 66 of file GoldakHeatSource.hh.
|
private |
Definition at line 70 of file GoldakHeatSource.hh.
|
private |
Definition at line 68 of file GoldakHeatSource.hh.