Difference between revisions of "FEA Boundary Conditions"
Line 36: | Line 36: | ||
== XML Input Files == | == XML Input Files == | ||
In <tt>XML</tt> input files, all FEA boundary conditions are applied within a <tt><GridBC></tt> block: | |||
<GridBC> | |||
(boundary condition commands) | |||
</GridBCs> | |||
Within this block, most conditions are set with a series of <tt><BCLine></tt> commands and <tt><BCPt></tt> commands, each of which is available in two versions. The <tt><BCLine></tt> command can either select nodes and elements along a previously defined [[Path Command|path]] or can select all nodes close to a line: | |||
<BCLine path='top' select='1'> | |||
</BCLine> | |||
<BCLine x1='0' y1='10' x2='0' y2='20' tolerance='.01'> | |||
</BCLine> | |||
The <tt>FixPoint</tt> command can either select one define [[Keypoint Command|keypoint]] or can select the one node closest to a point: | |||
FixPoint (keyid) | |||
(boundary conditions commands) | |||
EndFixPoint | |||
FixPoint (x3),(y3) | |||
(boundary condition commands) | |||
EndFixPoint | |||
In these commands, the arguments are: | |||
* <tt>(pathid)</tt> to select a previously defined [[Path Command|path]] by <tt>id</tt>, which must have be used in an [[Area Command|area]]. | |||
* (<tt>x1,y1</tt>) to (<tt>x2,y2</tt>) define (<tt>x,y</tt>) coordinates (in mm) for the points at the beginning and end of the line (or (<tt>R,Z</tt>) coordinates in axisymmetric calculations). All nodes close to that line are selected. | |||
* <tt>(tolerance)</tt> is an optional tolerance (in mm). When used it accepts nodes within that distance of the define line; when omitted, tolerance is set to small number bases on mesh dimensions. | |||
* <tt>(keyid)</tt> to select a previously defined [[Keypoint Command|keypoint]] by <tt>id</tt>, which must be part of a [[Path Command|path]] that is in an [[Area Command|area]]. | |||
* (<tt>x3,y3</tt>) define (<tt>x,y</tt>) coordinates (in mm) for a single point (or (<tt>R,Z</tt>) coordinates in axisymmetric calculations). The node closest to that point is selected. | |||
All nodes along the selected path or along the selected line (for <tt>FixLine</tt> commands) or the single selected node (for <tt>FixPoint</tt> commands) can be assigned nodal [[#Displacement Conditions|displacement]] or [[#Load Conditions|load]] conditions, rotated for [[#Skewed Conditions|skewed boundary conditions]], or [[#Selecting Nodes|designated]] for conditional output. | |||
In addition, when using <tt>FixLine</tt> to select a defined path, all element faces along that [[Path Command|path]] can be assigned [[#Stress Conditions|stresses]]. You cannot, however, apply [[#Stress Conditions|stress conditions]] along interior paths; they can only be assigned to paths on the boundary of the object. Also note that <tt>FixLine</tt> commands that use a line instead of a [[Path Command|path]] cannot assign stresses to element faces). | |||
== Displacement Conditions == | == Displacement Conditions == |
Revision as of 10:27, 11 September 2013
Nodal and element face boundary conditions in FEA analyses are applied to nodes or elements by using the commands on this page.
Scripted Input Files
In scripted input files, FEA boundary conditions are applied with a series of FixLine commands and FixPoint commands, each of which is available in two versions. The FixLine command can either select nodes and elements along a previously defined path or can select all nodes close to that line:
FixLine (pathid) (boundary conditions commands) EndFixLine
FixLine (x1),(y1),(x2),(y2),<(tolerance)> (boundary condition commands) EndFixLine
The FixPoint command can either select one define keypoint or can select the one node closest to a point:
FixPoint (keyid) (boundary conditions commands) EndFixPoint
FixPoint (x3),(y3) (boundary condition commands) EndFixPoint
In these commands, the arguments are:
- (pathid) to select a previously defined path by id, which must have be used in an area.
- (x1,y1) to (x2,y2) define (x,y) coordinates (in mm) for the points at the beginning and end of the line (or (R,Z) coordinates in axisymmetric calculations). All nodes close to that line are selected.
- (tolerance) is an optional tolerance (in mm). When used it accepts nodes within that distance of the define line; when omitted, tolerance is set to small number bases on mesh dimensions.
- (keyid) to select a previously defined keypoint by id, which must be part of a path that is in an area.
- (x3,y3) define (x,y) coordinates (in mm) for a single point (or (R,Z) coordinates in axisymmetric calculations). The node closest to that point is selected.
All nodes along the selected path or along the selected line (for FixLine commands) or the single selected node (for FixPoint commands) can be assigned nodal displacement or load conditions, rotated for skewed boundary conditions, or designated for conditional output.
In addition, when using FixLine to select a defined path, all element faces along that path can be assigned stresses. You cannot, however, apply stress conditions along interior paths; they can only be assigned to paths on the boundary of the object. Also note that FixLine commands that use a line instead of a path cannot assign stresses to element faces).
XML Input Files
In XML input files, all FEA boundary conditions are applied within a <GridBC> block:
<GridBC> (boundary condition commands) </GridBCs>
Within this block, most conditions are set with a series of <BCLine> commands and <BCPt> commands, each of which is available in two versions. The <BCLine> command can either select nodes and elements along a previously defined path or can select all nodes close to a line:
<BCLine path='top' select='1'> </BCLine>
<BCLine x1='0' y1='10' x2='0' y2='20' tolerance='.01'> </BCLine>
The FixPoint command can either select one define keypoint or can select the one node closest to a point:
FixPoint (keyid) (boundary conditions commands) EndFixPoint
FixPoint (x3),(y3) (boundary condition commands) EndFixPoint
In these commands, the arguments are:
- (pathid) to select a previously defined path by id, which must have be used in an area.
- (x1,y1) to (x2,y2) define (x,y) coordinates (in mm) for the points at the beginning and end of the line (or (R,Z) coordinates in axisymmetric calculations). All nodes close to that line are selected.
- (tolerance) is an optional tolerance (in mm). When used it accepts nodes within that distance of the define line; when omitted, tolerance is set to small number bases on mesh dimensions.
- (keyid) to select a previously defined keypoint by id, which must be part of a path that is in an area.
- (x3,y3) define (x,y) coordinates (in mm) for a single point (or (R,Z) coordinates in axisymmetric calculations). The node closest to that point is selected.
All nodes along the selected path or along the selected line (for FixLine commands) or the single selected node (for FixPoint commands) can be assigned nodal displacement or load conditions, rotated for skewed boundary conditions, or designated for conditional output.
In addition, when using FixLine to select a defined path, all element faces along that path can be assigned stresses. You cannot, however, apply stress conditions along interior paths; they can only be assigned to paths on the boundary of the object. Also note that FixLine commands that use a line instead of a path cannot assign stresses to element faces).
Displacement Conditions
Load Conditions
Stress Conditions
Skewed Conditions
Selecting Nodes
Notes
- When doing axisymmetric FEA, nodes at r=0 will automatically be set to zero velocity in the r directions. You therefore need not set those conditions.