Finite-volume elemental kernel that adds the apparent heat-capacity phase-change source term: rho * L * (df/dT) * T_dot. More...
#include <LinearFVPhaseChangeSource.h>
Public Types | |
| enum | ResidualTagType |
| typedef DataFileName | DataFileParameterType |
Public Member Functions | |
| LinearFVPhaseChangeSource (const InputParameters ¶ms) | |
| Constructor. | |
| Real | computeMatrixContribution () override |
| Real | computeRightHandSideContribution () override |
| virtual void | setCurrentElemInfo (const ElemInfo *elem_info) override |
| virtual void | addMatrixContribution () override |
| virtual void | addRightHandSideContribution () override |
| void | setCurrentElemVolume (const Real volume) |
| virtual const MooseLinearVariableFV< Real > & | variable () const override |
| void | linkTaggedVectorsAndMatrices (const std::set< TagID > &vector_tags, const std::set< TagID > &matrix_tags) |
| virtual bool | enabled () const |
| std::shared_ptr< MooseObject > | getSharedPtr () |
| std::shared_ptr< const MooseObject > | getSharedPtr () const |
| bool | isKokkosObject () const |
| MooseApp & | getMooseApp () const |
| const std::string & | type () const |
| const std::string & | name () const |
| std::string | typeAndName () const |
| MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
| MooseObjectName | uniqueName () const |
| const InputParameters & | parameters () const |
| const hit::Node * | getHitNode () const |
| bool | hasBase () const |
| const std::string & | getBase () const |
| const T & | getParam (const std::string &name) const |
| std::vector< std::pair< T1, T2 > > | getParam (const std::string ¶m1, const std::string ¶m2) const |
| const T * | queryParam (const std::string &name) const |
| const T & | getRenamedParam (const std::string &old_name, const std::string &new_name) const |
| T | getCheckedPointerParam (const std::string &name, const std::string &error_string="") const |
| bool | isParamValid (const std::string &name) const |
| bool | isParamSetByUser (const std::string &name) const |
| void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
| void | paramError (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramInfo (const std::string ¶m, Args... args) const |
| std::string | messagePrefix (const bool hit_prefix=true) const |
| std::string | errorPrefix (const std::string &) const |
| void | mooseError (Args &&... args) const |
| void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
| void | mooseErrorNonPrefixed (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | 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 |
| virtual void | initialSetup () |
| virtual void | timestepSetup () |
| virtual void | jacobianSetup () |
| virtual void | residualSetup () |
| virtual void | subdomainSetup () |
| virtual void | customSetup (const ExecFlagType &) |
| const ExecFlagEnum & | getExecuteOnEnum () const |
| const Function & | getFunction (const std::string &name) const |
| const Function & | getFunctionByName (const FunctionName &name) const |
| bool | hasFunction (const std::string ¶m_name) const |
| bool | hasFunctionByName (const FunctionName &name) const |
| Moose::Kokkos::Function | getKokkosFunction (const std::string &name) const |
| const T & | getKokkosFunction (const std::string &name) const |
| Moose::Kokkos::Function | getKokkosFunctionByName (const FunctionName &name) const |
| const T & | getKokkosFunctionByName (const FunctionName &name) const |
| bool | hasKokkosFunction (const std::string ¶m_name) const |
| bool | hasKokkosFunctionByName (const FunctionName &name) const |
| UserObjectName | getUserObjectName (const std::string ¶m_name) const |
| const T & | getUserObject (const std::string ¶m_name, bool is_dependency=true) const |
| const T & | getUserObjectByName (const UserObjectName &object_name, bool is_dependency=true) const |
| const UserObjectBase & | getUserObjectBase (const std::string ¶m_name, bool is_dependency=true) const |
| const UserObjectBase & | getUserObjectBaseByName (const UserObjectName &object_name, bool is_dependency=true) const |
| bool | isImplicit () |
| Moose::StateArg | determineState () const |
| bool | isDefaultPostprocessorValue (const std::string ¶m_name, const unsigned int index=0) const |
| bool | hasPostprocessor (const std::string ¶m_name, const unsigned int index=0) const |
| bool | hasPostprocessorByName (const PostprocessorName &name) const |
| std::size_t | coupledPostprocessors (const std::string ¶m_name) const |
| const PostprocessorName & | getPostprocessorName (const std::string ¶m_name, const unsigned int index=0) const |
| const VectorPostprocessorValue & | getVectorPostprocessorValue (const std::string ¶m_name, const std::string &vector_name) const |
| const VectorPostprocessorValue & | getVectorPostprocessorValue (const std::string ¶m_name, const std::string &vector_name, bool needs_broadcast) const |
| const VectorPostprocessorValue & | getVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
| const VectorPostprocessorValue & | getVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const |
| const VectorPostprocessorValue & | getVectorPostprocessorValueOld (const std::string ¶m_name, const std::string &vector_name) const |
| const VectorPostprocessorValue & | getVectorPostprocessorValueOld (const std::string ¶m_name, const std::string &vector_name, bool needs_broadcast) const |
| const VectorPostprocessorValue & | getVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
| const VectorPostprocessorValue & | getVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const |
| const ScatterVectorPostprocessorValue & | getScatterVectorPostprocessorValue (const std::string ¶m_name, const std::string &vector_name) const |
| const ScatterVectorPostprocessorValue & | getScatterVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
| const ScatterVectorPostprocessorValue & | getScatterVectorPostprocessorValueOld (const std::string ¶m_name, const std::string &vector_name) const |
| const ScatterVectorPostprocessorValue & | getScatterVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
| bool | hasVectorPostprocessor (const std::string ¶m_name, const std::string &vector_name) const |
| bool | hasVectorPostprocessor (const std::string ¶m_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 ¶m_name) const |
| void | setRandomResetFrequency (ExecFlagType exec_flag) |
| unsigned long | getRandomLong () const |
| Real | getRandomReal () const |
| unsigned int | getSeed (std::size_t id) |
| unsigned int | getMasterSeed () const |
| bool | isNodal () const |
| ExecFlagType | getResetOnTime () const |
| void | setRandomDataPointer (RandomData *random_data) |
| virtual void | meshChanged () |
| void | useVectorTag (const TagName &tag_name, VectorTagsKey) |
| void | useVectorTag (TagID tag_id, VectorTagsKey) |
| void | useMatrixTag (const TagName &tag_name, MatrixTagsKey) |
| void | useMatrixTag (TagID tag_id, MatrixTagsKey) |
| bool | isVectorTagged () |
| bool | isMatrixTagged () |
| bool | hasVectorTags () const |
| const std::set< TagID > & | getVectorTags (VectorTagsKey) const |
| const std::set< TagID > & | getMatrixTags (MatrixTagsKey) const |
| const std::vector< SubdomainName > & | blocks () const |
| unsigned int | numBlocks () const |
| virtual const std::set< SubdomainID > & | blockIDs () const |
| unsigned int | blocksMaxDimension () const |
| bool | hasBlocks (const SubdomainName &name) const |
| bool | hasBlocks (const std::vector< SubdomainName > &names) const |
| bool | hasBlocks (const std::set< SubdomainName > &names) const |
| bool | hasBlocks (SubdomainID id) const |
| bool | hasBlocks (const std::vector< SubdomainID > &ids) const |
| bool | hasBlocks (const std::set< SubdomainID > &ids) const |
| bool | isBlockSubset (const std::set< SubdomainID > &ids) const |
| bool | isBlockSubset (const std::vector< SubdomainID > &ids) const |
| bool | hasBlockMaterialProperty (const std::string &prop_name) |
| const std::set< SubdomainID > & | meshBlockIDs () const |
| virtual bool | blockRestricted () const |
| virtual void | checkVariable (const MooseVariableFieldBase &variable) const |
| const Moose::Functor< Real > * | defaultFunctor (const std::string &name) |
| const Moose::Functor< ADReal > * | defaultFunctor (const std::string &name) |
| MooseVariableBase * | mooseVariableBase () const |
| MooseVariableField< Real > & | mooseVariableField () |
| MooseVariableFE< Real > * | mooseVariable () const |
| MooseVariableFV< Real > * | mooseVariableFV () const |
| MooseLinearVariableFV< Real > * | mooseLinearVariableFV () const |
| const std::set< MooseVariableFieldBase * > & | getMooseVariableDependencies () const |
| std::set< MooseVariableFieldBase * > | checkAllVariables (const DofObjectType &dof_object, const std::set< MooseVariableFieldBase * > &vars_to_omit={}) |
| virtual std::set< MooseVariableFieldBase * > | checkVariables (const libMesh::Node &node, const std::set< MooseVariableFieldBase * > &vars_to_check) |
| std::set< MooseVariableFieldBase * > | checkVariables (const libMesh::Elem &element, const std::set< MooseVariableFieldBase * > &vars_to_check) |
| void | addMooseVariableDependency (MooseVariableFieldBase *var) |
| void | addMooseVariableDependency (const std::vector< MooseVariableFieldBase * > &vars) |
| bool | hasUserObject (const std::string ¶m_name) const |
| bool | hasUserObject (const std::string ¶m_name) const |
| bool | hasUserObject (const std::string ¶m_name) const |
| bool | hasUserObject (const std::string ¶m_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 PostprocessorValue & | getPostprocessorValue (const std::string ¶m_name, const unsigned int index=0) const |
| const PostprocessorValue & | getPostprocessorValue (const std::string ¶m_name, const unsigned int index=0) const |
| const PostprocessorValue & | getPostprocessorValueOld (const std::string ¶m_name, const unsigned int index=0) const |
| const PostprocessorValue & | getPostprocessorValueOld (const std::string ¶m_name, const unsigned int index=0) const |
| const PostprocessorValue & | getPostprocessorValueOlder (const std::string ¶m_name, const unsigned int index=0) const |
| const PostprocessorValue & | getPostprocessorValueOlder (const std::string ¶m_name, const unsigned int index=0) const |
| virtual const PostprocessorValue & | getPostprocessorValueByName (const PostprocessorName &name) const |
| virtual const PostprocessorValue & | getPostprocessorValueByName (const PostprocessorName &name) const |
| const PostprocessorValue & | getPostprocessorValueOldByName (const PostprocessorName &name) const |
| const PostprocessorValue & | getPostprocessorValueOldByName (const PostprocessorName &name) const |
| const PostprocessorValue & | getPostprocessorValueOlderByName (const PostprocessorName &name) const |
| const PostprocessorValue & | getPostprocessorValueOlderByName (const PostprocessorName &name) const |
| bool | isVectorPostprocessorDistributed (const std::string ¶m_name) const |
| bool | isVectorPostprocessorDistributed (const std::string ¶m_name) const |
| bool | isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const |
| bool | isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) 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) |
| static std::string | deduceFunctorName (const std::string &name, const InputParameters ¶ms) |
| static void | setRMParamsAdvection (const InputParameters &obj_params, InputParameters &rm_params, const unsigned short conditional_extended_layers) |
| static void | setRMParamsDiffusion (const InputParameters &obj_params, InputParameters &rm_params, const unsigned short conditional_extended_layers) |
Public Attributes | |
| usingCombinedWarningSolutionWarnings | |
| const ConsoleStream | _console |
Static Public Attributes | |
| 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 |
Protected Member Functions | |
| std::string | deduceFunctorName (const std::string &name) const |
| void | requestVariableCellGradient (const std::string &variable_name) |
| void | flagInvalidSolutionInternal (const InvalidSolutionID invalid_solution_id) const |
| InvalidSolutionID | registerInvalidSolutionInternal (const std::string &message, const bool warning) const |
| virtual void | addUserObjectDependencyHelper (const UserObjectBase &) const |
| virtual void | addPostprocessorDependencyHelper (const PostprocessorName &) const |
| virtual void | addVectorPostprocessorDependencyHelper (const VectorPostprocessorName &) 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 |
| void | prepareVectorTag (Assembly &assembly, unsigned int ivar) |
| void | prepareVectorTag (Assembly &assembly, unsigned int ivar, ResidualTagType tag_type) |
| void | prepareVectorTag (Assembly &assembly, unsigned int ivar, ResidualTagType tag_type) |
| void | prepareVectorTag (Assembly &assembly, unsigned int ivar, ResidualTagType tag_type) |
| void | prepareVectorTag (Assembly &assembly, unsigned int ivar, ResidualTagType tag_type) |
| void | prepareVectorTagNeighbor (Assembly &assembly, unsigned int ivar) |
| void | prepareVectorTagLower (Assembly &assembly, unsigned int ivar) |
| void | prepareMatrixTag (Assembly &assembly, unsigned int ivar, unsigned int jvar) |
| void | prepareMatrixTag (Assembly &assembly, unsigned int ivar, unsigned int jvar, DenseMatrix< Number > &k) const |
| void | prepareMatrixTagNonlocal (Assembly &assembly, unsigned int ivar, unsigned int jvar) |
| void | prepareMatrixTagNeighbor (Assembly &assembly, unsigned int ivar, unsigned int jvar, Moose::DGJacobianType type) |
| void | prepareMatrixTagNeighbor (Assembly &assembly, unsigned int ivar, unsigned int jvar, Moose::DGJacobianType type, DenseMatrix< Number > &k) const |
| void | prepareMatrixTagLower (Assembly &assembly, unsigned int ivar, unsigned int jvar, Moose::ConstraintJacobianType type) |
| void | accumulateTaggedLocalResidual () |
| void | assignTaggedLocalResidual () |
| void | accumulateTaggedLocalMatrix () |
| void | accumulateTaggedLocalMatrix (Assembly &assembly, unsigned int ivar, unsigned int jvar, const DenseMatrix< Number > &k) |
| void | accumulateTaggedLocalMatrix (Assembly &assembly, unsigned int ivar, unsigned int jvar, Moose::DGJacobianType type, const DenseMatrix< Number > &k) |
| void | accumulateTaggedNonlocalMatrix () |
| void | assignTaggedLocalMatrix () |
| void | addResiduals (Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor) |
| void | addResiduals (Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, const std::vector< Real > &scaling_factors) |
| void | addResiduals (Assembly &assembly, const DenseVector< T > &residuals, const Indices &dof_indices, Real scaling_factor) |
| void | addResiduals (Assembly &assembly, const ADResidualsPacket &packet) |
| void | addResidualsAndJacobian (Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor) |
| void | addResidualsAndJacobian (Assembly &assembly, const ADResidualsPacket &packet) |
| void | addJacobian (Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor) |
| void | addJacobian (Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, const std::vector< Real > &scaling_factors) |
| void | addJacobian (Assembly &assembly, const ADResidualsPacket &packet) |
| void | addJacobian (Assembly &assembly, const DenseMatrix< Real > &local_k, const std::vector< dof_id_type > &row_indices, const std::vector< dof_id_type > &column_indices, Real scaling_factor) |
| void | addResidualsWithoutConstraints (Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor) |
| void | addResidualsAndJacobianWithoutConstraints (Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor) |
| void | addJacobianWithoutConstraints (Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor) |
| void | addJacobianElement (Assembly &assembly, Real value, dof_id_type row_index, dof_id_type column_index, Real scaling_factor) |
| void | setResidual (SystemBase &sys, const T &residual, MooseVariableFE< T > &var) |
| void | setResidual (SystemBase &sys, Real residual, dof_id_type dof_index) |
| void | setResidual (SystemBase &sys, SetResidualFunctor set_residual_functor) |
| virtual bool | hasBlockMaterialPropertyHelper (const std::string &prop_name) |
| void | initializeBlockRestrictable (const MooseObject *moose_object) |
| void | initializeKokkosBlockRestrictable () |
| Moose::CoordinateSystemType | getBlockCoordSystem () |
| KOKKOS_FUNCTION dof_id_type | numKokkosBlockElements () const |
| KOKKOS_FUNCTION dof_id_type | numKokkosBlockNodes () const |
| KOKKOS_FUNCTION dof_id_type | numKokkosBlockSides () const |
| KOKKOS_FUNCTION ContiguousElementID | kokkosBlockElementID (Moose::Kokkos::ThreadID tid) const |
| KOKKOS_FUNCTION ContiguousElementID | kokkosBlockNodeID (Moose::Kokkos::ThreadID tid) const |
| KOKKOS_FUNCTION auto | kokkosBlockElementSideID (Moose::Kokkos::ThreadID tid) const |
| const Moose::Functor< T > & | getFunctor (const std::string &name) |
| const Moose::Functor< T > & | getFunctor (const std::string &name, THREAD_ID tid) |
| const Moose::Functor< T > & | getFunctor (const std::string &name, SubProblem &subproblem) |
| const Moose::Functor< T > & | getFunctor (const std::string &name, SubProblem &subproblem, THREAD_ID tid) |
| bool | isFunctor (const std::string &name) const |
| bool | isFunctor (const std::string &name, const SubProblem &subproblem) const |
| Moose::ElemArg | makeElemArg (const Elem *elem, bool correct_skewnewss=false) const |
| void | checkFunctorSupportsSideIntegration (const std::string &name, bool qp_integration) |
| const Moose::Functor< T > & | getFunctorByName (const std::string &name) |
| virtual const OutputTools< Real >::VariableValue & | value () |
| virtual const OutputTools< Real >::VariableValue & | valueOld () |
| virtual const OutputTools< Real >::VariableValue & | valueOlder () |
| virtual const OutputTools< Real >::VariableValue & | dot () |
| virtual const OutputTools< Real >::VariableValue & | dotDot () |
| virtual const OutputTools< Real >::VariableValue & | dotOld () |
| virtual const OutputTools< Real >::VariableValue & | dotDotOld () |
| virtual const VariableValue & | dotDu () |
| virtual const VariableValue & | dotDotDu () |
| virtual const OutputTools< Real >::VariableGradient & | gradient () |
| virtual const OutputTools< Real >::VariableGradient & | gradientOld () |
| virtual const OutputTools< Real >::VariableGradient & | gradientOlder () |
| virtual const OutputTools< Real >::VariableSecond & | second () |
| virtual const OutputTools< Real >::VariableSecond & | secondOld () |
| virtual const OutputTools< Real >::VariableSecond & | secondOlder () |
| virtual const OutputTools< Real >::VariableTestSecond & | secondTest () |
| virtual const OutputTools< Real >::VariableTestSecond & | secondTestFace () |
| virtual const OutputTools< Real >::VariablePhiSecond & | secondPhi () |
| virtual const OutputTools< Real >::VariablePhiSecond & | secondPhiFace () |
Protected Attributes | |
| const Moose::Functor< Real > & | _L |
| Latent heat. | |
| const Moose::Functor< Real > & | _rho |
| Density. | |
| const Moose::Functor< Real > & | _T_solidus |
| Solidus Temperature. | |
| const Moose::Functor< Real > & | _T_liquidus |
| Liquidus Temperature. | |
| const bool | _smooth |
| Whether to use the smoothstep liquid fraction (true, default) or the linear ("sharp") liquid fraction (false) | |
| const TimeIntegrator & | _time_integrator |
| The time integrator to use in this kernel, will provide information on how many states are required in the history. | |
| const ElemInfo * | _current_elem_info |
| Real | _current_elem_volume |
| dof_id_type | _dof_id |
| MooseLinearVariableFV< Real > & | _var |
| const unsigned int | _var_num |
| const unsigned int | _sys_num |
| FEProblemBase & | _fe_problem |
| SystemBase & | _sys |
| libMesh::LinearImplicitSystem & | _linear_system |
| const THREAD_ID | _tid |
| MooseMesh & | _mesh |
| std::vector< NumericVector< Number > * > | _vectors |
| std::vector< SparseMatrix< Number > * > | _matrices |
| const bool & | _enabled |
| MooseApp & | _app |
| Factory & | _factory |
| ActionFactory & | _action_factory |
| const std::string & | _type |
| const std::string & | _name |
| const InputParameters & | _pars |
| const ExecFlagEnum & | _execute_enum |
| const ExecFlagType & | _current_execute_flag |
| 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 |
| MooseApp & | _restartable_app |
| const std::string | _restartable_system_name |
| const THREAD_ID | _restartable_tid |
| const bool | _restartable_read_only |
| FEProblemBase & | _mci_feproblem |
| SubProblem & | _subproblem |
| DenseVector< Number > | _local_re |
| DenseMatrix< Number > | _local_ke |
| DenseMatrix< Number > | _nonlocal_ke |
| const MaterialData * | _blk_material_data |
| bool | _nodal |
| MooseVariableFE< Real > * | _variable |
| MooseVariableFV< Real > * | _fv_variable |
| MooseLinearVariableFV< Real > * | _linear_fv_variable |
| MooseVariableField< Real > * | _field_variable |
| Assembly * | _mvi_assembly |
| const Parallel::Communicator & | _communicator |
Private Member Functions | |
| Real | computeDfDT (const Real T, const Real T_sol, const Real dT_pc) const |
| Compute df/dT at temperature T for the selected liquid-fraction shape. | |
| const Moose::Functor< T > * | defaultFunctor (const std::string &name) |
| const Moose::Functor< Real > * | defaultFunctor (const std::string &name) |
| const Moose::Functor< ADReal > * | defaultFunctor (const std::string &name) |
| const Moose::Functor< T > & | getFunctorByName (const std::string &name, SubProblem &subproblem, THREAD_ID tid) |
| const Moose::FunctionBase * | getKokkosFunctionByNameHelper (const FunctionName &name) const |
| const UserObjectBase & | getUserObjectFromFEProblem (const UserObjectName &object_name, const THREAD_ID tid=0) const |
| const T & | castUserObject (const UserObjectBase &uo_base, const std::string ¶m_name="") const |
| void | mooseObjectError (const std::string ¶m_name, std::stringstream &oss) const |
| const std::string & | userObjectType (const UserObjectBase &uo) const |
| const std::string & | userObjectName (const UserObjectBase &uo) const |
| const PostprocessorName & | getPostprocessorNameInternal (const std::string ¶m_name, const unsigned int index, const bool allow_default_value=true) const |
| bool | isDefaultPostprocessorValueByName (const PostprocessorName &name) const |
| PostprocessorValue | getDefaultPostprocessorValueByName (const PostprocessorName &name) const |
| void | checkParam (const std::string ¶m_name, const unsigned int index=std::numeric_limits< unsigned int >::max()) const |
| bool | postprocessorsAdded () const |
| const VectorPostprocessorValue & | getVectorPostprocessorByNameHelper (const VectorPostprocessorName &name, const std::string &vector_name, bool broadcast, std::size_t t_index) const |
| const VectorPostprocessorContext< VectorPostprocessorValue > & | getVectorPostprocessorContextByNameHelper (const VectorPostprocessorName &name, const std::string &vector_name) const |
| bool | vectorPostprocessorsAdded () const |
| RestartableDataValue & | registerRestartableDataOnApp (std::unique_ptr< RestartableDataValue > data, THREAD_ID tid) const |
| void | registerRestartableNameWithFilterOnApp (const std::string &name, Moose::RESTARTABLE_FILTER filter) |
| RestartableData< T > & | declareRestartableDataHelper (const std::string &data_name, void *context, Args &&... args) const |
| void | prepareVectorTagInternal (Assembly &assembly, unsigned int ivar, const std::set< TagID > &vector_tags, const std::set< TagID > &absolute_value_vector_tags) |
| void | checkForNans () const |
| virtual bool | isADObject () const override |
| std::set< MooseVariableFieldBase * > | checkVariablesHelper (const DofObjectType &dof_object, const std::set< MooseVariableFieldBase * > &vars_to_check) |
| const PostprocessorValue & | getPostprocessorValueInternal (const std::string ¶m_name, unsigned int index, std::size_t t_index) const |
| const PostprocessorValue & | getPostprocessorValueInternal (const std::string ¶m_name, unsigned int index, std::size_t t_index) const |
| const PostprocessorValue & | getPostprocessorValueByNameInternal (const PostprocessorName &name, std::size_t t_index) const |
| const PostprocessorValue & | getPostprocessorValueByNameInternal (const PostprocessorName &name, std::size_t t_index) const |
| void | possiblyCheckHasVectorPostprocessor (const std::string ¶m_name, const std::string &vector_name) const |
| void | possiblyCheckHasVectorPostprocessor (const std::string ¶m_name, const std::string &vector_name) const |
| void | possiblyCheckHasVectorPostprocessorByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
| void | possiblyCheckHasVectorPostprocessorByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
Static Private Member Functions | |
| static const hit::Node * | getHitNode (const InputParameters ¶ms) |
| static std::string | messagePrefix (const InputParameters ¶ms, const bool hit_prefix) |
| static void | setRMParams (const InputParameters &obj_params, InputParameters &rm_params, const unsigned short ghost_layers) |
| static void | parameterError (const InputParameters &obj_params, const std::string ¶meter_name, const std::string &function_name, const std::string &description) |
Finite-volume elemental kernel that adds the apparent heat-capacity phase-change source term: rho * L * (df/dT) * T_dot.
Definition at line 12 of file LinearFVPhaseChangeSource.h.
| LinearFVPhaseChangeSource::LinearFVPhaseChangeSource | ( | const InputParameters & | params | ) |
Constructor.
Definition at line 34 of file LinearFVPhaseChangeSource.C.
|
private |
Compute df/dT at temperature T for the selected liquid-fraction shape.
| T | Temperature |
| T_sol | Solidus temperature |
| dT_pc | Phase change temperature interval |
Definition at line 48 of file LinearFVPhaseChangeSource.C.
Referenced by computeMatrixContribution(), and computeRightHandSideContribution().
|
overridevirtual |
Implements LinearFVElementalKernel.
Definition at line 64 of file LinearFVPhaseChangeSource.C.
|
overridevirtual |
Implements LinearFVElementalKernel.
Definition at line 89 of file LinearFVPhaseChangeSource.C.
|
overridevirtual |
Reimplemented from LinearFVElementalKernel.
Definition at line 114 of file LinearFVPhaseChangeSource.C.
|
static |
Definition at line 10 of file LinearFVPhaseChangeSource.C.
|
private |
Current and older values of the material property multiplier.
Definition at line 54 of file LinearFVPhaseChangeSource.h.
Referenced by computeRightHandSideContribution(), and setCurrentElemInfo().
|
protected |
Latent heat.
Definition at line 27 of file LinearFVPhaseChangeSource.h.
Referenced by computeMatrixContribution(), and computeRightHandSideContribution().
|
protected |
Density.
Definition at line 30 of file LinearFVPhaseChangeSource.h.
Referenced by computeMatrixContribution(), and computeRightHandSideContribution().
|
protected |
Whether to use the smoothstep liquid fraction (true, default) or the linear ("sharp") liquid fraction (false)
Definition at line 40 of file LinearFVPhaseChangeSource.h.
Referenced by computeDfDT().
|
private |
State args, the args which will help us fetch the different states of the material property multiplier.
0th is the current, 1st is old 2nd is the older. Might not need all, depends on the time integrator.
Definition at line 59 of file LinearFVPhaseChangeSource.h.
|
protected |
Liquidus Temperature.
Definition at line 36 of file LinearFVPhaseChangeSource.h.
Referenced by computeMatrixContribution(), and computeRightHandSideContribution().
|
protected |
Solidus Temperature.
Definition at line 33 of file LinearFVPhaseChangeSource.h.
Referenced by computeMatrixContribution(), and computeRightHandSideContribution().
|
protected |
The time integrator to use in this kernel, will provide information on how many states are required in the history.
Definition at line 44 of file LinearFVPhaseChangeSource.h.
Referenced by computeMatrixContribution(), and computeRightHandSideContribution().