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
ComputeTurbKineticEnergyWallFunctionAlgorithm.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 ComputeTurbKineticEnergyWallFunctionAlgorithm_h
10 #define ComputeTurbKineticEnergyWallFunctionAlgorithm_h
11 
12 #include<Algorithm.h>
13 #include<FieldTypeDef.h>
14 
15 // stk
16 #include <stk_mesh/base/Part.hpp>
17 
18 namespace sierra{
19 namespace nalu{
20 
21 class Realm;
22 
24 {
25 public:
26 
28  Realm &realm,
29  stk::mesh::Part *part);
30 
32 
33  void execute();
34 
35  void zero_nodal_fields();
36 
38 
39  const double cMu_;
40 
47 
48 };
49 
50 } // namespace nalu
51 } // namespace Sierra
52 
53 #endif
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.h:23
ScalarFieldType * bcAssembledTurbKineticEnergy_
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.h:42
void execute()
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.C:67
Definition: ABLForcingAlgorithm.C:26
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
ScalarFieldType * turbKineticEnergy_
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.h:41
GenericFieldType * exposedAreaVec_
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.h:46
virtual ~ComputeTurbKineticEnergyWallFunctionAlgorithm()
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.C:58
void zero_nodal_fields()
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.C:138
void normalize_nodal_fields()
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.C:164
GenericFieldType * wallFrictionVelocityBip_
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.h:45
ComputeTurbKineticEnergyWallFunctionAlgorithm(Realm &realm, stk::mesh::Part *part)
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.C:39
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
ScalarFieldType * bcTurbKineticEnergy_
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.h:42
const double cMu_
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.h:39
Definition: Algorithm.h:28
Definition: Realm.h:82
ScalarFieldType * assembledWallArea_
Definition: ComputeTurbKineticEnergyWallFunctionAlgorithm.h:44