Particle BC Shape Commands
The method to create particle-based boundary conditions was changed in NairnMPM (April 2017) and OSParticulas (revision 1170) to the method using ParticleBC and <BCShape> blocks. As a result, all boundary conditions commands listed below are deprecated. They still work, but should be replaced by new methods as described below.
Line (2D or Axisymmetric)
The command to select a line through a 2D mesh in scripted files is:
LoadLine (x1),(y1),(x2),(y2),<(tolerance)> (one or more load, traction, heat flux, or concentration flux condition) ... EndLoadLine
In XML files, a line is selected with:
<BCLine units='(units)' x1='(x1)' y1='(y1)' x2='(x2)' y2='(y2)' tolerance='(tolerance)'> (one or more load, traction, heat flux, or concentration flux condition) ... </BCLine>
Arc (2D or Axisymmetric)
The command to select an arc through a 2D mesh in scripted files is:
LoadArc (x1),(y1),(x2),(y2),(startAng),(endAng),<(tolerance)> (one or more load, traction, heat flux, or concentration flux condition) ... EndLoadArc
In XML files, a line is selected with:
<BCArc units='(units)' x1='(x1)' y1='(y1)' x2='(x2)' y2='(y2)' start='(startAng)' end='(endAng)' tolerance='(tolerance)'> (one or more load, traction, heat flux, or concentration flux condition) ... </BCLine>
Rectangle (2D or Axisymmetric)
The command to select rectangle in a 2D mesh in scripted files is:
LoadRect (xmin),(xmax),(ymin),(ymax) (one or more load, traction, heat flux, or concentration flux condition) ... EndLoadRect
In XML files, a rectangle is selected with:
<LdRect xmin='(xmin)' xmax='(xmax)' ymin='(ymin)' ymax='(ymax)'> (one or more load, traction, heat flux, or concentration flux condition) ... </LdRect>
Box or Cylinder (3D)
The command to select a 3D box or cylinder in scripted files is:
LoadBox (x1),(y1),(z1),(x2),(y2),(z2),<(axis)> (one or more load, traction, heat flux, or concentration flux condition) ... EndLoadBox
In XML files, a box is selected with:
<BCBox units='(units)' xmin='(x1)' xmax='(x2)' ymin='(y1)' ymax='(y2)' zmin='(z1)' zmax='(z2)' axis='(axis)'> (one or more load, traction, heat flux, or concentration flux condition) ... </BCBox>