Adds the components and controls for a production well. More...
#include <ProductionWell.h>
Public Types | |
| typedef DataFileName | DataFileParameterType |
Public Member Functions | |
| ProductionWell (const InputParameters ¶ms) | |
| virtual void | act () override final |
| const std::vector< MeshGeneratorName > & | meshGeneratorNames () const |
| MeshGeneratorName | getCurrentTopLevelMeshGeneratorName () const |
| void | setCurrentTopLevelMeshGeneratorName (const MeshGeneratorName &mg_name) |
| const std::vector< SubdomainName > & | blocks () const |
| virtual const std::vector< BoundaryName > & | outerSurfaceBoundaries () const |
| virtual Real | volume () const |
| virtual Real | outerSurfaceArea () const |
| unsigned int | dimension () const |
| void | addConnectedComponent (ActionComponent &component) |
| const std::set< ActionComponent *> & | getConnectedComponents () const |
| void | timedAct () |
| virtual void | addRelationshipManagers (Moose::RelationshipManagerType when_type) |
| MooseObjectName | uniqueActionName () const |
| const std::string & | specificTaskName () const |
| const std::set< std::string > & | getAllTasks () const |
| void | appendTask (const std::string &task) |
| MooseApp & | getMooseApp () const |
| const std::string & | type () const |
| const std::string & | name () const |
| std::string | typeAndName () const |
| MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
| MooseObjectName | uniqueName () const |
| const InputParameters & | parameters () const |
| const hit::Node * | getHitNode () const |
| bool | hasBase () const |
| const std::string & | getBase () const |
| const T & | getParam (const std::string &name) const |
| std::vector< std::pair< T1, T2 > > | getParam (const std::string ¶m1, const std::string ¶m2) const |
| const T * | queryParam (const std::string &name) const |
| const T & | getRenamedParam (const std::string &old_name, const std::string &new_name) const |
| T | getCheckedPointerParam (const std::string &name, const std::string &error_string="") const |
| bool | haveParameter (const std::string &name) const |
| bool | isParamValid (const std::string &name) const |
| bool | isParamSetByUser (const std::string &name) const |
| void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
| void | paramError (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramInfo (const std::string ¶m, Args... args) const |
| std::string | messagePrefix (const bool hit_prefix=true) const |
| std::string | errorPrefix (const std::string &) const |
| void | mooseError (Args &&... args) const |
| void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
| void | mooseErrorNonPrefixed (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | mooseDeprecatedNoTrace (Args &&... args) const |
| void | mooseInfo (Args &&... args) const |
| void | callMooseError (std::string msg, const bool with_prefix, const hit::Node *node=nullptr, const bool show_trace=true) const |
| std::string | getDataFileName (const std::string ¶m) const |
| std::string | getDataFileNameByName (const std::string &relative_path) const |
| std::string | getDataFilePath (const std::string &relative_path) const |
| PerfGraph & | perfGraph () |
| void | assertParamDefined (const std::string &libmesh_dbg_var(param)) const |
| const Parallel::Communicator & | comm () const |
| processor_id_type | n_processors () const |
| processor_id_type | processor_id () const |
Static Public Member Functions | |
| static InputParameters | validParams () |
| static void | callMooseError (MooseApp *const app, const InputParameters ¶ms, std::string msg, const bool with_prefix, const hit::Node *node, const bool show_trace=true) |
Public Attributes | |
| usingCombinedWarningSolutionWarnings | |
| const ConsoleStream | _console |
Static Public Attributes | |
| static const std::string | unique_action_name_param |
| static const std::string | type_param |
| static const std::string | name_param |
| static const std::string | unique_name_param |
| static const std::string | app_param |
| static const std::string | moose_base_param |
| static const std::string | kokkos_object_param |
| static constexpr auto | SYSTEM |
| static constexpr auto | NAME |
Protected Member Functions | |
| virtual void | addTHMComponents () override |
| virtual void | addControlLogic () override |
| void | addOutlet () |
| Adds outlet component. More... | |
| std::string | outletName () const |
| Outlet component name. More... | |
| virtual void | addClosures () override |
| void | addWellBaseComponents (bool is_production) |
| Adds the components common to both injection and production. More... | |
| void | addFlowChannel (unsigned int i, bool is_production) |
| Adds a flow channel. More... | |
| void | addWall (bool is_production) |
| Adds a wall at the end of a well. More... | |
| void | addJunction (unsigned int i, bool is_production) |
| Adds a junction. More... | |
| void | addJunctionFlux (unsigned int i) |
| Adds a junction coupling. More... | |
| std::string | flowChannelName (unsigned int i) const |
| Name of a flow channel. More... | |
| std::string | volumeJunctionName (unsigned int i) const |
| Name of a volume junction. More... | |
| virtual void | actOnAdditionalTasks () override |
| void | addTHMComponent (const std::string &class_name, const std::string &obj_name, InputParameters ¶ms) |
| Adds a THM component. More... | |
| void | addClosuresObject (const std::string &class_name, const std::string &obj_name, InputParameters ¶ms) |
| Adds a Closures object. More... | |
| void | addControlLogicObject (const std::string &class_name, const std::string &obj_name, InputParameters ¶ms) |
| Adds a ControlLogic object. More... | |
| THMProblem & | getTHMProblem () |
| Gets the THM problem. More... | |
| bool | addRelationshipManagers (Moose::RelationshipManagerType when_type, const InputParameters &moose_object_pars) |
| void | assertParamDefined (const std::string ¶m) const |
| virtual void | addMeshGenerators () |
| virtual void | addPositionsObject () |
| virtual void | addUserObjects () |
| virtual void | setupComponent () |
| virtual void | addSolverVariables () |
| virtual void | addPhysics () |
| virtual void | addMaterials () |
| virtual void | checkIntegrity () |
| void | addRequiredTask (const std::string &task) |
| void | checkRequiredTasks () const |
| FEProblemBase & | getProblem () |
| Factory & | getFactory () const |
| void | associateWithParameter (const std::string ¶m_name, InputParameters ¶ms) const |
| void | associateWithParameter (const InputParameters &from_params, const std::string ¶m_name, InputParameters ¶ms) const |
| const T & | getMeshProperty (const std::string &data_name, const std::string &prefix) |
| const T & | getMeshProperty (const std::string &data_name) |
| bool | hasMeshProperty (const std::string &data_name, const std::string &prefix) const |
| bool | hasMeshProperty (const std::string &data_name, const std::string &prefix) const |
| bool | hasMeshProperty (const std::string &data_name) const |
| bool | hasMeshProperty (const std::string &data_name) const |
| std::string | meshPropertyName (const std::string &data_name) const |
| PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level) const |
| PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const |
| std::string | timedSectionName (const std::string §ion_name) const |
| void | flagInvalidSolutionInternal (const InvalidSolutionID invalid_solution_id) const |
| InvalidSolutionID | registerInvalidSolutionInternal (const std::string &message, const bool warning) const |
| void | checkParamsBothSetOrNotSet (const std::string ¶m1, const std::string ¶m2) const |
| void | checkSecondParamSetOnlyIfFirstOneTrue (const std::string ¶m1, const std::string ¶m2) const |
| void | checkSecondParamSetOnlyIfFirstOneSet (const std::string ¶m1, const std::string ¶m2) const |
| void | checkSecondParamNotSetIfFirstOneSet (const std::string ¶m1, const std::string ¶m2) const |
| void | checkVectorParamsSameLength (const std::string ¶m1, const std::string ¶m2) const |
| void | checkVectorParamAndMultiMooseEnumLength (const std::string ¶m1, const std::string ¶m2) const |
| void | checkTwoDVectorParamsSameLength (const std::string ¶m1, const std::string ¶m2) const |
| void | checkVectorParamsNoOverlap (const std::vector< std::string > ¶m_vecs) const |
| void | checkTwoDVectorParamsNoRespectiveOverlap (const std::vector< std::string > ¶m_vecs) const |
| void | checkTwoDVectorParamInnerSameLengthAsOneDVector (const std::string ¶m1, const std::string ¶m2) const |
| void | checkTwoDVectorParamMultiMooseEnumSameLength (const std::string ¶m1, const std::string ¶m2, const bool error_for_param2) const |
| void | checkVectorParamNotEmpty (const std::string ¶m1) const |
| void | checkVectorParamsSameLengthIfSet (const std::string ¶m1, const std::string ¶m2, const bool ignore_empty_default_param2=false) const |
| void | checkVectorParamLengthSameAsCombinedOthers (const std::string ¶m1, const std::string ¶m2, const std::string ¶m3) const |
| void | checkBlockwiseConsistency (const std::string &block_param_name, const std::vector< std::string > ¶meter_names) const |
| bool | parameterConsistent (const InputParameters &other_param, const std::string ¶m_name) const |
| void | warnInconsistent (const InputParameters ¶meters, const std::string ¶m_name) const |
| void | errorDependentParameter (const std::string ¶m1, const std::string &value_not_set, const std::vector< std::string > &dependent_params) const |
| void | errorInconsistentDependentParameter (const std::string ¶m1, const std::string &value_set, const std::vector< std::string > &dependent_params) const |
Static Protected Member Functions | |
| static std::string | meshPropertyName (const std::string &data_name, const std::string &prefix) |
Protected Attributes | |
| const Point & | _surface_point |
| Surface point. More... | |
| const std::vector< Point > & | _junction_points |
| Junction points. More... | |
| const std::vector< unsigned int > & | _section_n_elems |
| Number of elements in each flow channel. More... | |
| const unsigned int | _n_sections |
| Number of flow channels. More... | |
| const std::vector< Real > & | _junction_coupling_areas |
| Coupled flow area of each junction. More... | |
| const std::string | _closures_name |
| Closures name. More... | |
| std::vector< Point > | _all_points |
| Surface point, junction points, and optional end point. More... | |
| unsigned int | _dimension |
| std::vector< MeshGeneratorName > | _mg_names |
| MeshGeneratorName | _top_mg_name |
| std::vector< SubdomainName > | _blocks |
| std::vector< BoundaryName > | _outer_boundaries |
| const bool | _verbose |
| std::set< std::string > | _required_tasks |
| std::shared_ptr< std::set< ActionComponent *> > | _connected_components |
| std::string | _registered_identifier |
| std::string | _specific_task_name |
| std::set< std::string > | _all_tasks |
| ActionWarehouse & | _awh |
| const std::string & | _current_task |
| std::shared_ptr< MooseMesh > & | _mesh |
| std::shared_ptr< MooseMesh > & | _displaced_mesh |
| std::shared_ptr< FEProblemBase > & | _problem |
| PerfID | _act_timer |
| MooseApp & | _app |
| Factory & | _factory |
| ActionFactory & | _action_factory |
| const std::string & | _type |
| const std::string & | _name |
| const InputParameters & | _pars |
| MooseApp & | _pg_moose_app |
| const std::string | _prefix |
| const Parallel::Communicator & | _communicator |
Adds the components and controls for a production well.
Definition at line 17 of file ProductionWell.h.
| ProductionWell::ProductionWell | ( | const InputParameters & | params | ) |
Definition at line 27 of file ProductionWell.C.
|
overrideprotectedvirtualinherited |
Reimplemented from ActionComponent.
Definition at line 23 of file THMActionComponent.C.
|
overrideprotectedvirtualinherited |
Reimplemented from THMActionComponent.
Definition at line 65 of file WellBase.C.
|
protectedinherited |
Adds a Closures object.
Definition at line 55 of file THMActionComponent.C.
Referenced by WellBase::addClosures().
|
overrideprotectedvirtual |
Reimplemented from THMActionComponent.
Definition at line 37 of file ProductionWell.C.
|
protectedinherited |
Adds a ControlLogic object.
Definition at line 66 of file THMActionComponent.C.
Referenced by InjectionWell::addControlLogic(), and addControlLogic().
Adds a flow channel.
Definition at line 90 of file WellBase.C.
Referenced by WellBase::addWellBaseComponents().
Adds a junction.
Definition at line 140 of file WellBase.C.
Referenced by WellBase::addWellBaseComponents().
Adds a junction coupling.
Definition at line 164 of file WellBase.C.
Referenced by WellBase::addWellBaseComponents().
|
protected |
Adds outlet component.
Definition at line 58 of file ProductionWell.C.
Referenced by addTHMComponents().
|
protectedinherited |
Adds a THM component.
Definition at line 45 of file THMActionComponent.C.
Referenced by WellBase::addFlowChannel(), InjectionWell::addInlet(), WellBase::addJunction(), WellBase::addJunctionFlux(), addOutlet(), and WellBase::addWall().
|
overrideprotectedvirtual |
Reimplemented from THMActionComponent.
Definition at line 30 of file ProductionWell.C.
|
protectedinherited |
Adds a wall at the end of a well.
Definition at line 129 of file WellBase.C.
Referenced by WellBase::addWellBaseComponents().
|
protectedinherited |
Adds the components common to both injection and production.
Definition at line 73 of file WellBase.C.
Referenced by InjectionWell::addTHMComponents(), and addTHMComponents().
|
protectedinherited |
Name of a flow channel.
Definition at line 179 of file WellBase.C.
Referenced by WellBase::addFlowChannel(), InjectionWell::addInlet(), WellBase::addJunction(), addOutlet(), and WellBase::addWall().
|
protectedinherited |
Gets the THM problem.
Definition at line 34 of file THMActionComponent.C.
Referenced by THMActionComponent::addClosuresObject(), THMActionComponent::addControlLogicObject(), and THMActionComponent::addTHMComponent().
|
protected |
Outlet component name.
Definition at line 68 of file ProductionWell.C.
Referenced by addControlLogic(), and addOutlet().
|
static |
Definition at line 16 of file ProductionWell.C.
|
protectedinherited |
Name of a volume junction.
Definition at line 185 of file WellBase.C.
Referenced by WellBase::addJunction(), and WellBase::addJunctionFlux().
|
protectedinherited |
Surface point, junction points, and optional end point.
Definition at line 56 of file WellBase.h.
Referenced by WellBase::addFlowChannel(), WellBase::addWellBaseComponents(), and WellBase::WellBase().
|
protectedinherited |
Closures name.
Definition at line 53 of file WellBase.h.
Referenced by WellBase::addClosures(), and WellBase::addFlowChannel().
|
protectedinherited |
Coupled flow area of each junction.
Definition at line 51 of file WellBase.h.
Referenced by WellBase::addJunctionFlux().
|
protectedinherited |
Junction points.
Definition at line 45 of file WellBase.h.
Referenced by WellBase::addJunction(), WellBase::addWellBaseComponents(), and WellBase::WellBase().
|
protectedinherited |
Number of flow channels.
Definition at line 49 of file WellBase.h.
Referenced by WellBase::addJunction(), and WellBase::addWall().
|
protectedinherited |
Number of elements in each flow channel.
Definition at line 47 of file WellBase.h.
Referenced by WellBase::addFlowChannel().
|
protectedinherited |
Surface point.
Definition at line 43 of file WellBase.h.
Referenced by InjectionWell::addControlLogic(), addControlLogic(), and WellBase::WellBase().
1.8.14