Abstract interface for representing a 1-D finite element problem. More...
#include <Albany_NavierStokes.hpp>
Public Member Functions | |
NavierStokes (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< ParamLib > ¶mLib, 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 ¶mList, 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::Layouts > | dl |
flow through porous media problem | |
Private Member Functions | |
NavierStokes (const NavierStokes &) | |
Private to prohibit copying. | |
NavierStokes & | operator= (const NavierStokes &) |
Private to prohibit copying. |
Abstract interface for representing a 1-D finite element problem.
Definition at line 25 of file Albany_NavierStokes.hpp.
enum Albany::NavierStokes::NS_VAR_TYPE [protected] |
Enumerated type describing how a variable appears.
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.
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.
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.
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.
bool Albany::NavierStokes::periodic [protected] |
Definition at line 96 of file Albany_NavierStokes.hpp.
int Albany::NavierStokes::numDim [protected] |
periodic BCs
Definition at line 97 of file Albany_NavierStokes.hpp.
NS_VAR_TYPE Albany::NavierStokes::flowType [protected] |
number of spatial dimensions
Definition at line 99 of file Albany_NavierStokes.hpp.
NS_VAR_TYPE Albany::NavierStokes::heatType [protected] |
type of flow variables
Definition at line 100 of file Albany_NavierStokes.hpp.
NS_VAR_TYPE Albany::NavierStokes::neutType [protected] |
type of heat variables
Definition at line 101 of file Albany_NavierStokes.hpp.
bool Albany::NavierStokes::haveFlow [protected] |
type of neutron variables
Definition at line 103 of file Albany_NavierStokes.hpp.
bool Albany::NavierStokes::haveHeat [protected] |
have flow variables (momentum+continuity)
Definition at line 104 of file Albany_NavierStokes.hpp.
bool Albany::NavierStokes::haveNeut [protected] |
have heat variables (temperature)
Definition at line 105 of file Albany_NavierStokes.hpp.
bool Albany::NavierStokes::haveFlowEq [protected] |
have neutron flux variables
Definition at line 107 of file Albany_NavierStokes.hpp.
bool Albany::NavierStokes::haveHeatEq [protected] |
have flow equations (momentum+continuity)
Definition at line 108 of file Albany_NavierStokes.hpp.
bool Albany::NavierStokes::haveNeutEq [protected] |
have heat equation (temperature)
Definition at line 109 of file Albany_NavierStokes.hpp.
bool Albany::NavierStokes::haveSource [protected] |
have neutron flux equation
Definition at line 111 of file Albany_NavierStokes.hpp.
bool Albany::NavierStokes::haveNeutSource [protected] |
have source term in heat equation
Definition at line 112 of file Albany_NavierStokes.hpp.
bool Albany::NavierStokes::havePSPG [protected] |
have source term in neutron flux equation
Definition at line 113 of file Albany_NavierStokes.hpp.
bool Albany::NavierStokes::haveSUPG [protected] |
have pressure stabilization
Definition at line 114 of file Albany_NavierStokes.hpp.
bool Albany::NavierStokes::porousMedia [protected] |
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.