Difference between revisions of "Particle-Based Boundary Conditions"

From OSUPDOCS
Jump to navigation Jump to search
Line 2: Line 2:
== Introduction ==
== Introduction ==


Particle-based boundary conditions are used to apply conditions  directly to particles for loads, tractions, heat fluxes, and concentration fluxes. Particle-based boundary conditions are typically applied to particles on the boundary of the object.
Particle-based boundary conditions are used to apply conditions  directly to particles for loads, tractions, heat fluxes, and concentration fluxes. Particle-based boundary conditions are typically applied to particles on the boundary of the object. Besides particle conditions, simulations can set [[Grid-Based Boundary Conditions]].


== Particle-Based Boundary Condition in Scripted Files ==
== Particle-Based Boundary Condition in Scripted Files ==

Revision as of 15:12, 26 December 2013

Introduction

Particle-based boundary conditions are used to apply conditions directly to particles for loads, tractions, heat fluxes, and concentration fluxes. Particle-based boundary conditions are typically applied to particles on the boundary of the object. Besides particle conditions, simulations can set Grid-Based Boundary Conditions.

Particle-Based Boundary Condition in Scripted Files

All particle-based boundary conditions are created by a series of shape commands. In 2D simulations, the commands are:

LoadLine (x1),(y1),(x2),(y2),(tolerance)
  (one or more load, traction, or flux condition)
    ...
EndLoadLine

LoadArc (x1),(y1),(x2),(y2),(startAng),(endAng),(tolerance)
  (one or more load, traction, or flux condition)
    ...
EndLoadArc

LoadRect (xmin),(xmax),(ymin),(ymax),
  (one or more load, traction, or flux condition)
    ...
EndLoadRect

In 3D simulations, the commands are:

LoadBox (x1),(y1),(z1),(x2),(y2),(z2)
  (one or more load, traction, or flux condition
    ...
EndLoadBox

The commands within these shape commands are used to set load, traction, heat flux, and/or concentration flux conditions.

Particle-Based Boundary Condition in XML Files

All particle-based boundary conditions must be set up within a single <ParticleBCs> element. The format is

<ParticleBCs>
   (one or more particle BC shape commands)
     ...
   <LoadBCs>
      (one or more explicit boundary conditions)
   </LoadBCs >
</GridBCs>

There are two ways to specify particle boundary conditions. The most common approach is to generate boundary conditions using one or more shape commands to select particles and assign specified load, traction, heat flux, and or concentration flux conditions to those particles. The other way is to explicitly list each particle condition. The explicit method is shown in the <LoadBCs> section above; it is limited to load conditions, and is usually generated with other software. You can use both shape commands and a <LoadBCs> section in the same input file.