VertexCFD  0.0-dev
Public Types | Public Member Functions | Public Attributes | List of all members
VertexCFD::ClosureModel::ConductionThermalConductivity< EvalType, Traits > Class Template Reference

Evaluates temperature‑dependent thermal conductivity for conduction models. More...

#include <VertexCFD_Closure_ConductionThermalConductivity.hpp>

Inheritance diagram for VertexCFD::ClosureModel::ConductionThermalConductivity< EvalType, Traits >:
Inheritance graph
[legend]
Collaboration diagram for VertexCFD::ClosureModel::ConductionThermalConductivity< EvalType, Traits >:
Collaboration graph
[legend]

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...
 

Detailed Description

template<class EvalType, class Traits>
class VertexCFD::ClosureModel::ConductionThermalConductivity< EvalType, Traits >

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.

Template Parameters
EvalTypeType providing the scalar type (e.g., Residual, Jacobian) used in the evaluation.
TraitsTraits class required by the Panzer/Phalanx infrastructure. -----------------------------------------------------------------—//

Constructor & Destructor Documentation

◆ ConductionThermalConductivity()

template<class EvalType , class Traits >
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.

Parameters
[in]irIntegration rule providing the data layout.
[in]closure_paramsParameter list containing the model type ("Thermal Conductivity Type") and associated coefficients.

Member Function Documentation

◆ evaluateFields()

template<class EvalType , class Traits >
void VertexCFD::ClosureModel::ConductionThermalConductivity< EvalType, Traits >::evaluateFields ( typename Traits::EvalData  workset)
override

Compute the thermal conductivity field for the current workset.

This method is invoked by the Phalanx evaluation engine.

Parameters
[in]worksetEvaluation data (cell indices, etc.).

◆ operator()()

template<class EvalType , class Traits >
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.

Parameters
[in]teamTeam member provided by Kokkos.

Member Data Documentation

◆ _thermal_conductivity

template<class EvalType , class Traits >
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).


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