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
Public Types | Public Member Functions | Public Attributes | List of all members
sierra::nalu::FixPressureAtNodeInfo Struct Reference

Input data for fixing pressure during ABL simulations. More...

#include <FixPressureAtNodeInfo.h>

Public Types

enum  NodeLookupType { STK_NODE_ID = 0, SPATIAL_LOCATION = 1 }
 Options for specifying the node where pressure is fixed. More...
 

Public Member Functions

void create_part_vector (const stk::mesh::MetaData &meta)
 

Public Attributes

double refPressure_ {0.0}
 Reference pressure for ABL simulations. More...
 
std::vector< double > location_ {0.0, 0.0, 0.0}
 Location for ABL reference pressure. More...
 
std::vector< std::string > searchParts_
 
stk::mesh::PartVector partVec_
 
stk::search::SearchMethod searchMethod_ {stk::search::KDTREE}
 Search method for determining the nearest node to the prescribed location. More...
 
NodeLookupType lookupType_ {SPATIAL_LOCATION}
 
stk::mesh::EntityId stkNodeId_
 

Detailed Description

Input data for fixing pressure during ABL simulations.

This class holds the user data parsed from Nalu input file to fix pressure at a spatial location for ABL simulations. This is especially necessary for precursor simulations where the inlet/outlet boundaries are periodic and the top boundary is symmetric. In this case, there is no pressure specified for the continuity solve.

Member Enumeration Documentation

Options for specifying the node where pressure is fixed.

Enumerator
STK_NODE_ID 

STK Global Node ID provided in input file.

SPATIAL_LOCATION 

Spatial location used to search nearest node.

Member Function Documentation

void sierra::nalu::FixPressureAtNodeInfo::create_part_vector ( const stk::mesh::MetaData &  meta)
inline

References partVec_, and searchParts_.

Member Data Documentation

std::vector<double> sierra::nalu::FixPressureAtNodeInfo::location_ {0.0, 0.0, 0.0}

Location for ABL reference pressure.

Referenced by sierra::nalu::FixPressureAtNodeAlgorithm::determine_nearest_node().

NodeLookupType sierra::nalu::FixPressureAtNodeInfo::lookupType_ {SPATIAL_LOCATION}
stk::mesh::PartVector sierra::nalu::FixPressureAtNodeInfo::partVec_

Referenced by create_part_vector().

double sierra::nalu::FixPressureAtNodeInfo::refPressure_ {0.0}

Reference pressure for ABL simulations.

Referenced by sierra::nalu::FixPressureAtNodeAlgorithm::execute().

stk::search::SearchMethod sierra::nalu::FixPressureAtNodeInfo::searchMethod_ {stk::search::KDTREE}

Search method for determining the nearest node to the prescribed location.

std::vector<std::string> sierra::nalu::FixPressureAtNodeInfo::searchParts_
stk::mesh::EntityId sierra::nalu::FixPressureAtNodeInfo::stkNodeId_

The documentation for this struct was generated from the following file: