|
VertexCFD
0.0-dev
|
Boundary condition evaluator for an adiabatic wall. More...
#include <VertexCFD_BoundaryState_AdiabaticWall.hpp>


Public Types | |
| using | scalar_type = typename EvalType::ScalarT |
| Alias for the scalar type used by the evaluation. | |
Public Member Functions | |
| AdiabaticWall (const panzer::IntegrationRule &ir) | |
| Constructor. More... | |
| void | evaluateFields (typename Traits::EvalData workset) override |
| Evaluate the fields for a given workset. More... | |
| KOKKOS_INLINE_FUNCTION void | operator() (const Kokkos::TeamPolicy< PHX::exec_space >::member_type &team) const |
| Kokkos functor invoked for each team in a parallel region. More... | |
Public Attributes | |
| PHX::MDField< scalar_type, panzer::Cell, panzer::Point > | _boundary_temperature |
| Evaluated field: temperature prescribed on the boundary. More... | |
| PHX::MDField< scalar_type, panzer::Cell, panzer::Point, panzer::Dim > | _boundary_grad_temperature |
| Evaluated field: gradient of the boundary temperature. More... | |
Boundary condition evaluator for an adiabatic wall.
This evaluator imposes an adiabatic (no heat flux) condition on a wall. It provides the boundary temperature and its gradient required by the surrounding physics. The class follows the Panzer/Phalanx evaluator pattern and can be executed in a Kokkos parallel region.
Template parameters
EvalType Evaluation type providing the scalar type.Traits Traits class defining the evaluation data. | VertexCFD::BoundaryCondition::AdiabaticWall< EvalType, Traits >::AdiabaticWall | ( | const panzer::IntegrationRule & | ir | ) |
Constructor.
Registers the fields that will be evaluated or used as dependencies.
| ir | Integration rule that supplies the data layout for the fields (scalar and vector layouts). |
|
override |
Evaluate the fields for a given workset.
Computes the boundary temperature and its gradient according to the adiabatic condition.
| workset | Evaluation data for the current workset. |
| KOKKOS_INLINE_FUNCTION void VertexCFD::BoundaryCondition::AdiabaticWall< EvalType, Traits >::operator() | ( | const Kokkos::TeamPolicy< PHX::exec_space >::member_type & | team | ) | const |
Kokkos functor invoked for each team in a parallel region.
Implements the actual per‑cell computation of the boundary state.
| team | Team member provided by Kokkos::TeamPolicy. |
| PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim> VertexCFD::BoundaryCondition::AdiabaticWall< EvalType, Traits >::_boundary_grad_temperature |
Evaluated field: gradient of the boundary temperature.
Indexed by cell, integration point, and spatial dimension.
| PHX::MDField<scalar_type, panzer::Cell, panzer::Point> VertexCFD::BoundaryCondition::AdiabaticWall< EvalType, Traits >::_boundary_temperature |
Evaluated field: temperature prescribed on the boundary.
Indexed by cell and integration point.