https://mooseframework.inl.gov
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
ADShaftConnectedPump1PhaseUserObject Class Reference

Computes and caches flux and residual vectors for a 1-phase pump. More...

#include <ADShaftConnectedPump1PhaseUserObject.h>

Inheritance diagram for ADShaftConnectedPump1PhaseUserObject:
[legend]

Public Types

enum  TEST_TYPE
 
typedef DataFileName DataFileParameterType
 

Public Member Functions

 ADShaftConnectedPump1PhaseUserObject (const InputParameters &params)
 
virtual void initialSetup () override
 
virtual void initialize () override
 
virtual void execute () override
 
ADReal getHydraulicTorque () const
 Hydraulic torque computed in the 1-phase shaft-connected pump. More...
 
ADReal getFrictionTorque () const
 Friction torque computed in the 1-phase shaft-connected pump. More...
 
ADReal getPumpHead () const
 Pump head computed in the 1-phase shaft-connected pump. More...
 
virtual void finalize () override
 
virtual void threadJoin (const UserObject &uo) override
 
const std::vector< ADReal > & getResidual () const
 Returns the residual vector for the scalar variables. More...
 
const std::vector< ADReal > & getFlux (const unsigned int &connection_index) const override
 Gets the flux vector for a connection. More...
 
unsigned int getNumberOfConnections () const
 Gets the number of connected flow channels. More...
 
SubProblemgetSubProblem () const
 
bool shouldDuplicateInitialExecution () const
 
virtual Real spatialValue (const Point &) const
 
virtual const std::vector< Point > spatialPoints () const
 
void gatherSum (T &value)
 
void gatherMax (T &value)
 
void gatherMin (T &value)
 
void gatherProxyValueMax (T1 &proxy, T2 &value)
 
void gatherProxyValueMin (T1 &proxy, T2 &value)
 
void setPrimaryThreadCopy (UserObject *primary)
 
UserObjectprimaryThreadCopy ()
 
std::set< UserObjectName > getDependObjects () const
 
virtual bool needThreadedCopy () const
 
const std::set< std::string > & getRequestedItems () override
 
const std::set< std::string > & getSuppliedItems () override
 
unsigned int systemNumber () const
 
virtual bool enabled () const
 
std::shared_ptr< MooseObjectgetSharedPtr ()
 
std::shared_ptr< const MooseObjectgetSharedPtr () const
 
MooseAppgetMooseApp () const
 
const std::string & type () const
 
virtual const std::string & name () const
 
std::string typeAndName () const
 
std::string errorPrefix (const std::string &error_type) const
 
void callMooseError (std::string msg, const bool with_prefix) const
 
MooseObjectParameterName uniqueParameterName (const std::string &parameter_name) const
 
const InputParametersparameters () const
 
MooseObjectName uniqueName () const
 
const T & getParam (const std::string &name) const
 
std::vector< std::pair< T1, T2 > > getParam (const std::string &param1, const std::string &param2) const
 
const T * queryParam (const std::string &name) const
 
const T & getRenamedParam (const std::string &old_name, const std::string &new_name) const
 
getCheckedPointerParam (const std::string &name, const std::string &error_string="") const
 
bool isParamValid (const std::string &name) const
 
bool isParamSetByUser (const std::string &nm) const
 
void paramError (const std::string &param, Args... args) const
 
void paramWarning (const std::string &param, Args... args) const
 
void paramInfo (const std::string &param, Args... args) const
 
