Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions

Albany::NavierStokes Class Reference

Abstract interface for representing a 1-D finite element problem. More...

#include <Albany_NavierStokes.hpp>

Inheritance diagram for Albany::NavierStokes:
Inheritance graph
[legend]
Collaboration diagram for Albany::NavierStokes:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NavierStokes (const Teuchos::RCP< Teuchos::ParameterList > &params, const Teuchos::RCP< ParamLib > &paramLib, const int numDim_)
 Default constructor.
 ~NavierStokes ()
 Destructor.
virtual int spatialDimension () const
 Return number of spatial dimensions.
virtual void buildProblem (Teuchos::ArrayRCP< Teuchos::RCP< Albany::MeshSpecsStruct > > meshSpecs, StateManager &stateMgr)
 Build the PDE instantiations, boundary conditions, and initial solution.
virtual Teuchos::Array
< Teuchos::RCP< const
PHX::FieldTag > > 
buildEvaluators (PHX::FieldManager< PHAL::AlbanyTraits > &fm0, const Albany::MeshSpecsStruct &meshSpecs, Albany::StateManager &stateMgr, Albany::FieldManagerChoice fmchoice, const Teuchos::RCP< Teuchos::ParameterList > &responseList)
Teuchos::RCP< const
Teuchos::ParameterList > 
getValidProblemParameters () const
 Each problem must generate it's list of valide parameters.
template<typename EvalT >
Teuchos::RCP< const PHX::FieldTag > constructEvaluators (PHX::FieldManager< PHAL::AlbanyTraits > &fm0, const Albany::MeshSpecsStruct &meshSpecs, Albany::StateManager &stateMgr, Albany::FieldManagerChoice fmchoice, const Teuchos::RCP< Teuchos::ParameterList > &responseList)
 Main problem setup routine. Not directly called, but indirectly by following functions.
void constructDirichletEvaluators (const std::vector< std::string > &nodeSetIDs)
void constructNeumannEvaluators (const Teuchos::RCP< Albany::MeshSpecsStruct > &meshSpecs)

Protected Types

enum  NS_VAR_TYPE { NS_VAR_TYPE_NONE, NS_VAR_TYPE_CONSTANT, NS_VAR_TYPE_DOF }
 

Enumerated type describing how a variable appears.

More...

Protected Member Functions

void getVariableType (Teuchos::ParameterList &paramList, const std::string &defaultType, NS_VAR_TYPE &variableType, bool &haveVariable, bool &haveEquation)
std::string variableTypeToString (const NS_VAR_TYPE variableType)

Protected Attributes

bool periodic
int numDim
 periodic BCs
NS_VAR_TYPE flowType
 number of spatial dimensions
NS_VAR_TYPE heatType
 type of flow variables
NS_VAR_TYPE neutType
 type of heat variables
bool haveFlow
 type of neutron variables
bool haveHeat
 have flow variables (momentum+continuity)
bool haveNeut
 have heat variables (temperature)
bool haveFlowEq
 have neutron flux variables
bool haveHeatEq
 have flow equations (momentum+continuity)
bool haveNeutEq
 have heat equation (temperature)
bool haveSource
 have neutron flux equation
bool haveNeutSource
 have source term in heat equation
bool havePSPG
 have source term in neutron flux equation
bool haveSUPG
 have pressure stabilization
bool porousMedia
 have SUPG stabilization
Teuchos::RCP< Albany::Layoutsdl
 flow through porous media problem

Private Member Functions

 NavierStokes (const NavierStokes &)
 Private to prohibit copying.
NavierStokesoperator= (const NavierStokes &)
 Private to prohibit copying.

Detailed Description

Abstract interface for representing a 1-D finite element problem.

Definition at line 25 of file Albany_NavierStokes.hpp.


Member Enumeration Documentation

Enumerated type describing how a variable appears.

Enumerator:
NS_VAR_TYPE_NONE 
NS_VAR_TYPE_CONSTANT 

Variable does not appear.

NS_VAR_TYPE_DOF 

Variable is a constant.

Variable is a degree-of-freedom

Definition at line 81 of file Albany_NavierStokes.hpp.


Constructor & Destructor Documentation

Albany::NavierStokes::NavierStokes ( const Teuchos::RCP< Teuchos::ParameterList > &  params,
const Teuchos::RCP< ParamLib > &  paramLib,
const int  numDim_ 
)

Default constructor.

Definition at line 51 of file Albany_NavierStokes.cpp.

Albany::NavierStokes::~NavierStokes (  ) 

Destructor.

Definition at line 115 of file Albany_NavierStokes.cpp.

Albany::NavierStokes::NavierStokes ( const NavierStokes  )  [private]

