Nalu
Nalu: a generalized unstructured massively parallel low Mach flow code designed to support a variety of energy applications of interest (most notably Wind ECP) built on the Sierra Toolkit and Trilinos solver Tpetra/Epetra stack. The open source BSD, clause 3 license model has been chosen for the code base. See LICENSE for more information. http://NaluCFD.org
EnthalpyPressureWorkNodeSuppAlg.h
Go to the documentation of this file.
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2014 Sandia Corporation. */
3 /* This software is released under the license detailed */
4 /* in the file, LICENSE, which is located in the top-level Nalu */
5 /* directory structure */
6 /*------------------------------------------------------------------------*/
7 
8 
9 #ifndef EnthalpyPressureWorkNodeSuppAlg_h
10 #define EnthalpyPressureWorkNodeSuppAlg_h
11 
12 #include <SupplementalAlgorithm.h>
13 #include <FieldTypeDef.h>
14 
15 #include <stk_mesh/base/Entity.hpp>
16 
17 namespace sierra{
18 namespace nalu{
19 
20 class Realm;
21 
23 {
24 public:
25 
27  Realm &realm);
28 
30 
31  virtual void node_execute(
32  double *lhs,
33  double *rhs,
34  stk::mesh::Entity node);
35 
39  const int nDim_;
40 
41 };
42 
43 } // namespace nalu
44 } // namespace Sierra
45 
46 #endif
EnthalpyPressureWorkNodeSuppAlg(Realm &realm)
Definition: EnthalpyPressureWorkNodeSuppAlg.C:32
Definition: ABLForcingAlgorithm.C:26
VectorFieldType * velocity_
Definition: EnthalpyPressureWorkNodeSuppAlg.h:37
VectorFieldType * dpdx_
Definition: EnthalpyPressureWorkNodeSuppAlg.h:36
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
static constexpr double lhs[8][8]
Definition: UnitTestContinuityAdvElem.C:25
const int nDim_
Definition: EnthalpyPressureWorkNodeSuppAlg.h:39
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
static constexpr double rhs[8]
Definition: UnitTestContinuityAdvElem.C:18
Definition: EnthalpyPressureWorkNodeSuppAlg.h:22
virtual void node_execute(double *lhs, double *rhs, stk::mesh::Entity node)
Definition: EnthalpyPressureWorkNodeSuppAlg.C:51
ScalarFieldType * dualNodalVolume_
Definition: EnthalpyPressureWorkNodeSuppAlg.h:38
Definition: Realm.h:82
Definition: SupplementalAlgorithm.h:24
virtual ~EnthalpyPressureWorkNodeSuppAlg()
Definition: EnthalpyPressureWorkNodeSuppAlg.h:29