Computes Reynolds number as a material property. More...
#include <ReynoldsNumberMaterial.h>
Public Types | |
| typedef DerivativeMaterialPropertyNameInterface::SymbolName | SymbolName |
Public Member Functions | |
| ReynoldsNumberMaterial (const InputParameters ¶meters) | |
| const GenericMaterialProperty< U, is_ad > & | getDefaultMaterialProperty (const std::string &name) |
| const GenericMaterialProperty< U, is_ad > & | getDefaultMaterialPropertyByName (const std::string &name) |
| void | validateDerivativeMaterialPropertyBase (const std::string &base) |
| const MaterialPropertyName | derivativePropertyName (const MaterialPropertyName &base, const std::vector< SymbolName > &c) const |
| const MaterialPropertyName | derivativePropertyNameFirst (const MaterialPropertyName &base, const SymbolName &c1) const |
| const MaterialPropertyName | derivativePropertyNameSecond (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2) const |
| const MaterialPropertyName | derivativePropertyNameThird (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2, const SymbolName &c3) const |
| GenericMaterialProperty< U, is_ad > & | declarePropertyDerivative (const std::string &base, const std::vector< VariableName > &c) |
| GenericMaterialProperty< U, is_ad > & | declarePropertyDerivative (const std::string &base, const std::vector< SymbolName > &c) |
| GenericMaterialProperty< U, is_ad > & | declarePropertyDerivative (const std::string &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="") |
| GenericMaterialProperty< U, is_ad > & | declarePropertyDerivative (const std::string &base, const std::vector< VariableName > &c) |
| GenericMaterialProperty< U, is_ad > & | declarePropertyDerivative (const std::string &base, const std::vector< SymbolName > &c) |
| GenericMaterialProperty< U, is_ad > & | declarePropertyDerivative (const std::string &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="") |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivative (const std::string &base, const std::vector< VariableName > &c) |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivative (const std::string &base, const std::vector< SymbolName > &c) |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivative (const std::string &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="") |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivative (const std::string &base, const SymbolName &c1, unsigned int v2, unsigned int v3=libMesh::invalid_uint) |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivative (const std::string &base, unsigned int v1, unsigned int v2=libMesh::invalid_uint, unsigned int v3=libMesh::invalid_uint) |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivative (const std::string &base, const std::vector< VariableName > &c) |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivative (const std::string &base, const std::vector< SymbolName > &c) |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivative (const std::string &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="") |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivative (const std::string &base, const SymbolName &c1, unsigned int v2, unsigned int v3=libMesh::invalid_uint) |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivative (const std::string &base, unsigned int v1, unsigned int v2=libMesh::invalid_uint, unsigned int v3=libMesh::invalid_uint) |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const std::vector< VariableName > &c) |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const std::vector< SymbolName > &c) |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="") |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const std::vector< VariableName > &c) |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const std::vector< SymbolName > &c) |
| const GenericMaterialProperty< U, is_ad > & | getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="") |
| void | validateCoupling (const MaterialPropertyName &base, const std::vector< VariableName > &c, bool validate_aux=true) |
| void | validateCoupling (const MaterialPropertyName &base, const VariableName &c1="", const VariableName &c2="", const VariableName &c3="") |
| void | validateCoupling (const MaterialPropertyName &base, const std::vector< VariableName > &c, bool validate_aux=true) |
| void | validateCoupling (const MaterialPropertyName &base, const VariableName &c1="", const VariableName &c2="", const VariableName &c3="") |
| void | validateNonlinearCoupling (const MaterialPropertyName &base, const VariableName &c1="", const VariableName &c2="", const VariableName &c3="") |
| void | validateNonlinearCoupling (const MaterialPropertyName &base, const VariableName &c1="", const VariableName &c2="", const VariableName &c3="") |
| const MaterialPropertyName | propertyName (const MaterialPropertyName &base, const std::vector< SymbolName > &c) const |
| const MaterialPropertyName | propertyName (const MaterialPropertyName &base, const std::vector< SymbolName > &c) const |
| const MaterialPropertyName | propertyNameFirst (const MaterialPropertyName &base, const SymbolName &c1) const |
| const MaterialPropertyName | propertyNameFirst (const MaterialPropertyName &base, const SymbolName &c1) const |
| const MaterialPropertyName | propertyNameSecond (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2) const |
| const MaterialPropertyName | propertyNameSecond (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2) const |
| const MaterialPropertyName | propertyNameThird (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2, const SymbolName &c3) const |
| const MaterialPropertyName | propertyNameThird (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2, const SymbolName &c3) const |
Static Public Member Functions | |
| static InputParameters | validParams () |
Protected Member Functions | |
| virtual void | computeQpProperties () |
| MaterialProperty< U > & | declarePropertyDerivativeTHM (const std::string &base, const std::string &var_name, const unsigned int i=0) |
| Method for declaring derivative material properties. | |
| const MaterialProperty< U > & | getMaterialPropertyDerivativeTHM (const std::string &base, const std::string &var_name, const unsigned int i=0) |
| Method for retrieving derivative material properties. | |
| const MaterialProperty< U > & | getMaterialPropertyDerivativeTHMPhase (const std::string &base, bool property_is_liquid, const std::string &var_name, bool var_is_liquid, const unsigned int i=0) |
| Method for retrieving derivative material properties corresponding to phase-dependent derivatives. | |
Protected Attributes | |
| const MaterialPropertyName & | _Re_name |
| Reynolds number property name. | |
| const MaterialProperty< Real > & | _rho |
| Density of the phase. | |
| const MaterialProperty< Real > *const | _drho_dbeta |
| const MaterialProperty< Real > & | _drho_darhoA |
| const MaterialProperty< Real > & | _vel |
| Velocity of the phase. | |
| const MaterialProperty< Real > & | _dvel_darhoA |
| const MaterialProperty< Real > & | _dvel_darhouA |
| const MaterialProperty< Real > & | _D_h |
| Hydraulic diameter. | |
| const MaterialProperty< Real > & | _mu |
| Dynamic viscosity of the phase. | |
| const MaterialProperty< Real > *const | _dmu_dbeta |
| const MaterialProperty< Real > & | _dmu_darhoA |
| const MaterialProperty< Real > & | _dmu_darhouA |
| const MaterialProperty< Real > & | _dmu_darhoEA |
| MaterialProperty< Real > & | _Re |
| Reynolds. | |
| MaterialProperty< Real > *const | _dRe_dbeta |
| MaterialProperty< Real > & | _dRe_darhoA |
| MaterialProperty< Real > & | _dRe_darhouA |
| MaterialProperty< Real > & | _dRe_darhoEA |
Private Member Functions | |
| bool | haveMaterialProperty (const std::string &prop_name) |
| std::vector< VariableName > | buildVariableVector (const VariableName &c1, const VariableName &c2, const VariableName &c3) |
| void | validateCouplingHelper (const MaterialPropertyName &base, const std::vector< VariableName > &c, const System &system, std::vector< VariableName > &missing) |
| bool | isNotObjectVariable (const VariableName &name) |
Private Attributes | |
| FEProblemBase & | _dmi_fe_problem |
Computes Reynolds number as a material property.
Definition at line 20 of file ReynoldsNumberMaterial.h.
| ReynoldsNumberMaterial::ReynoldsNumberMaterial | ( | const InputParameters & | parameters | ) |
Definition at line 38 of file ReynoldsNumberMaterial.C.
|
protectedvirtual |
Definition at line 69 of file ReynoldsNumberMaterial.C.
|
protectedinherited |
Method for declaring derivative material properties.
| U | The material property type |
| base | The name of the property to take the derivative of |
| var_name | The name of the coupled variable vector containing the variable to take the derivative with respect to |
| i | The index of the variable to take the derivative with respect to within the coupled variable vector |
Definition at line 32 of file DerivativeMaterialInterfaceTHM.h.
|
protectedinherited |
Method for retrieving derivative material properties.
| U | The material property type |
| base | The name of the property to take the derivative of |
| var_name | The name of the coupled variable vector containing the variable to take the derivative with respect to |
| i | The index of the variable to take the derivative with respect to within the coupled variable vector |
Definition at line 47 of file DerivativeMaterialInterfaceTHM.h.
|
protectedinherited |
Method for retrieving derivative material properties corresponding to phase-dependent derivatives.
The intended behavior of this function is as follows. If the material property and derivative variable correspond to the same phase, then the material property is retrieved as usual. Else, a zero-valued material property is returned, as it is assumed that the material property depends only upon the variables corresponding to its phase.
| U | The material property type |
| base | The name of the property to take the derivative of |
| property_is_liquid | Does the property correspond to the liquid phase? |
| var_name | The name of the coupled variable vector containing the variable to take the derivative with respect to |
| var_is_liquid | Does the derivative variable correspond to the liquid phase? |
| i | The index of the variable to take the derivative with respect to within the coupled variable vector |
Definition at line 71 of file DerivativeMaterialInterfaceTHM.h.
|
static |
Definition at line 18 of file ReynoldsNumberMaterial.C.
|
protected |
Hydraulic diameter.
Definition at line 42 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Definition at line 47 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Definition at line 49 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Definition at line 48 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Definition at line 46 of file ReynoldsNumberMaterial.h.
|
protected |
Definition at line 54 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Definition at line 56 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Definition at line 55 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Definition at line 53 of file ReynoldsNumberMaterial.h.
|
protected |
Definition at line 34 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Definition at line 33 of file ReynoldsNumberMaterial.h.
|
protected |
Definition at line 38 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Definition at line 39 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Dynamic viscosity of the phase.
Definition at line 45 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Reynolds.
Definition at line 52 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Reynolds number property name.
Definition at line 29 of file ReynoldsNumberMaterial.h.
|
protected |
Density of the phase.
Definition at line 32 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().
|
protected |
Velocity of the phase.
Definition at line 37 of file ReynoldsNumberMaterial.h.
Referenced by computeQpProperties().