This class allows us to have a section of the input file like the following which automatically adds variables, kernels, aux kernels, bcs for setting up the incompressible Navier-Stokes equation. More...
#include <INSAction.h>
Public Types | |
| typedef DataFileName | DataFileParameterType |
Public Member Functions | |
| INSAction (const InputParameters ¶meters) | |
| virtual void | act () override |
| void | timedAct () |
| virtual void | addRelationshipManagers (Moose::RelationshipManagerType when_type) |
| MooseObjectName | uniqueActionName () const |
| const std::string & | specificTaskName () const |
| const std::set< std::string > & | getAllTasks () const |
| void | appendTask (const std::string &task) |
| MooseApp & | getMooseApp () const |
| const std::string & | type () const |
| const std::string & | name () const |
| std::string | typeAndName () const |
| MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
| MooseObjectName | uniqueName () const |
| const InputParameters & | parameters () const |
| const hit::Node * | getHitNode () const |
| bool | hasBase () const |
| const std::string & | getBase () const |
| const T & | getParam (const std::string &name) const |
| std::vector< std::pair< T1, T2 > > | getParam (const std::string ¶m1, const std::string ¶m2) const |
| const T * | queryParam (const std::string &name) const |
| const T & | getRenamedParam (const std::string &old_name, const std::string &new_name) const |
| T | getCheckedPointerParam (const std::string &name, const std::string &error_string="") const |
| bool | isParamValid (const std::string &name) const |
| bool | isParamSetByUser (const std::string &name) const |
| void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
| void | paramError (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramInfo (const std::string ¶m, Args... args) const |
| std::string | messagePrefix (const bool hit_prefix=true) const |
| std::string | errorPrefix (const std::string &) const |
| void | mooseError (Args &&... args) const |
| void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
| void | mooseErrorNonPrefixed (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | mooseInfo (Args &&... args) const |
| void | callMooseError (std::string msg, const bool with_prefix, const hit::Node *node=nullptr) const |
| std::string | getDataFileName (const std::string ¶m) const |
| std::string | getDataFileNameByName (const std::string &relative_path) const |
| std::string | getDataFilePath (const std::string &relative_path) const |
| PerfGraph & | perfGraph () |
| const Parallel::Communicator & | comm () const |
| processor_id_type | n_processors () const |
| processor_id_type | processor_id () const |
Static Public Member Functions | |
| static InputParameters | validParams () |
| static void | callMooseError (MooseApp *const app, const InputParameters ¶ms, std::string msg, const bool with_prefix, const hit::Node *node) |
Public Attributes | |
| usingCombinedWarningSolutionWarnings | |
| const ConsoleStream | _console |
Static Public Attributes | |
| static const std::string | unique_action_name_param |
| static const std::string | type_param |
| static const std::string | name_param |
| static const std::string | unique_name_param |
| static const std::string | app_param |
| static const std::string | moose_base_param |
| static const std::string | kokkos_object_param |
| static constexpr auto | SYSTEM |
| static constexpr auto | NAME |
Protected Member Functions | |
| void | setKernelCommonParams (InputParameters ¶ms) |
| void | setNoBCCommonParams (InputParameters ¶ms) |
| void | addINSTimeKernels () |
| void | addINSMass () |
| void | addINSMomentum () |
| void | addINSTemperature () |
| void | addINSVelocityAux () |
| void | addINSVelocityBC () |
| void | addINSPinnedPressureBC () |
| void | addINSNoBCBC () |
| void | addINSPressureBC () |
| void | addINSTemperatureBC () |
| bool | addRelationshipManagers (Moose::RelationshipManagerType when_type, const InputParameters &moose_object_pars) |
| void | associateWithParameter (const std::string ¶m_name, InputParameters ¶ms) const |
| void | associateWithParameter (const InputParameters &from_params, const std::string ¶m_name, InputParameters ¶ms) const |
| const T & | getMeshProperty (const std::string &data_name, const std::string &prefix) |
| const T & | getMeshProperty (const std::string &data_name) |
| bool | hasMeshProperty (const std::string &data_name, const std::string &prefix) const |
| bool | hasMeshProperty (const std::string &data_name, const std::string &prefix) const |
| bool | hasMeshProperty (const std::string &data_name) const |
| bool | hasMeshProperty (const std::string &data_name) const |
| std::string | meshPropertyName (const std::string &data_name) const |
| PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level) const |
| PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const |
| std::string | timedSectionName (const std::string §ion_name) const |
| void | flagInvalidSolutionInternal (const InvalidSolutionID invalid_solution_id) const |
| InvalidSolutionID | registerInvalidSolutionInternal (const std::string &message, const bool warning) const |
Static Protected Member Functions | |
| static std::string | meshPropertyName (const std::string &data_name, const std::string &prefix) |
Protected Attributes | |
| MooseEnum | _type |
| Equation type, transient or steady-state. More... | |
| std::vector< SubdomainName > | _blocks |
| Subdomains Navier-Stokes equation is defined on. More... | |
| std::vector< BoundaryName > | _velocity_boundary |
| Boundaries with velocity specified. More... | |
| std::vector< FunctionName > | _velocity_function |
| Velocity function names at velocity boundaries. More... | |
| std::vector< BoundaryName > | _pressure_boundary |
| Boundaries with pressure specified. More... | |
| std::vector< FunctionName > | _pressure_function |
| Pressure function names at pressure boundaries. More... | |
| std::vector< BoundaryName > | _no_bc_boundary |
| No-BC boundaries. More... | |
| bool | _has_pinned_node |
| Whether or not we need to pin pressure at a node. More... | |
| BoundaryName | _pinned_node |
| The node set name of the pinned node. More... | |
| std::vector< BoundaryName > | _fixed_temperature_boundary |
| Boundaries with temperature specified. More... | |
| std::vector< FunctionName > | _temperature_function |
| Temperature function names at fixed temperature boundaries. More... | |
| libMesh::FEType | _fe_type |
| FE type for various variables. More... | |
| bool | _use_ad |
| Whether we use AD or not. More... | |
| VariableName | _temperature_variable_name |
| Temperature variable name to facilitate temperature variable added outside. More... | |
| unsigned int | _dim |
| Mesh dimension. More... | |
| std::set< SubdomainID > | _block_ids |
| Subdomain IDs. More... | |
| const std::string | _pressure_variable_name |
| pressure variable name More... | |
| std::string | _registered_identifier |
| std::string | _specific_task_name |
| std::set< std::string > | _all_tasks |
| ActionWarehouse & | _awh |
| const std::string & | _current_task |
| std::shared_ptr< MooseMesh > & | _mesh |
| std::shared_ptr< MooseMesh > & | _displaced_mesh |
| std::shared_ptr< FEProblemBase > & | _problem |
| PerfID | _act_timer |
| MooseApp & | _app |
| Factory & | _factory |
| ActionFactory & | _action_factory |
| const std::string & | _name |
| const InputParameters & | _pars |
| MooseApp & | _pg_moose_app |
| const std::string | _prefix |
| const Parallel::Communicator & | _communicator |
This class allows us to have a section of the input file like the following which automatically adds variables, kernels, aux kernels, bcs for setting up the incompressible Navier-Stokes equation.
[IncompressibleNavierStokes] []
Definition at line 25 of file INSAction.h.
| INSAction::INSAction | ( | const InputParameters & | parameters | ) |
Definition at line 168 of file INSAction.C.
|
overridevirtual |
Implements Action.
Definition at line 241 of file INSAction.C.
|
protected |
Definition at line 566 of file INSAction.C.
Referenced by act().
|
protected |
Definition at line 617 of file INSAction.C.
Referenced by act().
|
protected |
Definition at line 1006 of file INSAction.C.
Referenced by act().
|
protected |
Definition at line 996 of file INSAction.C.
Referenced by act().
|
protected |
Definition at line 968 of file INSAction.C.
Referenced by act().
|
protected |
Definition at line 733 of file INSAction.C.
Referenced by act().
|
protected |
Definition at line 934 of file INSAction.C.
Referenced by act().
|
protected |
Definition at line 514 of file INSAction.C.
Referenced by act().
|
protected |
Definition at line 602 of file INSAction.C.
Referenced by act().
|
protected |
Definition at line 821 of file INSAction.C.
Referenced by act().
|
protected |
Definition at line 1040 of file INSAction.C.
Referenced by addINSMass(), and addINSMomentum().
|
protected |
Definition at line 1065 of file INSAction.C.
Referenced by addINSNoBCBC().
|
static |
Definition at line 36 of file INSAction.C.
|
protected |
|
protected |
Subdomains Navier-Stokes equation is defined on.
Definition at line 56 of file INSAction.h.
Referenced by act(), addINSMass(), addINSMomentum(), addINSNoBCBC(), addINSTemperature(), addINSTimeKernels(), and setKernelCommonParams().
|
protected |
Mesh dimension.
Definition at line 82 of file INSAction.h.
Referenced by act(), addINSMomentum(), addINSNoBCBC(), addINSTemperature(), addINSTimeKernels(), addINSVelocityAux(), addINSVelocityBC(), setKernelCommonParams(), and setNoBCCommonParams().
|
protected |
|
protected |
Boundaries with temperature specified.
Definition at line 72 of file INSAction.h.
Referenced by act(), addINSTemperatureBC(), and INSAction().
|
protected |
Whether or not we need to pin pressure at a node.
Definition at line 68 of file INSAction.h.
Referenced by act().
|
protected |
No-BC boundaries.
Definition at line 66 of file INSAction.h.
Referenced by act(), and addINSNoBCBC().
|
protected |
The node set name of the pinned node.
Definition at line 70 of file INSAction.h.
Referenced by act(), and addINSPinnedPressureBC().
|
protected |
Boundaries with pressure specified.
Definition at line 62 of file INSAction.h.
Referenced by act(), addINSPressureBC(), and INSAction().
|
protected |
Pressure function names at pressure boundaries.
Definition at line 64 of file INSAction.h.
Referenced by addINSPressureBC(), and INSAction().
|
protected |
pressure variable name
Definition at line 86 of file INSAction.h.
Referenced by act(), addINSMass(), addINSMomentum(), addINSNoBCBC(), addINSPinnedPressureBC(), addINSPressureBC(), setKernelCommonParams(), and setNoBCCommonParams().
|
protected |
Temperature function names at fixed temperature boundaries.
Definition at line 74 of file INSAction.h.
Referenced by addINSTemperatureBC(), and INSAction().
|
protected |
Temperature variable name to facilitate temperature variable added outside.
Definition at line 80 of file INSAction.h.
Referenced by act(), addINSMomentum(), addINSTemperature(), addINSTemperatureBC(), and addINSTimeKernels().
|
protected |
Equation type, transient or steady-state.
Definition at line 54 of file INSAction.h.
Referenced by act(), and setKernelCommonParams().
|
protected |
Whether we use AD or not.
Definition at line 78 of file INSAction.h.
Referenced by act(), addINSMass(), addINSMomentum(), addINSNoBCBC(), addINSTemperature(), addINSTimeKernels(), addINSVelocityBC(), and INSAction().
|
protected |
Boundaries with velocity specified.
Definition at line 58 of file INSAction.h.
Referenced by act(), and addINSVelocityBC().
|
protected |
Velocity function names at velocity boundaries.
Definition at line 60 of file INSAction.h.
Referenced by act(), and addINSVelocityBC().
1.8.14