- boundaryThe list of boundary IDs from the mesh where this boundary condition applies
C++ Type:std::vector<BoundaryName>
Description:The list of boundary IDs from the mesh where this boundary condition applies
InternalVolume
Computes the volume of an enclosed area by performing an integral over a user-supplied boundary.
Description
InternalVolume
computes the volume of an enclosed space. The complete boundary of the enclosed space must be represented by the user specified side set. The volume of the domain is calculated as the integral over the surface of the domain, where the domain surface is specified by the boundary.
If the given side set points outward, InternalVolume
will report a negative volume.
As an example, consider where is a field, is the normal of the surface, is the volume of the domain, and is the surface of the domain.
For simplicity in this example, we choose
such that the integral becomes
The volume of the domain is the integral over the surface of the domain of the x position of the surface times the x-component of the normal of the surface.
Example Input Syntax
[./internalVolume]
type = InternalVolume
boundary = 100
addition = addition
execute_on = 'initial timestep_end'
[../]
(moose/modules/combined/test/tests/internal_volume/hex8.i)Input Parameters
- addition0An additional volume to be included in the internal volume calculation. A time-dependent function is expected.
Default:0
C++ Type:FunctionName
Description:An additional volume to be included in the internal volume calculation. A time-dependent function is expected.
- component0The component to use in the integration
Default:0
C++ Type:unsigned int
Description:The component to use in the integration
- execute_onTIMESTEP_ENDThe list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.
Default:TIMESTEP_END
C++ Type:ExecFlagEnum
Description:The list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.
- scale_factor1A scale factor to be applied to the internal volume calculation
Default:1
C++ Type:double
Description:A scale factor to be applied to the internal volume calculation
Optional Parameters
- allow_duplicate_execution_on_initialFalseIn the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).
Default:False
C++ Type:bool
Description:In the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Description:Set the enabled status of the MooseObject.
- outputsVector of output names were you would like to restrict the output of variables(s) associated with this object
C++ Type:std::vector<OutputName>
Description:Vector of output names were you would like to restrict the output of variables(s) associated with this object
- use_displaced_meshTrueWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.
Default:True
C++ Type:bool
Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.