1 #ifndef VERTEXCFD_CLOSURE_INCOMPRESSIBLECHIENKEPSILONEDDYVISCOSITY_HPP
2 #define VERTEXCFD_CLOSURE_INCOMPRESSIBLECHIENKEPSILONEDDYVISCOSITY_HPP
4 #include <Panzer_Dimension.hpp>
5 #include <Panzer_Evaluator_WithBaseImpl.hpp>
6 #include <Panzer_GlobalData.hpp>
8 #include <Phalanx_Evaluator_Derived.hpp>
9 #include <Phalanx_Evaluator_WithBaseImpl.hpp>
10 #include <Phalanx_FieldManager.hpp>
11 #include <Phalanx_config.hpp>
13 #include <Kokkos_Core.hpp>
17 namespace ClosureModel
22 template<
class EvalType,
class Traits>
24 :
public panzer::EvaluatorWithBaseImpl<Traits>,
25 public PHX::EvaluatorDerived<EvalType, Traits>
28 using scalar_type =
typename EvalType::ScalarT;
31 const panzer::IntegrationRule& ir,
32 const Teuchos::RCP<panzer::GlobalData>& global_data,
33 const Teuchos::ParameterList& user_params);
35 void evaluateFields(
typename Traits::EvalData workset)
override;
37 KOKKOS_INLINE_FUNCTION
39 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
42 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point>
44 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point>
45 _turb_dissipation_rate;
46 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _nu;
47 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _distance;
49 Teuchos::RCP<panzer::GlobalData> _global_data;
56 scalar_type _wall_shear_stress;
59 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _nu_t;