|
VertexCFD
0.0-dev
|
Evaluates temperature‑dependent thermal conductivity for conduction models. More...
#include <VertexCFD_Closure_ConductionThermalConductivity.hpp>


Public Types | |
| using | scalar_type = typename EvalType::ScalarT |
Scalar type used by the evaluator (extracted from EvalType). | |
Public Member Functions | |
| ConductionThermalConductivity (const panzer::IntegrationRule &ir, const Teuchos::ParameterList &closure_params) | |
| Constructor. More... | |
| void | evaluateFields (typename Traits::EvalData workset) override |
| Compute the thermal conductivity field for the current workset. More... | |
| KOKKOS_INLINE_FUNCTION void | operator() (const Kokkos::TeamPolicy< PHX::exec_space >::member_type &team) const |
| Kokkos functor for parallel evaluation over a team policy. More... | |
Public Attributes | |
| PHX::MDField< scalar_type, panzer::Cell, panzer::Point > | _thermal_conductivity |
| Evaluated field containing the computed thermal conductivity. More... | |
Evaluates temperature‑dependent thermal conductivity for conduction models.
This evaluator computes the scalar field thermal_conductivity based on a prescribed functional form (constant or inverse proportional to temperature). The result is stored in a PHX::MDField indexed by cell and integration point.
| EvalType | Type providing the scalar type (e.g., Residual, Jacobian) used in the evaluation. |
| Traits | Traits class required by the Panzer/Phalanx infrastructure. -----------------------------------------------------------------—// |
| VertexCFD::ClosureModel::ConductionThermalConductivity< EvalType, Traits >::ConductionThermalConductivity | ( | const panzer::IntegrationRule & | ir, |
| const Teuchos::ParameterList & | closure_params | ||
| ) |
Constructor.
Registers the evaluated field and reads closure parameters that define the thermal‑conductivity model.
| [in] | ir | Integration rule providing the data layout. |
| [in] | closure_params | Parameter list containing the model type ("Thermal Conductivity Type") and associated coefficients. |
|
override |
Compute the thermal conductivity field for the current workset.
This method is invoked by the Phalanx evaluation engine.
| [in] | workset | Evaluation data (cell indices, etc.). |
| KOKKOS_INLINE_FUNCTION void VertexCFD::ClosureModel::ConductionThermalConductivity< EvalType, Traits >::operator() | ( | const Kokkos::TeamPolicy< PHX::exec_space >::member_type & | team | ) | const |
Kokkos functor for parallel evaluation over a team policy.
The implementation loops over cells and integration points, applying the selected conductivity model.
| [in] | team | Team member provided by Kokkos. |
| PHX::MDField<scalar_type, panzer::Cell, panzer::Point> VertexCFD::ClosureModel::ConductionThermalConductivity< EvalType, Traits >::_thermal_conductivity |
Evaluated field containing the computed thermal conductivity.
Indexed as _thermal_conductivity(cell,point).