PFEM Analysis: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[FSI | < Back]] | |||
'''analysis'''(''regTag[, '-ele', e1, e2, ...][, '-eleRange', e1, e2, ...][, '-node', nd1, nd2, ...][, '-nodeRange', nd1, nd2][, '-rayleigh', alphaM, betaK, betaKinit, betaKcomm][, 'getNodeTags'][, 'getConnectedEleTags'][, 'getEleTags'][, '-mass', m1, m2, ...]'') <span id="pyregion"> ¶</span> | |||
<blockquote>an enhanced region command</blockquote> | |||
{| class="wikitable" | |||
* ''' | |- | ||
! rowspan="10"| Parameters: | |||
|* '''regTag''' (''int'') - a predefined or new region tag. | |||
|- | |||
|* ''''-ele', e1, e2, ...''' (''int'') – the region is defined by elements e1, e2, .... If no tag is given, then all elements are added. | |||
|- | |||
|* ''''-eleRange', e1, e2, ...''' (''int'') – the region is defined by elements in the range [e1, e2]. | |||
|- | |||
|* ''''-node', nd1, nd2, ...''' (''int'') – the region is defined by nodes nd1, nd2, .... If no tag is given, then all nodes are added. | |||
|- | |||
* ''' | |* ''''-nodeRange', nd1, nd2, ...''' (''int'') – the region is defined by nodes in the range [nd1 nd2]. | ||
|- | |||
* | |* ''''-rayleigh', alphaM, betaK, betaKinit, betaKcomm ''' (''float'') – arguments as in [[rayleigh]] command. | ||
* | |- | ||
* | |* ''''-getNodeTags'''' (''str'') – return all node tags in the region. | ||
|- | |||
|* ''''-getConnectedEleTags'''' (''str'') – return all elements that connect to all nodes in the region. | |||
|- | |||
|* ''''-getEleTags'''' (''str'') – return all elements that are added by mesh/remesh commands. | |||
* ''' | |- | ||
|* '''''-mass', m1, m2, ...'''' (''float'') – set the nodal mass for all nodes in the region. | |||
|- | |||
! |Returns: | |||
| a list of node or element tags if ‘-getNodeTags’, ‘-getConnectedEleTags’, ‘-getEleTags’ are specified, otherwise, returns None. | |||
|- | |||
! |Return Type: | |||
| | |||
list(int) or None | |||
|} |
Revision as of 21:56, 30 June 2017
analysis(regTag[, '-ele', e1, e2, ...][, '-eleRange', e1, e2, ...][, '-node', nd1, nd2, ...][, '-nodeRange', nd1, nd2][, '-rayleigh', alphaM, betaK, betaKinit, betaKcomm][, 'getNodeTags'][, 'getConnectedEleTags'][, 'getEleTags'][, '-mass', m1, m2, ...]) ¶
an enhanced region command
Parameters: | * regTag (int) - a predefined or new region tag. |
---|---|
* '-ele', e1, e2, ... (int) – the region is defined by elements e1, e2, .... If no tag is given, then all elements are added. | |
* '-eleRange', e1, e2, ... (int) – the region is defined by elements in the range [e1, e2]. | |
* '-node', nd1, nd2, ... (int) – the region is defined by nodes nd1, nd2, .... If no tag is given, then all nodes are added. | |
* '-nodeRange', nd1, nd2, ... (int) – the region is defined by nodes in the range [nd1 nd2]. | |
* '-rayleigh', alphaM, betaK, betaKinit, betaKcomm (float) – arguments as in rayleigh command. | |
* '-getNodeTags' (str) – return all node tags in the region. | |
* '-getConnectedEleTags' (str) – return all elements that connect to all nodes in the region. | |
* '-getEleTags' (str) – return all elements that are added by mesh/remesh commands. | |
* -mass', m1, m2, ...' (float) – set the nodal mass for all nodes in the region. | |
Returns: | a list of node or element tags if ‘-getNodeTags’, ‘-getConnectedEleTags’, ‘-getEleTags’ are specified, otherwise, returns None. |
Return Type: |
list(int) or None |