PFEM Analysis: Difference between revisions
Jump to navigation
Jump to search
(Created page with '* '''PFEM2D discretize Rectangle $startNodeTag $X1 $Y1 $hx $hy $angle $Nx $Ny $Ndf <-fix $fixList -mass $massList -vel $velList -boundary $boundaryList>''' ** Discretizes a recta...') |
No edit summary |
||
Line 27: | Line 27: | ||
''More commands will be documented soon'' | ''More commands will be documented soon'' | ||
Code maintained by: <span style="color:blue">Michael H. Scott, Oregon State University</span> |
Revision as of 22:34, 9 August 2013
- PFEM2D discretize Rectangle $startNodeTag $X1 $Y1 $hx $hy $angle $Nx $Ny $Ndf <-fix $fixList -mass $massList -vel $velList -boundary $boundaryList>
- Discretizes a rectangular area in to nodes for subsequent triangulation and PFEM analysis
- startNodeTag -- tag of the first node that is created
- X1 Y1 -- global X and Y coordinates of the lower left corner of the rectangle
- hx hy -- division length in the local x and y directions of the rectangle
- angle -- angle of rotation between the local x axis of the rectangle and the global X axis
- Nx Ny -- number of divisions in the local x and y directions of the rectangle
- Ndf -- number of degrees of freedom for each node that is created
- fixList -- list of fixity values applied to all nodes that are created (1 = fixed, 0 = free, default = "0 0")
- massList -- list of mass values applied to all nodes that are created (default = "0 0")
- velList -- list of initial velocity applied to all nodes that are created (default = "0 0")
- boundaryList -- list of codes for including boundary nodes on the sides of the rectangle (1 = include, 0 = omit, default = "1 1 1 1")
- The return value from this command is the tag of the last node created
- PFEM2D fluid $nodeList <-append>
- Assigns nodes to be fluid nodes
- nodeList -- list containing the start and end nodes for assignment
- -append -- appends the nodes to the current set of fluid nodes (otherwise, overwrites the current set)
- PFEM2D structure $nodeList <-append>
- Assigns nodes to be structure nodes
- nodeList -- list containing the start and end nodes for assignment
- -append -- appends the nodes to the current set of structure nodes (otherwise, overwrites the current set)
More commands will be documented soon
Code maintained by: Michael H. Scott, Oregon State University