|
|
(4 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| * '''PFEM2D discretize Rectangle $startNodeTag $X1 $Y1 $hx $hy $angle $Nx $Ny $Ndf <-fix $fixList -mass $massList -vel $velList -boundary $boundaryList>'''
| | [[FSI | < Back]] |
| ** 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
| |
|
| |
|
| | <span id="pyPFEMAnalysis"></span> |
| | '''analysis'''('' 'PFEM', dtmax, dtmin, gravity[, ratio]'') [[#pyPFEMAnalysis|¶]] |
|
| |
|
| * '''PFEM2D fluid $nodeList <-append>'''
| | <blockquote>construct the PFEM Analysis object.</blockquote> |
| ** 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>''' | | {| class="wikitable" |
| ** Assigns nodes to be structure nodes
| | |- |
| ** '''nodeList''' -- list containing the start and end nodes for assignment | | ! rowspan="4"| Parameters: |
| ** '''-append''' -- appends the nodes to the current set of structure nodes (otherwise, overwrites the current set) | | |* '''dtmax''' (''float'') - maximum time step |
| | | |- |
| | | |* '''dtmin''' (''float'') – minimum time step |
| | | |- |
| ''More commands will be documented soon'' | | |* '''gravity''' (''float'') – the gravity acceleration for fly-out nodes, up is positive. |
| | | |- |
| | | |* '''ratio''' (''float'') – the ratio for automatic reducing time step size. |
| | | |- |
| Code maintained by: <span style="color:blue">Michael H. Scott, Oregon State University</span>
| | ! |Returns: |
| | | |
| | |- |
| | ! |Return Type: |
| | | |
| | None |
| | |} |