1 #ifndef VERTEXCFD_CLOSURE_INCOMPRESSIBLESSTSOURCE_HPP
2 #define VERTEXCFD_CLOSURE_INCOMPRESSIBLESSTSOURCE_HPP
4 #include <Panzer_Dimension.hpp>
5 #include <Panzer_Evaluator_WithBaseImpl.hpp>
7 #include <Phalanx_Evaluator_Derived.hpp>
8 #include <Phalanx_Evaluator_WithBaseImpl.hpp>
9 #include <Phalanx_FieldManager.hpp>
10 #include <Phalanx_config.hpp>
12 #include <Kokkos_Core.hpp>
16 namespace ClosureModel
21 template<
class EvalType,
class Traits,
int NumSpaceDim>
23 public PHX::EvaluatorDerived<EvalType, Traits>
26 using scalar_type =
typename EvalType::ScalarT;
27 static constexpr
int num_space_dim = NumSpaceDim;
30 const Teuchos::ParameterList& user_params);
32 void evaluateFields(
typename Traits::EvalData workset)
override;
34 KOKKOS_INLINE_FUNCTION
36 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
39 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _nu_t;
40 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point>
42 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point>
43 _turb_specific_dissipation_rate;
44 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
45 _grad_turb_kinetic_energy;
46 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
47 _grad_turb_specific_dissipation_rate;
48 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point>
49 _sst_blending_function;
52 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>,
64 bool _limit_production;
67 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _k_source;
68 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _k_prod;
69 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _k_dest;
70 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _w_source;
71 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _w_prod;
72 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _w_dest;
73 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _w_cross;