Difference between revisions of "Explicit Particle Boundary Conditions"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
An explicit load is assigned to one particle with a <tt><load></tt> element: | An explicit load is assigned to one particle with a <tt><load></tt> element: | ||
<load pt='(num)' dof='(dir)' style='(style)'>(load)</ | <load pt='(num)' dof='(dir)' style='(style)'>(load)</load> | ||
where the text of the <tt><load></tt> tag (i.e., <tt>(load)</tt>) is the value of the fixed velocity in [[ConsistentUnits Command#Legacy and Consistent Units|velocity units]] and it can be a user-defined function of position. The attributes of the <tt><load></tt> element are: | where the text of the <tt><load></tt> tag (i.e., <tt>(load)</tt>) is the value of the fixed velocity in [[ConsistentUnits Command#Legacy and Consistent Units|velocity units]] and it can be a user-defined function of position. The attributes of the <tt><load></tt> element are: | ||
* <tt>dof</tt> determines if the x direction ((dir)=1), the y direction ((dir)=2), the z direction ((dir)=3), the R direction when axisymetric ((dir)=1), or the Z direction when axisymmetric ((dir)=2) will have the specified velocity. | * <tt>dof</tt> determines if the x direction ((dir)=1), the y direction ((dir)=2), the z direction ((dir)=3), the R direction when axisymetric ((dir)=1), or the Z direction when axisymmetric ((dir)=2) will have the specified velocity. | ||
* <tt>(style)</tt> specifies the [[Boundary Condition Styles|style]] of the applied load. The resulting load is specified by two arguments (value)= (load) and (time)=0 (because this command cannot set (time)). The standard units are [[ConsistentUnits Command#Legacy and Consistent Units|force units]] for (load). When using an arbitrary function (see [[Boundary Condition Styles|<tt>(style)</tt>=6]]) the<tt>(load)</tt> text should be the a [[User Defined Functions|user-defined function]] of t (in [[ConsistentUnits Command#Legacy and Consistent Units|alt time units]]) that evaluates to load in [[ConsistentUnits Command#Legacy and Consistent Units|force units]]. If this attribute is omitted, it is assumed to be 1 (or a constant force). | * <tt>(style)</tt> specifies the [[Boundary Condition Styles|style]] of the applied load. The resulting load is specified by two arguments (value)=(load) and (time)=0 (because this command cannot set (time)). The standard units are [[ConsistentUnits Command#Legacy and Consistent Units|force units]] for (load). When using an arbitrary function (see [[Boundary Condition Styles|<tt>(style)</tt>=6]]) the<tt>(load)</tt> text should be the a [[User Defined Functions|user-defined function]] of t (in [[ConsistentUnits Command#Legacy and Consistent Units|alt time units]]) that evaluates to load in [[ConsistentUnits Command#Legacy and Consistent Units|force units]]. If this attribute is omitted, it is assumed to be 1 (or a constant force). |
Latest revision as of 10:45, 8 April 2017
Introduction
If needed, particle load boundary conditions can be explicitly assigned to numbered particles by using <load> elements within the single <LoadBCs> element. This approach can only be used in XML input files and is rarely used, except perhaps in separate software or scripts that create an XML input file automatically. The more common way it to assign boundary conditions to a block of particles suing shapes.
Explicit Load Conditions
An explicit load is assigned to one particle with a <load> element:
<load pt='(num)' dof='(dir)' style='(style)'>(load)</load>
where the text of the <load> tag (i.e., (load)) is the value of the fixed velocity in velocity units and it can be a user-defined function of position. The attributes of the <load> element are:
- dof determines if the x direction ((dir)=1), the y direction ((dir)=2), the z direction ((dir)=3), the R direction when axisymetric ((dir)=1), or the Z direction when axisymmetric ((dir)=2) will have the specified velocity.
- (style) specifies the style of the applied load. The resulting load is specified by two arguments (value)=(load) and (time)=0 (because this command cannot set (time)). The standard units are force units for (load). When using an arbitrary function (see (style)=6) the(load) text should be the a user-defined function of t (in alt time units) that evaluates to load in force units. If this attribute is omitted, it is assumed to be 1 (or a constant force).