1 #ifndef VERTEXCFD_CLOSURE_INCOMPRESSIBLEFLUIDPROPERTIES_HPP
2 #define VERTEXCFD_CLOSURE_INCOMPRESSIBLEFLUIDPROPERTIES_HPP
4 #include <Panzer_Dimension.hpp>
5 #include <Panzer_Evaluator_WithBaseImpl.hpp>
6 #include <Panzer_IntegrationRule.hpp>
8 #include <Phalanx_Evaluator_Derived.hpp>
9 #include <Phalanx_KokkosDeviceTypes.hpp>
10 #include <Phalanx_MDField.hpp>
12 #include <Kokkos_Core.hpp>
18 namespace FluidProperties
23 template<
class EvalType,
class Traits>
25 :
public panzer::EvaluatorWithBaseImpl<Traits>,
26 public PHX::EvaluatorDerived<EvalType, Traits>
29 using scalar_type =
typename EvalType::ScalarT;
32 const Teuchos::ParameterList& fluid_params);
34 void evaluateFields(
typename Traits::EvalData workset)
override;
36 KOKKOS_INLINE_FUNCTION
38 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
40 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _density;
41 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _kinematic_viscosity;
42 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _thermal_conductivity;
43 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _specific_heat_capacity;
44 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _electrical_conductivity;
53 enum FluidPropertyType
58 FluidPropertyType _fluid_prop_type;
66 #endif // end VERTEXCFD_CLOSURE_INCOMPRESSIBLEFLUIDPROPERTIES_HPP