Difference between revisions of "Grid BC Shape Commands"

From OSUPDOCS
Jump to navigation Jump to search
Line 3: Line 3:
== Line ==
== Line ==


The command to select a line through a 2D mesh in scripted files is
The command to select a line through a 2D mesh in scripted files is:


MoveLine (x1),(y1),(x2),(y2),(tolerance)
  (one or more velocity, temperature, or concentration condition)
    ...
EndMoveLine


In XML files, a line is selected with:
<BCLine units='(units)' x1='(x1)' y1='(y1)' x2='(x2)' y2='(y2)' tolerance='(tolerance)'>
  (one or more velocity, temperature, or concentration condition)
    ...
</BCLine>


== Arc ==
== Arc ==

Revision as of 11:22, 20 December 2013

These commands define shapes. All nodes contained with in the shape will be assigned boundary conditions specified within the shape command.

Line

The command to select a line through a 2D mesh in scripted files is:

MoveLine (x1),(y1),(x2),(y2),(tolerance)
  (one or more velocity, temperature, or concentration condition)
    ...
EndMoveLine

In XML files, a line is selected with:

<BCLine units='(units)' x1='(x1)' y1='(y1)' x2='(x2)' y2='(y2)' tolerance='(tolerance)'>
  (one or more velocity, temperature, or concentration condition)
    ...
</BCLine>

Arc

Rectangle

Box (3D)