void connectControllableParams (const std::string &parameter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const
 
void mooseError (Args &&... args) const
 
void mooseErrorNonPrefixed (Args &&... args) const
 
void mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const
 
void mooseWarning (Args &&... args) const
 
void mooseWarningNonPrefixed (Args &&... args) const
 
void mooseDeprecated (Args &&... args) const
 
void mooseInfo (Args &&... args) const
 
std::string getDataFileName (const std::string &param) const
 
std::string getDataFileNameByName (const std::string &relative_path) const
 
std::string getDataFilePath (const std::string &relative_path) const
 
virtual void timestepSetup ()
 
virtual void jacobianSetup ()
 
virtual void residualSetup ()
 
virtual void subdomainSetup ()
 
virtual void customSetup (const ExecFlagType &)
 
const ExecFlagEnumgetExecuteOnEnum () const
 
UserObjectName getUserObjectName (const std::string &param_name) const
 
const T & getUserObject (const std::string &param_name, bool is_dependency=true) const
 
const T & getUserObjectByName (const UserObjectName &object_name, bool is_dependency=true) const
 
const UserObjectgetUserObjectBase (const std::string &param_name, bool is_dependency=true) const
 
const UserObjectgetUserObjectBaseByName (const UserObjectName &object_name, bool is_dependency=true) const
 
virtual const std::set< BoundaryID > & boundaryIDs () const
 
const std::vector< BoundaryName > & boundaryNames () const
 
unsigned int numBoundaryIDs () const
 
bool hasBoundary (const BoundaryName &name) const
 
bool hasBoundary (const std::vector< BoundaryName > &names) const
 
bool hasBoundary (const BoundaryID &id) const
 
bool hasBoundary (const std::vector< BoundaryID > &ids, TEST_TYPE type=ALL) const
 
bool hasBoundary (const std::set< BoundaryID > &ids, TEST_TYPE type=ALL) const
 
bool isBoundarySubset (const std::set< BoundaryID > &ids) const
 
bool isBoundarySubset (const std::vector< BoundaryID > &ids) const
 
bool hasBoundaryMaterialProperty (const std::string &prop_name) const
 
virtual bool boundaryRestricted () const
 
const std::set< BoundaryID > & meshBoundaryIDs () const
 
virtual bool checkVariableBoundaryIntegrity () const
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty (const std::string &name, MaterialData &material_data, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty (const std::string &name, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty (const std::string &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialProperty (const std::string &name, MaterialData &material_data, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialProperty (const std::string &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialProperty (const std::string &name, const unsigned int state=0)
 
const ADMaterialProperty< T > & getADMaterialProperty (const std::string &name, MaterialData &material_data)
 
const ADMaterialProperty< T > & getADMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > & getADMaterialProperty (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOld (const std::string &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOld (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOld (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOlder (const std::string &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOlder (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOlder (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data, const unsigned int state)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const ADMaterialProperty< T > & getADMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data)
 
const ADMaterialProperty< T > & getADMaterialPropertyByName (const MaterialPropertyName &name)
 
const ADMaterialProperty< T > & getADMaterialPropertyByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOldByName (const MaterialPropertyName &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOldByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOldByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOlderByName (const MaterialPropertyName &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOlderByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOlderByName (const MaterialPropertyName &name)
 
std::pair< const MaterialProperty< T > *, std::set< SubdomainID > > getBlockMaterialProperty (const MaterialPropertyName &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericZeroMaterialProperty (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericZeroMaterialProperty ()
 
const GenericMaterialProperty< T, is_ad > & getGenericZeroMaterialPropertyByName (const std::string &prop_name)
 
const MaterialProperty< T > & getZeroMaterialProperty (Ts... args)
 
std::set< SubdomainIDgetMaterialPropertyBlocks (const std::string &name)
 
std::vector< SubdomainName > getMaterialPropertyBlockNames (const std::string &name)
 
std::set< BoundaryIDgetMaterialPropertyBoundaryIDs (const std::string &name)
 
std::vector< BoundaryName > getMaterialPropertyBoundaryNames (const std::string &name)
 
void checkBlockAndBoundaryCompatibility (std::shared_ptr< MaterialBase > discrete)
 
std::unordered_map< SubdomainID, std::vector< MaterialBase *> > buildRequiredMaterials (bool allow_stateful=true)
 
void statefulPropertiesAllowed (bool)
 
bool getMaterialPropertyCalled () const
 
virtual const std::unordered_set< unsigned int > & getMatPropDependencies () const
 
virtual void resolveOptionalProperties ()
 
const GenericMaterialProperty< T, is_ad > & getPossiblyConstantGenericMaterialPropertyByName (const MaterialPropertyName &prop_name, MaterialData &material_data, const unsigned int state)
 
virtual const VariableValuecoupledValueByName (const std::string &var_name)
 
virtual const ArrayVariableValuecoupledArrayValueByName (const std::string &var_name)
 
const std::unordered_map< std::string, std::vector< MooseVariableFieldBase *> > & getCoupledVars () const
 
const std::vector< MooseVariableFieldBase *> & getCoupledMooseVars () const
 
const std::vector< MooseVariable *> & getCoupledStandardMooseVars () const
 
const std::vector< VectorMooseVariable *> & getCoupledVectorMooseVars () const
 
const std::vector< ArrayMooseVariable *> & getCoupledArrayMooseVars () const
 
void addFEVariableCoupleableVectorTag (TagID tag)
 
void addFEVariableCoupleableMatrixTag (TagID tag)
 
std::set< TagID > & getFEVariableCoupleableVectorTags ()
 
const std::set< TagID > & getFEVariableCoupleableVectorTags () const
 
std::set< TagID > & getFEVariableCoupleableMatrixTags ()
 
const std::set< TagID > & getFEVariableCoupleableMatrixTags () const
 
auto & getWritableCoupledVariables () const
 
bool hasWritableCoupledVariables () const
 
const ADVariableValuegetADDefaultValue (const std::string &var_name) const
 
const ADVectorVariableValuegetADDefaultVectorValue (const std::string &var_name) const
 
const ADVariableGradientgetADDefaultGradient () const
 
const ADVectorVariableGradientgetADDefaultVectorGradient () const
 
const ADVariableSecondgetADDefaultSecond () const
 
const ADVectorVariableCurlgetADDefaultCurl () const
 
const std::vector< MooseVariableScalar *> & getCoupledMooseScalarVars ()
 
const std::set< TagID > & getScalarVariableCoupleableVectorTags () const
 
const std::set< TagID > & getScalarVariableCoupleableMatrixTags () const
 
const std::set< MooseVariableFieldBase *> & getMooseVariableDependencies () const
 
std::set< MooseVariableFieldBase *> checkAllVariables (const DofObjectType &dof_object, const std::set< MooseVariableFieldBase * > &vars_to_omit={})
 
std::set< MooseVariableFieldBase *> checkVariables (const DofObjectType &dof_object, const std::set< MooseVariableFieldBase * > &vars_to_check)
 
void addMooseVariableDependency (MooseVariableFieldBase *var)
 
void addMooseVariableDependency (const std::vector< MooseVariableFieldBase * > &vars)
 
bool isImplicit ()
 
Moose::StateArg determineState () const
 
virtual unsigned int getElementIDIndex (const std::string &id_parameter_name, unsigned int comp=0) const
 
virtual unsigned int getElementIDIndexByName (const std::string &id_name) const
 
virtual const dof_id_typegetElementID (const std::string &id_parameter_name, unsigned int comp=0) const
 
dof_id_type getElementID (const Elem *elem, unsigned int elem_id_index) const
 
virtual const dof_id_typegetElementIDNeighbor (const std::string &id_parameter_name, unsigned int comp=0) const
 
virtual const dof_id_typegetElementIDByName (const std::string &id_name) const
 
virtual const dof_id_typegetElementIDNeighborByName (const std::string &id_name) const
 
bool hasElementID (const std::string &id_name) const
 
dof_id_type maxElementID (unsigned int elem_id_index) const
 
dof_id_type minElementID (unsigned int elem_id_index) const
 
bool areElemIDsIdentical (const std::string &id_name1, const std::string &id_name2) const
 
std::unordered_map< dof_id_type, std::set< dof_id_type > > getElemIDMapping (const std::string &id_name1, const std::string &id_name2) const
 
std::set< dof_id_typegetAllElemIDs (unsigned int elem_id_index) const
 
std::set< dof_id_typegetElemIDsOnBlocks (unsigned int elem_id_index, const std::set< SubdomainID > &blks) const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObjectByName (const UserObjectName &object_name) const
 
bool hasUserObjectByName (const UserObjectName &object_name) const
 
bool hasUserObjectByName (const UserObjectName &object_name) const
 
bool hasUserObjectByName (const UserObjectName &object_name) const
 
const GenericOptionalMaterialProperty< T, is_ad > & getGenericOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const GenericOptionalMaterialProperty< T, is_ad > & getGenericOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const OptionalMaterialProperty< T > & getOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const OptionalMaterialProperty< T > & getOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const OptionalADMaterialProperty< T > & getOptionalADMaterialProperty (const std::string &name)
 
const OptionalADMaterialProperty< T > & getOptionalADMaterialProperty (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOld (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOld (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOlder (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOlder (const std::string &name)
 
MaterialBasegetMaterial (const std::string &name)
 
MaterialBasegetMaterial (const std::string &name)
 
MaterialBasegetMaterialByName (const std::string &name, bool no_warn=false)
 
MaterialBasegetMaterialByName (const std::string &name, bool no_warn=false)
 
bool hasMaterialProperty (const std::string &name)
 
bool hasMaterialProperty (const std::string &name)
 
bool hasMaterialPropertyByName (const std::string &name)
 
bool hasMaterialPropertyByName (const std::string &name)
 
bool hasADMaterialProperty (const std::string &name)
 
bool hasADMaterialProperty (const std::string &name)
 
bool hasADMaterialPropertyByName (const std::string &name)
 
bool hasADMaterialPropertyByName (const std::string &name)
 
bool hasGenericMaterialProperty (const std::string &name)
 
bool hasGenericMaterialProperty (const std::string &name)
 
bool hasGenericMaterialPropertyByName (const std::string &name)
 
bool hasGenericMaterialPropertyByName (const std::string &name)
 
const FunctiongetFunction (const std::string &name) const
 
const FunctiongetFunctionByName (const FunctionName &name) const
 
bool hasFunction (const std::string &param_name) const
 
bool hasFunctionByName (const FunctionName &name) const
 
bool isDefaultPostprocessorValue (const std::string &param_name, const unsigned int index=0) const
 
bool hasPostprocessor (const std::string &param_name, const unsigned int index=0) const
 
bool hasPostprocessorByName (const PostprocessorName &name) const
 
std::size_t coupledPostprocessors (const std::string &param_name) const
 
const PostprocessorName & getPostprocessorName (const std::string &param_name, const unsigned int index=0) const
 
const VectorPostprocessorValuegetVectorPostprocessorValue (const std::string &param_name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValue (const std::string &param_name, const std::string &vector_name, bool needs_broadcast) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOld (const std::string &param_name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOld (const std::string &param_name, const std::string &vector_name, bool needs_broadcast) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValue (const std::string &param_name, const std::string &vector_name) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueOld (const std::string &param_name, const std::string &vector_name) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
bool hasVectorPostprocessor (const std::string &param_name, const std::string &vector_name) const
 
bool hasVectorPostprocessor (const std::string &param_name) const
 
bool hasVectorPostprocessorByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
bool hasVectorPostprocessorByName (const VectorPostprocessorName &name) const
 
const VectorPostprocessorName & getVectorPostprocessorName (const std::string &param_name) const
 
T & getSampler (const std::string &name)
 
SamplergetSampler (const std::string &name)
 
T & getSamplerByName (const SamplerName &name)
 
SamplergetSamplerByName (const SamplerName &name)
 
virtual void meshChanged ()
 
virtual void meshDisplaced ()
 
PerfGraphperfGraph ()
 
const PostprocessorValuegetPostprocessorValue (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValue (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOld (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOld (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOlder (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOlder (const std::string &param_name, const unsigned int index=0) const
 
virtual const PostprocessorValuegetPostprocessorValueByName (const PostprocessorName &name) const
 
virtual const PostprocessorValuegetPostprocessorValueByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOldByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOldByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOlderByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOlderByName (const PostprocessorName &name) const
 
bool isVectorPostprocessorDistributed (const std::string &param_name) const
 
bool isVectorPostprocessorDistributed (const std::string &param_name) const
 
bool isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const
 
bool isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const
 
const DistributiongetDistribution (const std::string &name) const
 
const T & getDistribution (const std::string &name) const
 
const DistributiongetDistribution (const std::string &name) const
 
const T & getDistribution (const std::string &name) const
 
const DistributiongetDistributionByName (const DistributionName &name) const
 
const T & getDistributionByName (const std::string &name) const
 
const DistributiongetDistributionByName (const DistributionName &name) const
 
const T & getDistributionByName (const std::string &name) const
 
const Parallel::Communicator & comm () const
 
processor_id_type n_processors () const
 
processor_id_type processor_id () const
 
virtual ADReal getTorque () const
 
virtual ADReal getMomentOfInertia () const
 

Static Public Member Functions

static InputParameters validParams ()
 
static void sort (typename std::vector< T > &vector)
 
static void sortDFS (typename std::vector< T > &vector)
 
static void cyclicDependencyError (CyclicDependencyException< T2 > &e, const std::string &header)
 
static bool restricted (const std::set< BoundaryID > &ids)
 

Public Attributes

 ALL
 
 ANY
 
const ConsoleStream _console
 

Static Public Attributes

static constexpr PropertyValue::id_type default_property_id
 
static constexpr PropertyValue::id_type zero_property_id
 
static constexpr auto SYSTEM
 
static constexpr auto NAME
 

Protected Member Functions

virtual void computeFluxesAndResiduals (const unsigned int &c) override
 Computes and stores the fluxes, the scalar residuals, and their Jacobians. More...
 
virtual void storeConnectionData ()
 Stores data (connection index, face shape functions, DoFs associated with flow channel variables) related to a connection. More...
 
virtual std::vector< const MooseVariableBase * > getJunctionVariables () const
 Gets the junction variables. More...
 
const MooseVariableBasegetJunctionVar (const std::string &var_name, unsigned int i=0) const
 Gets a junction variable. More...
 
const ADVariableValuecoupledJunctionValue (const std::string &var_name, unsigned int i=0) const
 Gets an AD junction variable value. More...
 
unsigned int getBoundaryIDIndex ()
 Gets the index of the currently executing boundary within the vector of boundary IDs given to this SideUserObject. More...
 
void checkValidConnectionIndex (const unsigned int &connection_index) const
 Checks that a connection index is valid. More...
 
void getFaceInfos ()
 
virtual void addPostprocessorDependencyHelper (const PostprocessorName &name) const override
 
virtual void addVectorPostprocessorDependencyHelper (const VectorPostprocessorName &name) const override
 
virtual void addUserObjectDependencyHelper (const UserObject &uo) const override
 
void addReporterDependencyHelper (const ReporterName &reporter_name) override
 
const ReporterNamegetReporterName (const std::string &param_name) const
 
T & declareRestartableData (const std::string &data_name, Args &&... args)
 
ManagedValue< T > declareManagedRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args)
 
const T & getRestartableData (const std::string &data_name) const
 
T & declareRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args)
 
T & declareRecoverableData (const std::string &data_name, Args &&... args)
 
T & declareRestartableDataWithObjectName (const std::string &data_name, const std::string &object_name, Args &&... args)
 
T & declareRestartableDataWithObjectNameWithContext (const std::string &data_name, const std::string &object_name, void *context, Args &&... args)
 
std::string restartableName (const std::string &data_name) 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 &section_name, const unsigned int level) const
 
PerfID registerTimedSection (const std::string &section_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const
 
std::string timedSectionName (const std::string &section_name) const
 
bool hasBoundaryMaterialPropertyHelper (const std::string &prop_name) const
 
virtual void checkMaterialProperty (const std::string &name, const unsigned int state)
 
void markMatPropRequested (const std::string &)
 
MaterialPropertyName getMaterialPropertyName (const std::string &name) const
 
void checkExecutionStage ()
 
virtual void coupledCallback (const std::string &, bool) const
 
virtual bool isCoupled (const std::string &var_name, unsigned int i=0) const
 
virtual bool isCoupledConstant (const std::string &var_name) const
 
unsigned int coupledComponents (const std::string &var_name) const
 
VariableName coupledName (const std::string &var_name, unsigned int comp=0) const
 
std::vector< VariableName > coupledNames (const std::string &var_name) const
 
virtual unsigned int coupled (const std::string &var_name, unsigned int comp=0) const
 
std::vector< unsigned intcoupledIndices (const std::string &var_name) const
 
virtual const VariableValuecoupledValue (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledValues (const std::string &var_name) const
 
std::vector< const VectorVariableValue *> coupledVectorValues (const std::string &var_name) const
 
const GenericVariableValue< is_ad > & coupledGenericValue (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< false > & coupledGenericValue (const std::string &var_name, unsigned int comp) const
 
const GenericVariableValue< true > & coupledGenericValue (const std::string &var_name, unsigned int comp) const
 
const GenericVectorVariableValue< is_ad > & coupledGenericVectorValue (const std::string &var_name, unsigned int comp=0) const
 
const GenericVectorVariableValue< false > & coupledGenericVectorValue (const std::string &var_name, unsigned int comp) const
 
const GenericVectorVariableValue< true > & coupledGenericVectorValue (const std::string &var_name, unsigned int comp) const
 
std::vector< const GenericVariableValue< is_ad > *> coupledGenericValues (const std::string &var_name) const
 
std::vector< const GenericVariableValue< false > *> coupledGenericValues (const std::string &var_name) const
 
std::vector< const GenericVariableValue< true > *> coupledGenericValues (const std::string &var_name) const
 
const GenericVariableValue< is_ad > & coupledGenericDofValue (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< false > & coupledGenericDofValue (const std::string &var_name, unsigned int comp) const
 
const GenericVariableValue< true > & coupledGenericDofValue (const std::string &var_name, unsigned int comp) const
 
const GenericVariableValue< is_ad > & coupledGenericDot (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< false > & coupledGenericDot (const std::string &var_name, unsigned int comp) const
 
const GenericVariableValue< true > & coupledGenericDot (const std::string &var_name, unsigned int comp) const
 
const GenericVariableValue< is_ad > & coupledGenericDotDot (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< false > & coupledGenericDotDot (const std::string &var_name, unsigned int comp) const
 
const GenericVariableValue< true > & coupledGenericDotDot (const std::string &var_name, unsigned int comp) const
 
virtual const VariableValuecoupledValueLower (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadCoupledValue (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const ADVariableValue *> adCoupledValues (const std::string &var_name) const
 
const ADVariableValueadCoupledLowerValue (const std::string &var_name, unsigned int comp=0) const
 
const ADVectorVariableValueadCoupledVectorValue (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const ADVectorVariableValue *> adCoupledVectorValues (const std::string &var_name) const
 
virtual const VariableValuecoupledVectorTagValue (const std::string &var_names, TagID tag, unsigned int index=0) const
 
virtual const VariableValuecoupledVectorTagValue (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const
 
std::vector< const VariableValue *> coupledVectorTagValues (const std::string &var_names, TagID tag) const
 
std::vector< const VariableValue *> coupledVectorTagValues (const std::string &var_names, const std::string &tag_name) const
 
virtual const ArrayVariableValuecoupledVectorTagArrayValue (const std::string &var_names, TagID tag, unsigned int index=0) const
 
virtual const ArrayVariableValuecoupledVectorTagArrayValue (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const
 
std::vector< const ArrayVariableValue *> coupledVectorTagArrayValues (const std::string &var_names, TagID tag) const
 
std::vector< const ArrayVariableValue *> coupledVectorTagArrayValues (const std::string &var_names, const std::string &tag_name) const
 
virtual const VariableGradientcoupledVectorTagGradient (const std::string &var_names, TagID tag, unsigned int index=0) const
 
virtual const VariableGradientcoupledVectorTagGradient (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const
 
std::vector< const VariableGradient *> coupledVectorTagGradients (const std::string &var_names, TagID tag) const
 
std::vector< const VariableGradient *> coupledVectorTagGradients (const std::string &var_names, const std::string &tag_name) const
 
virtual const ArrayVariableGradientcoupledVectorTagArrayGradient (const std::string &var_names, TagID tag, unsigned int index=0) const
 
virtual const ArrayVariableGradientcoupledVectorTagArrayGradient (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const
 
std::vector< const ArrayVariableGradient *> coupledVectorTagArrayGradients (const std::string &var_names, TagID tag) const
 
std::vector< const ArrayVariableGradient *> coupledVectorTagArrayGradients (const std::string &var_names, const std::string &tag_name) const
 
virtual const VariableValuecoupledVectorTagDofValue (const std::string &var_name, TagID tag, unsigned int index=0) const
 
virtual const VariableValuecoupledVectorTagDofValue (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const
 
const ArrayVariableValuecoupledVectorTagArrayDofValue (const std::string &var_name, const std::string &tag_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledVectorTagDofValues (const std::string &var_names, TagID tag) const
 
std::vector< const VariableValue *> coupledVectorTagDofValues (const std::string &var_names, const std::string &tag_name) const
 
virtual const VariableValuecoupledMatrixTagValue (const std::string &var_names, TagID tag, unsigned int index=0) const
 
virtual const VariableValuecoupledMatrixTagValue (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const
 
std::vector< const VariableValue *> coupledMatrixTagValues (const std::string &var_names, TagID tag) const
 
std::vector< const VariableValue *> coupledMatrixTagValues (const std::string &var_names, const std::string &tag_name) const
 
virtual const VectorVariableValuecoupledVectorValue (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayValue (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const ArrayVariableValue *> coupledArrayValues (const std::string &var_name) const
 
MooseWritableVariablewritableVariable (const std::string &var_name, unsigned int comp=0)
 
virtual VariableValuewritableCoupledValue (const std::string &var_name, unsigned int comp=0)
 
void checkWritableVar (MooseWritableVariable *var)
 
virtual const VariableValuecoupledValueOld (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledValuesOld (const std::string &var_name) const
 
std::vector< const VectorVariableValue *> coupledVectorValuesOld (const std::string &var_name) const
 
virtual const VariableValuecoupledValueOlder (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledValuesOlder (const std::string &var_name) const
 
virtual const VariableValuecoupledValuePreviousNL (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableValuecoupledVectorValueOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableValuecoupledVectorValueOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayValueOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayValueOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableGradientcoupledGradient (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableGradient *> coupledGradients (const std::string &var_name) const
 
const ADVariableGradientadCoupledGradient (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableGradientadCoupledGradientDot (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const ADVariableGradient *> adCoupledGradients (const std::string &var_name) const
 
const GenericVariableGradient< is_ad > & coupledGenericGradient (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableGradient< false > & coupledGenericGradient (const std::string &var_name, unsigned int comp) const
 
const GenericVariableGradient< true > & coupledGenericGradient (const std::string &var_name, unsigned int comp) const
 
std::vector< const GenericVariableGradient< is_ad > *> coupledGenericGradients (const std::string &var_name) const
 
std::vector< const GenericVariableGradient< false > *> coupledGenericGradients (const std::string &var_name) const
 
std::vector< const GenericVariableGradient< true > *> coupledGenericGradients (const std::string &var_name) const
 
const ADVectorVariableGradientadCoupledVectorGradient (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableSecondadCoupledSecond (const std::string &var_name, unsigned int comp=0) const
 
const ADVectorVariableSecondadCoupledVectorSecond (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableGradientcoupledGradientOld (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableGradient *> coupledGradientsOld (const std::string &var_name) const
 
virtual const VariableGradientcoupledGradientOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableGradientcoupledGradientPreviousNL (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableGradientcoupledGradientDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableGradientcoupledGradientDotDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableGradientcoupledVectorGradient (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableGradientcoupledVectorGradientOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableGradientcoupledVectorGradientOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableGradientcoupledArrayGradient (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableGradientcoupledArrayGradientOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableGradientcoupledArrayGradientOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableGradientcoupledArrayGradientDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableCurlcoupledCurl (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableCurlcoupledCurlOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableCurlcoupledCurlOlder (const std::string &var_name, unsigned int comp=0) const
 
const ADVectorVariableCurladCoupledCurl (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableDivergencecoupledDiv (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableDivergencecoupledDivOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableDivergencecoupledDivOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableSecondcoupledSecond (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableSecondcoupledSecondOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableSecondcoupledSecondOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableSecondcoupledSecondPreviousNL (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledDot (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledDots (const std::string &var_name) const
 
virtual const VariableValuecoupledDotDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledDotDotOld (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadCoupledDot (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const ADVariableValue *> adCoupledDots (const std::string &var_name) const
 
const ADVariableValueadCoupledDotDot (const std::string &var_name, unsigned int comp=0) const
 
const ADVectorVariableValueadCoupledVectorDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableValuecoupledVectorDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableValuecoupledVectorDotDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableValuecoupledVectorDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableValuecoupledVectorDotDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledVectorDotDu (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledVectorDotDotDu (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayDotDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayDotDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledDotDu (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledDotDotDu (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledArrayDotDu (const std::string &var_name, unsigned int comp=0) const
 
const T & coupledNodalValue (const std::string &var_name, unsigned int comp=0) const
 
const Moose::ADType< T >::typeadCoupledNodalValue (const std::string &var_name, unsigned int comp=0) const
 
const T & coupledNodalValueOld (const std::string &var_name, unsigned int comp=0) const
 
const T & coupledNodalValueOlder (const std::string &var_name, unsigned int comp=0) const
 
const T & coupledNodalValuePreviousNL (const std::string &var_name, unsigned int comp=0) const
 
const T & coupledNodalDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledNodalDotDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledNodalDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledNodalDotDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledDofValues (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledAllDofValues (const std::string &var_name) const
 
virtual const VariableValuecoupledDofValuesOld (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledAllDofValuesOld (const std::string &var_name) const
 
virtual const VariableValuecoupledDofValuesOlder (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledAllDofValuesOlder (const std::string &var_name) const
 
virtual const ArrayVariableValuecoupledArrayDofValues (const std::string &var_name, unsigned int comp=0) const
 
virtual const ADVariableValueadCoupledDofValues (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadZeroValue () const
 
const ADVariableGradientadZeroGradient () const
 
const ADVariableSecondadZeroSecond () const
 
const GenericVariableValue< is_ad > & genericZeroValue ()
 
const GenericVariableValue< false > & genericZeroValue ()
 
const GenericVariableValue< true > & genericZeroValue ()
 
const GenericVariableGradient< is_ad > & genericZeroGradient ()
 
const GenericVariableGradient< false > & genericZeroGradient ()
 
const GenericVariableGradient< true > & genericZeroGradient ()
 
const GenericVariableSecond< is_ad > & genericZeroSecond ()
 
const GenericVariableSecond< false > & genericZeroSecond ()
 
const GenericVariableSecond< true > & genericZeroSecond ()
 
bool checkVar (const std::string &var_name, unsigned int comp=0, unsigned int comp_bound=0) const
 
const MooseVariableFieldBasegetFEVar (const std::string &var_name, unsigned int comp) const
 
const MooseVariableFieldBasegetFieldVar (const std::string &var_name, unsigned int comp) const
 
MooseVariableFieldBasegetFieldVar (const std::string &var_name, unsigned int comp)
 
const T * getVarHelper (const std::string &var_name, unsigned int comp) const
 
T * getVarHelper (const std::string &var_name, unsigned int comp)
 
MooseVariablegetVar (const std::string &var_name, unsigned int comp)
 
const MooseVariablegetVar (const std::string &var_name, unsigned int comp) const
 
VectorMooseVariablegetVectorVar (const std::string &var_name, unsigned int comp)
 
const VectorMooseVariablegetVectorVar (const std::string &var_name, unsigned int comp) const
 
ArrayMooseVariablegetArrayVar (const std::string &var_name, unsigned int comp)
 
const ArrayMooseVariablegetArrayVar (const std::string &var_name, unsigned int comp) const
 
void validateExecutionerType (const std::string &name, const std::string &fn_name) const
 
std::vector< T > coupledVectorHelper (const std::string &var_name, const Func &func) const
 
bool isCoupledScalar (const std::string &var_name, unsigned int i=0) const
 
unsigned int coupledScalarComponents (const std::string &var_name) const
 
unsigned int coupledScalar (const std::string &var_name, unsigned int comp=0) const
 
libMesh::Order coupledScalarOrder (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarValue (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadCoupledScalarValue (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< is_ad > & coupledGenericScalarValue (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< false > & coupledGenericScalarValue (const std::string &var_name, const unsigned int comp) const
 
const GenericVariableValue< true > & coupledGenericScalarValue (const std::string &var_name, const unsigned int comp) const
 
const VariableValuecoupledVectorTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0) const
 
const VariableValuecoupledMatrixTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0) const
 
const VariableValuecoupledScalarValueOld (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarValueOlder (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDot (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadCoupledScalarDot (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDot (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotOld (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDotOld (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDu (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDotDu (const std::string &var_name, unsigned int comp=0) const
 
const MooseVariableScalargetScalarVar (const std::string &var_name, unsigned int comp) const
 
const T & getReporterValue (const std::string &param_name, const std::size_t time_index=0)
 
const T & getReporterValue (const std::string &param_name, ReporterMode mode, const std::size_t time_index=0)
 
const T & getReporterValue (const std::string &param_name, const std::size_t time_index=0)
 
const T & getReporterValue (const std::string &param_name, ReporterMode mode, const std::size_t time_index=0)
 
const T & getReporterValueByName (const ReporterName &reporter_name, const std::size_t time_index=0)
 
const T & getReporterValueByName (const ReporterName &reporter_name, ReporterMode mode, const std::size_t time_index=0)
 
const T & getReporterValueByName (const ReporterName &reporter_name, const std::size_t time_index=0)
 
const T & getReporterValueByName (const ReporterName &reporter_name, ReporterMode mode, const std::size_t time_index=0)
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
const GenericMaterialProperty< T, is_ad > * defaultGenericMaterialProperty (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > * defaultGenericMaterialProperty (const std::string &name)
 
const MaterialProperty< T > * defaultMaterialProperty (const std::string &name)
 
const MaterialProperty< T > * defaultMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > * defaultADMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > * defaultADMaterialProperty (const std::string &name)
 
virtual void setupConnections (unsigned int n_connections, unsigned int n_flow_eq)
 
virtual void setConnectionData (const std::vector< std::vector< dof_id_type >> &flow_channel_dofs)
 Stores data computed by a volume-junction-like object associated with the conection. More...
 
virtual void setOmegaDofs (const MooseVariableScalar *omega_var)
 
virtual void setupJunctionData (std::vector< dof_id_type > &scalar_dofs)
 Stores data associated with a junction component. More...
 

Static Protected Member Functions

static std::string meshPropertyName (const std::string &data_name, const std::string &prefix)
 

Protected Attributes

Point _di_out
 Direction of the pump outlet. More...
 
const Real_g
 Gravity constant. More...
 
const Real_omega_rated
 Rated pump speed. More...
 
const Real_volumetric_rated
 Rated pump volumetric flow rate. More...
 
const Real_head_rated
 Rated pump head. More...
 
const Real_torque_rated
 Rated pump torque. More...
 
const Real_density_rated
 Rated pump density. More...
 
const Real_speed_cr_fr
 Pump speed threshold for friction. More...
 
const Real_tau_fr_const
 Pump friction constant. More...
 
const std::vector< Real > & _tau_fr_coeff
 Pump friction coefficients. More...
 
const Real_speed_cr_I
 Pump speed threshold for inertia. More...
 
const Real_inertia_const
 Pump inertia constant. More...
 
const std::vector< Real > & _inertia_coeff
 Pump inertia coefficients. More...
 
const Function_head
 Function to compute data for pump head. More...
 
const Function_torque_hydraulic
 Function to compute data for pump torque. More...
 
const std::string & _pump_name
 Pump name. More...
 
const ADVariableValue_omega
 Shaft speed. More...
 
const Real_transition_width
 Transition width for the sign of the frictional torque when speed is 0. More...
 
const ADWeightedTransition _transition_friction
 Transition for the sign of the frictional torque when speed is 0. More...
 
ADReal _hydraulic_torque
 Pump hydraulic torque. More...
 
ADReal _friction_torque
 Pump friction torque. More...
 
ADReal _pump_head
 Pump head. More...
 
std::vector< DenseMatrix< Real > > _residual_jacobian_omega_var
 Jacobian entries of junction variables wrt shaft variables. More...
 
const ADVariableValue_A
 Cross-sectional area of connected flow channels. More...
 
const ADVariableValue_rhoA
 rho*A of the connected flow channels More...
 
const ADVariableValue_rhouA
 rho*u*A of the connected flow channels More...
 
const ADVariableValue_rhoEA
 rho*E*A of the connected flow channels More...
 
const Real_K
 Form loss coefficient. More...
 
const Real_A_ref
 Reference area. More...
 
const bool _apply_velocity_scaling
 Apply velocity scaling? More...
 
const SinglePhaseFluidProperties_fp
 Single-phase fluid properties user object. More...
 
std::vector< const ADNumericalFlux3EqnBase * > _numerical_flux_uo
 Vector of numerical flux user objects for each connected flow channel. More...
 
const bool _use_scalar_variables
 True if the junction variables are scalar variables. More...
 
const subdomain_id_type _junction_subdomain_id
 Junction subdomain ID. More...
 
const Real_volume
 Volume of the junction. More...
 
std::vector< std::string > _flow_variable_names
 Vector of coupled variable names for each flow variable. More...
 
std::vector< std::string > _scalar_variable_names
 Vector of coupled variable names for each scalar variable. More...
 
unsigned int _n_flux_eq
 Number of flow channel flux components. More...
 
unsigned int _n_scalar_eq
 Number of scalar residual components. More...
 
std::vector< const ADVariableValue * > _junction_var_values
 
std::vector< ADReal_cached_junction_var_values
 
const std::vector< UserObjectName > & _numerical_flux_names
 Names of numerical flux user objects for each connected flow channel. More...
 
std::vector< unsigned int_connection_indices
 Connection indices for this thread. More...
 
std::vector< dof_id_type_scalar_dofs
 Degrees of freedom for scalar variables. More...
 
std::vector< std::vector< dof_id_type > > _flow_channel_dofs
 Degrees of freedom for flow channel variables, for each connection. More...
 
std::vector< std::vector< ADReal > > _flux
 Cached flux vector for each connection. More...
 
std::vector< ADReal_residual
 Cached scalar residual vector. More...
 
const std::vector< BoundaryID_bnd_ids_vector
 Vector of boundary IDs for this side user object; note that BoundaryRestrictable stores these same boundary IDs in _bnd_ids, but they are stored privately and in a set instead of a vector, so ordering is not preserved. More...
 
const unsigned int _n_bnd_ids
 
std::map< std::pair< const Elem *, const unsigned short int >, unsigned int_elem_side_to_bnd_id_index
 
const std::vector< Real > & _normal
 Flow channel outward normals or junction inward normals. More...
 
const MaterialProperty< RealVectorValue > & _dir
 Direction of the element connected to the junction. More...
 
const unsigned int _n_connections
 Number of connected flow channels. More...
 
std::vector< unsigned int_processor_ids
 Owners of each side of the junction. More...
 
MooseMesh_mesh
 
const MooseArray< Point > & _q_point
 
const QBase *const & _qrule
 
const MooseArray< Real > & _JxW
 
const MooseArray< Real > & _coord
 
const MooseArray< Point > & _normals
 
const Elem *const & _current_elem
 
const unsigned int_current_side
 
const Elem *const & _current_side_elem
 
const Real_current_side_volume
 
const BoundaryID_current_boundary_id
 
std::vector< const FaceInfo *> _face_infos
 
SubProblem_subproblem
 
FEProblemBase_fe_problem
 
SystemBase_sys
 
const THREAD_ID _tid
 
Assembly_assembly
 
const Moose::CoordinateSystemType_coord_sys
 
const bool _duplicate_initial_execution
 
std::set< std::string > _depend_uo
 
const bool & _enabled
 
MooseApp_app
 
const std::string _type
 
const std::string _name
 
const InputParameters_pars
 
Factory_factory
 
ActionFactory_action_factory
 
const ExecFlagEnum_execute_enum
 
const ExecFlagType_current_execute_flag
 
MooseApp_restartable_app
 
const std::string _restartable_system_name
 
const THREAD_ID _restartable_tid
 
const bool _restartable_read_only
 
FEProblemBase_mci_feproblem
 
FEProblemBase_mdi_feproblem
 
MooseApp_pg_moose_app
 
const std::string _prefix
 
const InputParameters_mi_params
 
const std::string _mi_name
 
const MooseObjectName _mi_moose_object_name
 
FEProblemBase_mi_feproblem
 
SubProblem_mi_subproblem
 
const THREAD_ID _mi_tid
 
const Moose::MaterialDataType _material_data_type
 
MaterialData_material_data
 
bool _stateful_allowed
 
bool _get_material_property_called
 
std::vector< std::unique_ptr< PropertyValue > > _default_properties
 
std::unordered_set< unsigned int_material_property_dependencies
 
const MaterialPropertyName _get_suffix
 
const bool _use_interpolated_state
 
const InputParameters_c_parameters
 
const std::string & _c_name
 
const std::string & _c_type
 
FEProblemBase_c_fe_problem
 
const SystemBase *const _c_sys
 
std::unordered_map< std::string, std::vector< MooseVariableFieldBase *> > _coupled_vars
 
std::vector< MooseVariableFieldBase *> _coupled_moose_vars
 
std::vector< MooseVariable *> _coupled_standard_moose_vars
 
std::vector< VectorMooseVariable *> _coupled_vector_moose_vars
 
std::vector< ArrayMooseVariable *> _coupled_array_moose_vars
 
std::vector< MooseVariableFV< Real > *> _coupled_standard_fv_moose_vars
 
std::vector< MooseLinearVariableFV< Real > *> _coupled_standard_linear_fv_moose_vars
 
const std::unordered_map< std::string, std::string > & _new_to_deprecated_coupled_vars
 
bool _c_nodal
 
bool _c_is_implicit
 
const bool _c_allow_element_to_nodal_coupling
 
THREAD_ID _c_tid
 
std::unordered_map< std::string, std::vector< std::unique_ptr< VariableValue > > > _default_value
 
std::unordered_map< std::string, std::unique_ptr< MooseArray< ADReal > > > _ad_default_value
 
std::unordered_map< std::string, std::unique_ptr< VectorVariableValue > > _default_vector_value
 
std::unordered_map< std::string, std::unique_ptr< ArrayVariableValue > > _default_array_value
 
std::unordered_map< std::string, std::unique_ptr< MooseArray< ADRealVectorValue > > > _ad_default_vector_value
 
VariableValue _default_value_zero
 
VariableGradient _default_gradient
 
MooseArray< ADRealVectorValue_ad_default_gradient
 
MooseArray< ADRealTensorValue_ad_default_vector_gradient
 
VariableSecond _default_second
 
MooseArray< ADRealTensorValue_ad_default_second
 
MooseArray< ADRealVectorValue_ad_default_curl
 
const VariableValue_zero
 
const VariablePhiValue_phi_zero
 
const MooseArray< ADReal > & _ad_zero
 
const VariableGradient_grad_zero
 
const MooseArray< ADRealVectorValue > & _ad_grad_zero
 
const VariablePhiGradient_grad_phi_zero
 
const VariableSecond_second_zero
 
const MooseArray< ADRealTensorValue > & _ad_second_zero
 
const VariablePhiSecond_second_phi_zero
 
const VectorVariableValue_vector_zero
 
const VectorVariableCurl_vector_curl_zero
 
VectorVariableValue _default_vector_value_zero
 
VectorVariableGradient _default_vector_gradient
 
VectorVariableCurl _default_vector_curl
 
VectorVariableDivergence _default_div
 
ArrayVariableValue _default_array_value_zero
 
ArrayVariableGradient _default_array_gradient
 
bool _coupleable_neighbor
 
FEProblemBase_sc_fe_problem
 
const THREAD_ID _sc_tid
 
const Real_real_zero
 
const VariableValue_scalar_zero
 
const Point & _point_zero
 
const InputParameters_ti_params
 
FEProblemBase_ti_feproblem
 
bool _is_implicit
 
Real_t
 
const Real_t_old
 
int_t_step
 
Real_dt
 
Real_dt_old
 
bool _is_transient
 
const Parallel::Communicator & _communicator
 
const MooseObject_moose_object
 Associated MOOSE object. More...
 
unsigned int _n_shaft_eq
 Number of equation in the shaft component. More...
 
unsigned int _n_connections
 Number of flow channels the shaft connected component is attached to. More...
 
unsigned int _n_flow_eq
 Number of flow variables in connected flow channels. More...
 
std::vector< dof_id_type_omega_dof
 Degrees of freedom for omega variable (from shaft) More...
 
std::vector< dof_id_type_scalar_dofs
 Degrees of freedom for scalar variables (from junction) More...
 
std::vector< std::vector< dof_id_type > > _flow_channel_dofs
 Degrees of freedom for flow channel variables, for each connection. More...
 
ADReal _torque
 Total torque. More...
 
ADReal _moment_of_inertia
 Moment of inertia. More...
 

Static Protected Attributes

static const std::string _interpolated_old
 
static const std::string _interpolated_older
 

Detailed Description

Computes and caches flux and residual vectors for a 1-phase pump.

This class computes and caches the following quantities:

Definition at line 27 of file ADShaftConnectedPump1PhaseUserObject.h.

Constructor & Destructor Documentation

◆ ADShaftConnectedPump1PhaseUserObject()

ADShaftConnectedPump1PhaseUserObject::ADShaftConnectedPump1PhaseUserObject ( const InputParameters params)

Definition at line 60 of file ADShaftConnectedPump1PhaseUserObject.C.

64 
65  _di_out(getParam<Point>("di_out")),
66  _g(getParam<Real>("gravity_magnitude")),
67  _omega_rated(getParam<Real>("omega_rated")),
68  _volumetric_rated(getParam<Real>("volumetric_rated")),
69  _head_rated(getParam<Real>("head_rated")),
70  _torque_rated(getParam<Real>("torque_rated")),
71  _density_rated(getParam<Real>("density_rated")),
72  _speed_cr_fr(getParam<Real>("speed_cr_fr")),
73  _tau_fr_const(getParam<Real>("tau_fr_const")),
74  _tau_fr_coeff(getParam<std::vector<Real>>("tau_fr_coeff")),
75  _speed_cr_I(getParam<Real>("speed_cr_I")),
76  _inertia_const(getParam<Real>("inertia_const")),
77  _inertia_coeff(getParam<std::vector<Real>>("inertia_coeff")),
78  _head(getFunction("head")),
79  _torque_hydraulic(getFunction("torque_hydraulic")),
80  _pump_name(getParam<std::string>("pump_name")),
81  _omega(adCoupledScalarValue("omega")),
82  _transition_width(getParam<Real>("transition_width")),
84 {
85 }
const Function & _torque_hydraulic
Function to compute data for pump torque.
const Function & getFunction(const std::string &name) const
const Real & _speed_cr_fr
Pump speed threshold for friction.
const ADWeightedTransition _transition_friction
Transition for the sign of the frictional torque when speed is 0.
const Real & _volumetric_rated
Rated pump volumetric flow rate.
ADVolumeJunction1PhaseUserObject(const InputParameters &params)
const std::vector< Real > & _tau_fr_coeff
Pump friction coefficients.
const Real & _tau_fr_const
Pump friction constant.
ADShaftConnectableUserObjectInterface(const MooseObject *moose_object)
const T & getParam(const std::string &name) const
const Real & _inertia_const
Pump inertia constant.
const ADVariableValue & adCoupledScalarValue(const std::string &var_name, unsigned int comp=0) const
const std::vector< Real > & _inertia_coeff
Pump inertia coefficients.
const Real & _transition_width
Transition width for the sign of the frictional torque when speed is 0.
const Real & _speed_cr_I
Pump speed threshold for inertia.
const Function & _head
Function to compute data for pump head.

Member Function Documentation

◆ checkValidConnectionIndex()

void ADFlowJunctionUserObject::checkValidConnectionIndex ( const unsigned int connection_index) const
protectedinherited

Checks that a connection index is valid.

Parameters
[in]connection_indexConnection index

Definition at line 116 of file ADFlowJunctionUserObject.C.

Referenced by ADVolumeJunctionBaseUserObject::getFlux().

117 {
118  if (connection_index >= _n_connections)
119  mooseError(name(),
120  ": The connection index '",
121  connection_index,
122  "' is invalid; the range of valid indices is (0, ",
123  _n_connections - 1,
124  ").");
125 }
const unsigned int _n_connections
Number of connected flow channels.
virtual const std::string & name() const
void mooseError(Args &&... args) const

◆ computeFluxesAndResiduals()

void ADShaftConnectedPump1PhaseUserObject::computeFluxesAndResiduals ( const unsigned int c)
overrideprotectedvirtual

Computes and stores the fluxes, the scalar residuals, and their Jacobians.

Parameters
[in]cConnection index

Reimplemented from ADVolumeJunction1PhaseUserObject.

Definition at line 120 of file ADShaftConnectedPump1PhaseUserObject.C.

Referenced by execute().

121 {
123 
124  // inlet c=0 established in component
125  if (c == 0)
126  {
128 
129  ADReal Q_in = (_rhouA[0] / _rhoA[0]) * _A[0];
130 
131  ADReal nu = Q_in / _volumetric_rated;
132 
133  // Head and torque
134  ADReal x_p = std::atan2(alpha, nu);
135  const auto wt = _torque_hydraulic.value(x_p, ADPoint());
136  const auto wh = _head.value(x_p, ADPoint());
137 
138  const ADReal y = alpha * alpha + nu * nu;
139 
140  const auto zt = wt * _torque_rated;
141 
142  // Real homologous_torque = -(alpha * alpha + nu * nu) * wt * _torque_rated;
143  const ADReal homologous_torque = -y * zt;
144  _hydraulic_torque = homologous_torque * ((_rhoA[0] / _A[0]) / _density_rated);
145 
146  const auto zh = wh * _head_rated;
147 
148  // _pump_head = (alpha * alpha + nu * nu) * wh * _head_rated;
149  _pump_head = y * zh;
150 
151  // MoI
152  if (alpha < _speed_cr_I)
153  {
155  }
156  else
157  {
158  _moment_of_inertia += _inertia_coeff[0] + _inertia_coeff[1] * std::abs(alpha) +
159  _inertia_coeff[2] * alpha * alpha +
160  _inertia_coeff[3] * std::abs(alpha * alpha * alpha);
161  }
162 
163  // friction torque
164  ADReal sign;
166  sign = -1;
167  else if (alpha < _transition_friction.leftEnd())
168  sign = 1;
169  else
171 
172  if (alpha < _speed_cr_fr)
173  {
175  }
176  else
177  {
178  _friction_torque = sign * (_tau_fr_coeff[0] + _tau_fr_coeff[1] * std::abs(alpha) +
179  _tau_fr_coeff[2] * alpha * alpha +
180  _tau_fr_coeff[3] * std::abs(alpha * alpha * alpha));
181  }
182 
183  // compute momentum and energy source terms
184  // a negative torque value results in a positive S_energy
185  const ADReal S_energy = -_hydraulic_torque * _omega[0];
186 
187  // a positive head value results in a positive S_momentum
188  const ADRealVectorValue S_momentum = (_rhoA[0] / _A[0]) * _g * _pump_head * _A_ref * _di_out;
189 
191 
195 
197  }
198 }
const ADVariableValue & _rhoA
rho*A of the connected flow channels
const Function & _torque_hydraulic
Function to compute data for pump torque.
const Real & _speed_cr_fr
Pump speed threshold for friction.
virtual void computeFluxesAndResiduals(const unsigned int &c) override
Computes and stores the fluxes, the scalar residuals, and their Jacobians.
const ADWeightedTransition _transition_friction
Transition for the sign of the frictional torque when speed is 0.
const std::vector< double > y
const ADReal & leftEnd() const
Returns the coordinate of the left end of the transition.
DualNumber< Real, DNDerivativeType, true > ADReal
const Real & _volumetric_rated
Rated pump volumetric flow rate.
std::vector< ADReal > _residual
Cached scalar residual vector.
const std::vector< Real > & _tau_fr_coeff
Pump friction coefficients.
const ADReal & rightEnd() const
Returns the coordinate of the right end of the transition.
const Real & _tau_fr_const
Pump friction constant.
T sign(T x)
virtual ADReal value(const ADReal &x, const ADReal &f1, const ADReal &f2) const override
Computes the transition value.
const Real & _inertia_const
Pump inertia constant.
const ADVariableValue & _A
Cross-sectional area of connected flow channels.
const std::vector< Real > & _inertia_coeff
Pump inertia coefficients.
static const std::string alpha
Definition: NS.h:134
virtual Real value(Real t, const Point &p) const
const ADVariableValue & _rhouA
rho*u*A of the connected flow channels
const Real & _speed_cr_I
Pump speed threshold for inertia.
const Function & _head
Function to compute data for pump head.

◆ coupledJunctionValue()

const ADVariableValue & ADVolumeJunctionBaseUserObject::coupledJunctionValue ( const std::string &  var_name,
unsigned int  i = 0 
) const
protectedinherited

Gets an AD junction variable value.

Definition at line 218 of file ADVolumeJunctionBaseUserObject.C.

Referenced by ADVolumeJunction1PhaseUserObject::ADVolumeJunction1PhaseUserObject().

220 {
221  return _use_scalar_variables ? adCoupledScalarValue(var_name, i) : adCoupledValue(var_name, i);
222 }
const ADVariableValue & adCoupledValue(const std::string &var_name, unsigned int comp=0) const
const bool _use_scalar_variables
True if the junction variables are scalar variables.
const ADVariableValue & adCoupledScalarValue(const std::string &var_name, unsigned int comp=0) const

◆ execute()

void ADShaftConnectedPump1PhaseUserObject::execute ( )
overridevirtual

Reimplemented from ADShaftConnectableUserObjectInterface.

Definition at line 108 of file ADShaftConnectedPump1PhaseUserObject.C.

109 {
113 
114  const unsigned int c = getBoundaryIDIndex();
115 
117 }
std::vector< std::vector< dof_id_type > > _flow_channel_dofs
Degrees of freedom for flow channel variables, for each connection.
virtual void computeFluxesAndResiduals(const unsigned int &c) override
Computes and stores the fluxes, the scalar residuals, and their Jacobians.
unsigned int getBoundaryIDIndex()
Gets the index of the currently executing boundary within the vector of boundary IDs given to this Si...
virtual void storeConnectionData()
Stores data (connection index, face shape functions, DoFs associated with flow channel variables) rel...
virtual void setConnectionData(const std::vector< std::vector< dof_id_type >> &flow_channel_dofs)
Stores data computed by a volume-junction-like object associated with the conection.

◆ finalize()

void ADShaftConnectedPump1PhaseUserObject::finalize ( )
overridevirtual

Reimplemented from ADShaftConnectableUserObjectInterface.

Definition at line 219 of file ADShaftConnectedPump1PhaseUserObject.C.

220 {
223 
227 
230  comm().sum(_pump_head);
231 }
const Parallel::Communicator & comm() const
virtual void setOmegaDofs(const MooseVariableScalar *omega_var)
const MooseVariableScalar * getScalarVar(const std::string &var_name, unsigned int comp) const
virtual void setupJunctionData(std::vector< dof_id_type > &scalar_dofs)
Stores data associated with a junction component.
std::vector< dof_id_type > _scalar_dofs
Degrees of freedom for scalar variables.

◆ getBoundaryIDIndex()

unsigned int ADFlowJunctionUserObject::getBoundaryIDIndex ( )
protectedinherited

Gets the index of the currently executing boundary within the vector of boundary IDs given to this SideUserObject.

Definition at line 56 of file ADFlowJunctionUserObject.C.

Referenced by ADGateValve1PhaseUserObject::execute(), ADJunctionOneToOne1PhaseUserObject::execute(), ADShaftConnectedTurbine1PhaseUserObject::execute(), ADShaftConnectedCompressor1PhaseUserObject::execute(), execute(), ADVolumeJunctionBaseUserObject::execute(), and ADVolumeJunctionBaseUserObject::storeConnectionData().

57 {
58  auto elem_side = std::make_pair(_current_elem, _current_side);
59  auto it = _elem_side_to_bnd_id_index.find(elem_side);
60  if (it == _elem_side_to_bnd_id_index.end())
61  {
62  // Get the boundary IDs associated with this (elem,side). In general, there
63  // may be more than one boundary ID associated with an (elem,side), but
64  // there should be exactly one of these boundary IDs that is seen by this
65  // user object.
66  const std::vector<BoundaryID> elem_side_bnd_ids =
68 
69  // Loop over the boundary IDs for this (elem,side) pair and over the
70  // boundary IDs for this side user object; there should be exactly one match.
71  bool found_matching_boundary_id = false;
72  unsigned int boundary_id_index = 0;
73  for (unsigned int i = 0; i < elem_side_bnd_ids.size(); i++)
74  for (unsigned int j = 0; j < _n_bnd_ids; j++)
75  if (elem_side_bnd_ids[i] == _bnd_ids_vector[j])
76  {
77  if (found_matching_boundary_id)
78  mooseError(name(), ": Multiple matches for boundary ID were found");
79  else
80  {
81  found_matching_boundary_id = true;
82  boundary_id_index = j;
83  }
84  }
85 
86  if (!found_matching_boundary_id)
87  {
88  std::stringstream ss;
89  ss << name() << ": No matching boundary ID was found for (elem,side) = ("
90  << _current_elem->id() << "," << _current_side << ").";
91  mooseError(ss.str());
92  }
93 
94  // Check that this boundary ID index was not already found by an earlier (elem,side)
95  for (auto it_other = _elem_side_to_bnd_id_index.begin();
96  it_other != _elem_side_to_bnd_id_index.end();
97  it_other++)
98  {
99  if (it_other->second == boundary_id_index)
100  mooseError(name(), ": Multiple (elem,side) pairs had the same boundary ID index");
101  }
102 
103  // Store boundary index for future use
104  _elem_side_to_bnd_id_index[elem_side] = boundary_id_index;
105 
106  return boundary_id_index;
107  }
108  else
109  {
110  // get the boundary ID that is already stored in the map
111  return _elem_side_to_bnd_id_index[elem_side];
112  }
113 }
const unsigned int & _current_side
std::map< std::pair< const Elem *, const unsigned short int >, unsigned int > _elem_side_to_bnd_id_index
virtual const std::string & name() const
const std::vector< BoundaryID > _bnd_ids_vector
Vector of boundary IDs for this side user object; note that BoundaryRestrictable stores these same bo...
MooseMesh & _mesh
void mooseError(Args &&... args) const
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
const Elem *const & _current_elem
std::vector< BoundaryID > getBoundaryIDs(const Elem *const elem, const unsigned short int side) const

◆ getFlux()

const std::vector< ADReal > & ADVolumeJunctionBaseUserObject::getFlux ( const unsigned int connection_index) const
overridevirtualinherited

Gets the flux vector for a connection.

Parameters
[in]connection_indexIndex for the connection

Implements ADFlowJunctionUserObject.

Definition at line 189 of file ADVolumeJunctionBaseUserObject.C.

Referenced by ADVolumeJunction1PhaseBC::computeQpResidual().

190 {
191  Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
192 
193  checkValidConnectionIndex(connection_index);
194  return _flux[connection_index];
195 }
std::vector< std::vector< ADReal > > _flux
Cached flux vector for each connection.
void checkValidConnectionIndex(const unsigned int &connection_index) const
Checks that a connection index is valid.

◆ getFrictionTorque()

ADReal ADShaftConnectedPump1PhaseUserObject::getFrictionTorque ( ) const

Friction torque computed in the 1-phase shaft-connected pump.

Definition at line 207 of file ADShaftConnectedPump1PhaseUserObject.C.

Referenced by ShaftConnectedPump1PhaseAux::computeValue().

208 {
209  return _friction_torque;
210 }

◆ getHydraulicTorque()

ADReal ADShaftConnectedPump1PhaseUserObject::getHydraulicTorque ( ) const

Hydraulic torque computed in the 1-phase shaft-connected pump.

Definition at line 201 of file ADShaftConnectedPump1PhaseUserObject.C.

Referenced by ShaftConnectedPump1PhaseAux::computeValue().

202 {
203  return _hydraulic_torque;
204 }

◆ getJunctionVar()

const MooseVariableBase * ADVolumeJunctionBaseUserObject::getJunctionVar ( const std::string &  var_name,
unsigned int  i = 0 
) const
protectedinherited

Gets a junction variable.

Definition at line 207 of file ADVolumeJunctionBaseUserObject.C.

Referenced by ADVolumeJunctionBaseUserObject::getJunctionVariables().

208 {
209  const MooseVariableBase * var;
211  var = getScalarVar(var_name, i);
212  else
213  var = getVar(var_name, i);
214  return var;
215 }
MooseVariable * getVar(const std::string &var_name, unsigned int comp)
const MooseVariableScalar * getScalarVar(const std::string &var_name, unsigned int comp) const
const bool _use_scalar_variables
True if the junction variables are scalar variables.

◆ getJunctionVariables()

std::vector< const MooseVariableBase * > ADVolumeJunctionBaseUserObject::getJunctionVariables ( ) const
protectedvirtualinherited

Gets the junction variables.

Definition at line 198 of file ADVolumeJunctionBaseUserObject.C.

Referenced by ADVolumeJunctionBaseUserObject::initialize().

199 {
200  std::vector<const MooseVariableBase *> vars(_scalar_variable_names.size());
201  for (unsigned int i = 0; i < _scalar_variable_names.size(); i++)
202  vars[i] = getJunctionVar(_scalar_variable_names[i], 0);
203  return vars;
204 }
std::vector< std::string > _scalar_variable_names
Vector of coupled variable names for each scalar variable.
char ** vars
const MooseVariableBase * getJunctionVar(const std::string &var_name, unsigned int i=0) const
Gets a junction variable.

◆ getMomentOfInertia()

ADReal ADShaftConnectableUserObjectInterface::getMomentOfInertia ( ) const
virtualinherited

◆ getNumberOfConnections()

unsigned int ADFlowJunctionUserObject::getNumberOfConnections ( ) const
inlineinherited

Gets the number of connected flow channels.

Definition at line 34 of file ADFlowJunctionUserObject.h.

34 { return _n_connections; }
const unsigned int _n_connections
Number of connected flow channels.

◆ getPumpHead()

ADReal ADShaftConnectedPump1PhaseUserObject::getPumpHead ( ) const

Pump head computed in the 1-phase shaft-connected pump.

Definition at line 213 of file ADShaftConnectedPump1PhaseUserObject.C.

Referenced by ShaftConnectedPump1PhaseAux::computeValue().

214 {
215  return _pump_head;
216 }

◆ getResidual()

const std::vector< ADReal > & ADVolumeJunctionBaseUserObject::getResidual ( ) const
inherited

Returns the residual vector for the scalar variables.

Definition at line 181 of file ADVolumeJunctionBaseUserObject.C.

182 {
183  Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
184 
185  return _residual;
186 }
std::vector< ADReal > _residual
Cached scalar residual vector.

◆ getTorque()

ADReal ADShaftConnectableUserObjectInterface::getTorque ( ) const
virtualinherited

◆ initialize()

void ADShaftConnectedPump1PhaseUserObject::initialize ( )
overridevirtual

◆ initialSetup()

void ADShaftConnectedPump1PhaseUserObject::initialSetup ( )
overridevirtual

Reimplemented from ADVolumeJunctionBaseUserObject.

Definition at line 88 of file ADShaftConnectedPump1PhaseUserObject.C.

89 {
91 
94 }
unsigned int _n_flux_eq
Number of flow channel flux components.
const unsigned int _n_connections
Number of connected flow channels.
virtual void setupConnections(unsigned int n_connections, unsigned int n_flow_eq)

◆ setConnectionData()

void ADShaftConnectableUserObjectInterface::setConnectionData ( const std::vector< std::vector< dof_id_type >> &  flow_channel_dofs)
protectedvirtualinherited

Stores data computed by a volume-junction-like object associated with the conection.

Definition at line 65 of file ADShaftConnectableUserObjectInterface.C.

Referenced by ADShaftConnectedCompressor1PhaseUserObject::execute(), ADShaftConnectedTurbine1PhaseUserObject::execute(), and execute().

67 {
68  _flow_channel_dofs = flow_channel_dofs;
69 }
std::vector< std::vector< dof_id_type > > _flow_channel_dofs
Degrees of freedom for flow channel variables, for each connection.

◆ setOmegaDofs()

void ADShaftConnectableUserObjectInterface::setOmegaDofs ( const MooseVariableScalar omega_var)
protectedvirtualinherited

Definition at line 72 of file ADShaftConnectableUserObjectInterface.C.

Referenced by finalize(), ADShaftConnectedTurbine1PhaseUserObject::finalize(), and ADShaftConnectedCompressor1PhaseUserObject::finalize().

73 {
74  auto && dofs = omega_var->dofIndices();
75  mooseAssert(dofs.size() == 1,
76  "There should be exactly 1 coupled DoF index for the variable '" + omega_var->name() +
77  "'.");
78  _omega_dof = dofs;
79 }
const std::string & name() const override
virtual const std::vector< dof_id_type > & dofIndices() const
std::vector< dof_id_type > _omega_dof
Degrees of freedom for omega variable (from shaft)

◆ setupConnections()

void ADShaftConnectableUserObjectInterface::setupConnections ( unsigned int  n_connections,
unsigned int  n_flow_eq 
)
protectedvirtualinherited

Definition at line 57 of file ADShaftConnectableUserObjectInterface.C.

Referenced by ADShaftConnectedCompressor1PhaseUserObject::initialSetup(), ADShaftConnectedTurbine1PhaseUserObject::initialSetup(), and initialSetup().

59 {
60  _n_connections = n_connections;
61  _n_flow_eq = n_flow_eq;
62 }
unsigned int _n_connections
Number of flow channels the shaft connected component is attached to.
unsigned int _n_flow_eq
Number of flow variables in connected flow channels.

◆ setupJunctionData()

void ADShaftConnectableUserObjectInterface::setupJunctionData ( std::vector< dof_id_type > &  scalar_dofs)
protectedvirtualinherited

Stores data associated with a junction component.

Definition at line 82 of file ADShaftConnectableUserObjectInterface.C.

Referenced by finalize(), ADShaftConnectedTurbine1PhaseUserObject::finalize(), and ADShaftConnectedCompressor1PhaseUserObject::finalize().

83 {
84  _scalar_dofs = scalar_dofs;
85 }
std::vector< dof_id_type > _scalar_dofs
Degrees of freedom for scalar variables (from junction)

◆ storeConnectionData()

void ADVolumeJunctionBaseUserObject::storeConnectionData ( )
protectedvirtualinherited

Stores data (connection index, face shape functions, DoFs associated with flow channel variables) related to a connection.

Should be called in execute()

Definition at line 134 of file ADVolumeJunctionBaseUserObject.C.

Referenced by ADShaftConnectedCompressor1PhaseUserObject::execute(), ADShaftConnectedTurbine1PhaseUserObject::execute(), execute(), and ADVolumeJunctionBaseUserObject::execute().

135 {
136  // Get the connection index
137  const unsigned int c = getBoundaryIDIndex();
138  _connection_indices.push_back(c);
139 
140  // Get flow channel Dofs and basic function values
141  _flow_channel_dofs[c].clear();
142  for (unsigned int j = 0; j < _n_flux_eq; j++)
143  {
145 
146  auto && dofs = var->dofIndices();
147  for (unsigned int k = 0; k < dofs.size(); k++)
148  _flow_channel_dofs[c].push_back(dofs[k]);
149  }
150 }
std::vector< std::vector< dof_id_type > > _flow_channel_dofs
Degrees of freedom for flow channel variables, for each connection.
unsigned int getBoundaryIDIndex()
Gets the index of the currently executing boundary within the vector of boundary IDs given to this Si...
unsigned int _n_flux_eq
Number of flow channel flux components.
MooseVariable * getVar(const std::string &var_name, unsigned int comp)
std::vector< unsigned int > _connection_indices
Connection indices for this thread.
std::vector< std::string > _flow_variable_names
Vector of coupled variable names for each flow variable.
const std::vector< dof_id_type > & dofIndices() const final
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
static const std::string k
Definition: NS.h:130

◆ threadJoin()

void ADShaftConnectedPump1PhaseUserObject::threadJoin ( const UserObject uo)
overridevirtual

Reimplemented from ADShaftConnectableUserObjectInterface.

Definition at line 234 of file ADShaftConnectedPump1PhaseUserObject.C.

235 {
238 
239  const auto & scpuo = static_cast<const ADShaftConnectedPump1PhaseUserObject &>(uo);
240  _hydraulic_torque += scpuo._hydraulic_torque;
241  _friction_torque += scpuo._friction_torque;
242  _pump_head += scpuo._pump_head;
243 }
Computes and caches flux and residual vectors for a 1-phase pump.
virtual void threadJoin(const UserObject &uo) override

◆ validParams()

InputParameters ADShaftConnectedPump1PhaseUserObject::validParams ( )
static

Definition at line 23 of file ADShaftConnectedPump1PhaseUserObject.C.

24 {
27 
28  params.addParam<BoundaryName>("inlet", "Pump inlet");
29  params.addParam<BoundaryName>("outlet", "Pump outlet");
30  params.addRequiredParam<Point>("di_out", "Direction of connected outlet");
31  params.addRequiredParam<Real>("gravity_magnitude", "Gravity constant, [m/s^2]");
32  params.addRequiredParam<Real>("omega_rated", "Rated pump speed [rad/s]");
33  params.addRequiredParam<Real>("volumetric_rated", "Rated pump volumetric flow rate [m^3/s]");
34  params.addRequiredParam<Real>("head_rated", "Rated pump head [m]");
35  params.addRequiredParam<Real>("torque_rated", "Rated pump torque [N-m]");
36  params.addRequiredParam<Real>("density_rated", "Rated pump fluid density [kg/m^3]");
37  params.addRequiredParam<Real>("speed_cr_fr", "Pump speed threshold for friction [-]");
38  params.addRequiredParam<Real>("tau_fr_const", "Pump friction constant [N-m]");
39  params.addRequiredParam<std::vector<Real>>("tau_fr_coeff", "Friction coefficients [N-m]");
40  params.addRequiredParam<Real>("speed_cr_I", "Pump speed threshold for inertia [-]");
41  params.addRequiredParam<Real>("inertia_const", "Pump inertia constant [kg-m^2]");
42  params.addRequiredParam<std::vector<Real>>("inertia_coeff", "Pump inertia coefficients [kg-m^2]");
43  params.addRequiredParam<FunctionName>("head", "Function to compute data for pump head [-]");
44  params.addRequiredParam<FunctionName>("torque_hydraulic",
45  "Function to compute data for pump torque [-]");
46  params.addRequiredParam<std::string>("pump_name", "Name of the instance of this pump component");
47  params.addParam<Real>(
48  "transition_width",
49  1e-3,
50  "Transition width for sign of the frictional torque at 0 speed over rated speed ratio.");
51  params.addRequiredCoupledVar("omega", "Shaft rotational speed [rad/s]");
52 
53  params.addClassDescription(
54  "Computes and caches flux and residual vectors for a 1-phase pump. Also computes pump torque "
55  "and head which is passed to the connected shaft");
56 
57  return params;
58 }
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)

Member Data Documentation

◆ _A

const ADVariableValue& ADVolumeJunction1PhaseUserObject::_A
protectedinherited

◆ _A_ref

const Real& ADVolumeJunction1PhaseUserObject::_A_ref
protectedinherited

◆ _apply_velocity_scaling

const bool ADVolumeJunction1PhaseUserObject::_apply_velocity_scaling
protectedinherited

Apply velocity scaling?

Definition at line 49 of file ADVolumeJunction1PhaseUserObject.h.

Referenced by ADVolumeJunction1PhaseUserObject::computeFluxesAndResiduals().

◆ _bnd_ids_vector

const std::vector<BoundaryID> ADFlowJunctionUserObject::_bnd_ids_vector
protectedinherited

Vector of boundary IDs for this side user object; note that BoundaryRestrictable stores these same boundary IDs in _bnd_ids, but they are stored privately and in a set instead of a vector, so ordering is not preserved.

Definition at line 55 of file ADFlowJunctionUserObject.h.

Referenced by ADFlowJunctionUserObject::getBoundaryIDIndex().

◆ _cached_junction_var_values

std::vector<ADReal> ADVolumeJunctionBaseUserObject::_cached_junction_var_values
protectedinherited

◆ _connection_indices

std::vector<unsigned int> ADVolumeJunctionBaseUserObject::_connection_indices
protectedinherited

Connection indices for this thread.

Definition at line 105 of file ADVolumeJunctionBaseUserObject.h.

Referenced by ADVolumeJunctionBaseUserObject::initialize(), and ADVolumeJunctionBaseUserObject::storeConnectionData().

◆ _density_rated

const Real& ADShaftConnectedPump1PhaseUserObject::_density_rated
protected

Rated pump density.

Definition at line 63 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _di_out

Point ADShaftConnectedPump1PhaseUserObject::_di_out
protected

Direction of the pump outlet.

Definition at line 51 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _dir

const MaterialProperty<RealVectorValue>& ADFlowJunctionUserObject::_dir
protectedinherited

◆ _elem_side_to_bnd_id_index

std::map<std::pair<const Elem *, const unsigned short int>, unsigned int> ADFlowJunctionUserObject::_elem_side_to_bnd_id_index
protectedinherited

◆ _flow_channel_dofs [1/2]

std::vector<std::vector<dof_id_type> > ADShaftConnectableUserObjectInterface::_flow_channel_dofs
protectedinherited

Degrees of freedom for flow channel variables, for each connection.

Definition at line 61 of file ADShaftConnectableUserObjectInterface.h.

Referenced by ADShaftConnectableUserObjectInterface::setConnectionData().

◆ _flow_channel_dofs [2/2]

std::vector<std::vector<dof_id_type> > ADVolumeJunctionBaseUserObject::_flow_channel_dofs
protectedinherited

◆ _flow_variable_names

std::vector<std::string> ADVolumeJunctionBaseUserObject::_flow_variable_names
protectedinherited

◆ _flux

std::vector<std::vector<ADReal> > ADVolumeJunctionBaseUserObject::_flux
protectedinherited

◆ _fp

const SinglePhaseFluidProperties& ADVolumeJunction1PhaseUserObject::_fp
protectedinherited

◆ _friction_torque

ADReal ADShaftConnectedPump1PhaseUserObject::_friction_torque
protected

Pump friction torque.

Definition at line 92 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals(), finalize(), getFrictionTorque(), initialize(), and threadJoin().

◆ _g

const Real& ADShaftConnectedPump1PhaseUserObject::_g
protected

Gravity constant.

Definition at line 53 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _head

const Function& ADShaftConnectedPump1PhaseUserObject::_head
protected

Function to compute data for pump head.

Definition at line 77 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _head_rated

const Real& ADShaftConnectedPump1PhaseUserObject::_head_rated
protected

Rated pump head.

Definition at line 59 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _hydraulic_torque

ADReal ADShaftConnectedPump1PhaseUserObject::_hydraulic_torque
protected

Pump hydraulic torque.

Definition at line 90 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals(), finalize(), getHydraulicTorque(), initialize(), and threadJoin().

◆ _inertia_coeff

const std::vector<Real>& ADShaftConnectedPump1PhaseUserObject::_inertia_coeff
protected

Pump inertia coefficients.

Definition at line 75 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _inertia_const

const Real& ADShaftConnectedPump1PhaseUserObject::_inertia_const
protected

Pump inertia constant.

Definition at line 73 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _junction_subdomain_id

const subdomain_id_type ADVolumeJunctionBaseUserObject::_junction_subdomain_id
protectedinherited

Junction subdomain ID.

Definition at line 83 of file ADVolumeJunctionBaseUserObject.h.

Referenced by ADVolumeJunctionBaseUserObject::initialize().

◆ _junction_var_values

std::vector<const ADVariableValue *> ADVolumeJunctionBaseUserObject::_junction_var_values
protectedinherited

◆ _K

const Real& ADVolumeJunction1PhaseUserObject::_K
protectedinherited

Form loss coefficient.

Definition at line 44 of file ADVolumeJunction1PhaseUserObject.h.

Referenced by ADVolumeJunction1PhaseUserObject::computeFluxesAndResiduals().

◆ _moment_of_inertia

ADReal ADShaftConnectableUserObjectInterface::_moment_of_inertia
protectedinherited

◆ _moose_object

const MooseObject* ADShaftConnectableUserObjectInterface::_moose_object
protectedinherited

Associated MOOSE object.

Definition at line 48 of file ADShaftConnectableUserObjectInterface.h.

Referenced by ADShaftConnectableUserObjectInterface::finalize().

◆ _n_bnd_ids

const unsigned int ADFlowJunctionUserObject::_n_bnd_ids
protectedinherited

◆ _n_connections [1/2]

unsigned int ADShaftConnectableUserObjectInterface::_n_connections
protectedinherited

Number of flow channels the shaft connected component is attached to.

Definition at line 52 of file ADShaftConnectableUserObjectInterface.h.

Referenced by ADShaftConnectableUserObjectInterface::setupConnections().

◆ _n_connections [2/2]

const unsigned int ADFlowJunctionUserObject::_n_connections
protectedinherited

◆ _n_flow_eq

unsigned int ADShaftConnectableUserObjectInterface::_n_flow_eq
protectedinherited

Number of flow variables in connected flow channels.

Definition at line 54 of file ADShaftConnectableUserObjectInterface.h.

Referenced by ADShaftConnectableUserObjectInterface::setupConnections().

◆ _n_flux_eq

unsigned int ADVolumeJunctionBaseUserObject::_n_flux_eq
protectedinherited

◆ _n_scalar_eq

unsigned int ADVolumeJunctionBaseUserObject::_n_scalar_eq
protectedinherited

◆ _n_shaft_eq

unsigned int ADShaftConnectableUserObjectInterface::_n_shaft_eq
protectedinherited

Number of equation in the shaft component.

Definition at line 50 of file ADShaftConnectableUserObjectInterface.h.

Referenced by ADShaftConnectableUserObjectInterface::ADShaftConnectableUserObjectInterface().

◆ _normal

const std::vector<Real>& ADFlowJunctionUserObject::_normal
protectedinherited

◆ _numerical_flux_names

const std::vector<UserObjectName>& ADVolumeJunctionBaseUserObject::_numerical_flux_names
protectedinherited

Names of numerical flux user objects for each connected flow channel.

Definition at line 102 of file ADVolumeJunctionBaseUserObject.h.

Referenced by ADVolumeJunction1PhaseUserObject::ADVolumeJunction1PhaseUserObject(), and ADVolumeJunctionBaseUserObject::ADVolumeJunctionBaseUserObject().

◆ _numerical_flux_uo

std::vector<const ADNumericalFlux3EqnBase *> ADVolumeJunction1PhaseUserObject::_numerical_flux_uo
protectedinherited

Vector of numerical flux user objects for each connected flow channel.

Definition at line 55 of file ADVolumeJunction1PhaseUserObject.h.

Referenced by ADVolumeJunction1PhaseUserObject::ADVolumeJunction1PhaseUserObject(), and ADVolumeJunction1PhaseUserObject::computeFluxesAndResiduals().

◆ _omega

const ADVariableValue& ADShaftConnectedPump1PhaseUserObject::_omega
protected

Shaft speed.

Definition at line 83 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _omega_dof

std::vector<dof_id_type> ADShaftConnectableUserObjectInterface::_omega_dof
protectedinherited

◆ _omega_rated

const Real& ADShaftConnectedPump1PhaseUserObject::_omega_rated
protected

Rated pump speed.

Definition at line 55 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _processor_ids

std::vector<unsigned int> ADFlowJunctionUserObject::_processor_ids
protectedinherited

◆ _pump_head

ADReal ADShaftConnectedPump1PhaseUserObject::_pump_head
protected

◆ _pump_name

const std::string& ADShaftConnectedPump1PhaseUserObject::_pump_name
protected

Pump name.

Definition at line 81 of file ADShaftConnectedPump1PhaseUserObject.h.

◆ _residual

std::vector<ADReal> ADVolumeJunctionBaseUserObject::_residual
protectedinherited

◆ _residual_jacobian_omega_var

std::vector<DenseMatrix<Real> > ADShaftConnectedPump1PhaseUserObject::_residual_jacobian_omega_var
protected

Jacobian entries of junction variables wrt shaft variables.

Definition at line 97 of file ADShaftConnectedPump1PhaseUserObject.h.

◆ _rhoA

const ADVariableValue& ADVolumeJunction1PhaseUserObject::_rhoA
protectedinherited

◆ _rhoEA

const ADVariableValue& ADVolumeJunction1PhaseUserObject::_rhoEA
protectedinherited

◆ _rhouA

const ADVariableValue& ADVolumeJunction1PhaseUserObject::_rhouA
protectedinherited

◆ _scalar_dofs [1/2]

std::vector<dof_id_type> ADShaftConnectableUserObjectInterface::_scalar_dofs
protectedinherited

Degrees of freedom for scalar variables (from junction)

Definition at line 59 of file ADShaftConnectableUserObjectInterface.h.

Referenced by ADShaftConnectableUserObjectInterface::setupJunctionData().

◆ _scalar_dofs [2/2]

std::vector<dof_id_type> ADVolumeJunctionBaseUserObject::_scalar_dofs
protectedinherited

◆ _scalar_variable_names

std::vector<std::string> ADVolumeJunctionBaseUserObject::_scalar_variable_names
protectedinherited

◆ _speed_cr_fr

const Real& ADShaftConnectedPump1PhaseUserObject::_speed_cr_fr
protected

Pump speed threshold for friction.

Definition at line 65 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _speed_cr_I

const Real& ADShaftConnectedPump1PhaseUserObject::_speed_cr_I
protected

Pump speed threshold for inertia.

Definition at line 71 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _tau_fr_coeff

const std::vector<Real>& ADShaftConnectedPump1PhaseUserObject::_tau_fr_coeff
protected

Pump friction coefficients.

Definition at line 69 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _tau_fr_const

const Real& ADShaftConnectedPump1PhaseUserObject::_tau_fr_const
protected

Pump friction constant.

Definition at line 67 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _torque

ADReal ADShaftConnectableUserObjectInterface::_torque
protectedinherited

◆ _torque_hydraulic

const Function& ADShaftConnectedPump1PhaseUserObject::_torque_hydraulic
protected

Function to compute data for pump torque.

Definition at line 79 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _torque_rated

const Real& ADShaftConnectedPump1PhaseUserObject::_torque_rated
protected

Rated pump torque.

Definition at line 61 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _transition_friction

const ADWeightedTransition ADShaftConnectedPump1PhaseUserObject::_transition_friction
protected

Transition for the sign of the frictional torque when speed is 0.

Definition at line 87 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().

◆ _transition_width

const Real& ADShaftConnectedPump1PhaseUserObject::_transition_width
protected

Transition width for the sign of the frictional torque when speed is 0.

Definition at line 85 of file ADShaftConnectedPump1PhaseUserObject.h.

◆ _use_scalar_variables

const bool ADVolumeJunctionBaseUserObject::_use_scalar_variables
protectedinherited

◆ _volume

const Real& ADVolumeJunctionBaseUserObject::_volume
protectedinherited

◆ _volumetric_rated

const Real& ADShaftConnectedPump1PhaseUserObject::_volumetric_rated
protected

Rated pump volumetric flow rate.

Definition at line 57 of file ADShaftConnectedPump1PhaseUserObject.h.

Referenced by computeFluxesAndResiduals().


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