Private to prohibit copying.


Member Function Documentation

virtual int Albany::NavierStokes::spatialDimension (  )  const [inline, virtual]

Return number of spatial dimensions.

Implements Albany::AbstractProblem.

Definition at line 37 of file Albany_NavierStokes.hpp.

void Albany::NavierStokes::buildProblem ( Teuchos::ArrayRCP< Teuchos::RCP< Albany::MeshSpecsStruct > >  meshSpecs,
Albany::StateManager stateMgr 
) [virtual]

Build the PDE instantiations, boundary conditions, and initial solution.

Implements Albany::AbstractProblem.

Definition at line 121 of file Albany_NavierStokes.cpp.

Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > Albany::NavierStokes::buildEvaluators ( PHX::FieldManager< PHAL::AlbanyTraits > &  fm0,
const Albany::MeshSpecsStruct meshSpecs,
Albany::StateManager stateMgr,
Albany::FieldManagerChoice  fmchoice,
const Teuchos::RCP< Teuchos::ParameterList > &  responseList 
) [virtual]

Implements Albany::AbstractProblem.

Definition at line 147 of file Albany_NavierStokes.cpp.

Teuchos::RCP< const Teuchos::ParameterList > Albany::NavierStokes::getValidProblemParameters (  )  const [virtual]

Each problem must generate it's list of valide parameters.

Reimplemented from Albany::AbstractProblem.

Definition at line 266 of file Albany_NavierStokes.cpp.

NavierStokes& Albany::NavierStokes::operator= ( const NavierStokes  )  [private]

Private to prohibit copying.

template<typename EvalT >
Teuchos::RCP< const PHX::FieldTag > Albany::NavierStokes::constructEvaluators ( PHX::FieldManager< PHAL::AlbanyTraits > &  fm0,
const Albany::MeshSpecsStruct meshSpecs,
Albany::StateManager stateMgr,
Albany::FieldManagerChoice  fmchoice,
const Teuchos::RCP< Teuchos::ParameterList > &  responseList 
)

Main problem setup routine. Not directly called, but indirectly by following functions.

Definition at line 149 of file Albany_NavierStokes.hpp.

void Albany::NavierStokes::constructDirichletEvaluators ( const std::vector< std::string > &  nodeSetIDs  ) 

Definition at line 163 of file Albany_NavierStokes.cpp.

void Albany::NavierStokes::constructNeumannEvaluators ( const Teuchos::RCP< Albany::MeshSpecsStruct > &  meshSpecs  ) 

Definition at line 184 of file Albany_NavierStokes.cpp.

void Albany::NavierStokes::getVariableType ( Teuchos::ParameterList &  paramList,
const std::string &  defaultType,
NS_VAR_TYPE variableType,
bool &  haveVariable,
bool &  haveEquation 
) [protected]

Definition at line 19 of file Albany_NavierStokes.cpp.

std::string Albany::NavierStokes::variableTypeToString ( const NS_VAR_TYPE  variableType  )  [protected]

Definition at line 41 of file Albany_NavierStokes.cpp.


Member Data Documentation

Definition at line 96 of file Albany_NavierStokes.hpp.

periodic BCs

Definition at line 97 of file Albany_NavierStokes.hpp.

number of spatial dimensions

Definition at line 99 of file Albany_NavierStokes.hpp.

type of flow variables

Definition at line 100 of file Albany_NavierStokes.hpp.

type of heat variables

Definition at line 101 of file Albany_NavierStokes.hpp.

type of neutron variables

Definition at line 103 of file Albany_NavierStokes.hpp.

have flow variables (momentum+continuity)

Definition at line 104 of file Albany_NavierStokes.hpp.

have heat variables (temperature)

Definition at line 105 of file Albany_NavierStokes.hpp.

have neutron flux variables

Definition at line 107 of file Albany_NavierStokes.hpp.

have flow equations (momentum+continuity)

Definition at line 108 of file Albany_NavierStokes.hpp.

have heat equation (temperature)

Definition at line 109 of file Albany_NavierStokes.hpp.

have neutron flux equation

Definition at line 111 of file Albany_NavierStokes.hpp.

have source term in heat equation

Definition at line 112 of file Albany_NavierStokes.hpp.

have source term in neutron flux equation

Definition at line 113 of file Albany_NavierStokes.hpp.

have pressure stabilization

Definition at line 114 of file Albany_NavierStokes.hpp.

have SUPG stabilization

Definition at line 115 of file Albany_NavierStokes.hpp.

Teuchos::RCP<Albany::Layouts> Albany::NavierStokes::dl [protected]

flow through porous media problem

Definition at line 117 of file Albany_NavierStokes.hpp.


The documentation for this class was generated from the following files: