Model command: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
(New page: This command is used to define spatial dimension and number of degrees-of-freedom at nodes for subsequent modeling commands. '''model BasicBuilder -ndm $ndm <-ndf $ndf>''' <table width="...)
 
No edit summary
Line 1: Line 1:
This command is used to define spatial dimension and number of degrees-of-freedom at nodes for subsequent modeling commands.
This command is used to define spatial dimension of model and number of degrees-of-freedom at nodes. Once issued additional commands are added to interpreter.


'''model BasicBuilder -ndm $ndm <-ndf $ndf>'''
{|
| style="background:yellow; color:black; width:600px" | '''model BasicBuilder -ndm $ndm <-ndf $ndf>'''
|}
 
----
 
{|
|  style="width:150px" | '''$ndm ''' || spatial dimension of problem (1,2, or 3)
|-
|  '''$ndf ''' || number of degrees of freedom at node (optional)
|-
| || default value depends on value of ndm:
|-
| || ndm=1 -> ndf=1
|-
| || ndm=2 -> ndf=3
|-
| || ndm=3 -> ndf=6
|}


<table width="585" cellpadding="2" cellspacing="0" border="0" style="border-collapse:collapse">
<tr align="left" valign="top">
<td width="151"><p class="tablebodytext"><strong class="specialbold">$ndm</strong></p>
</td>
<td width="434"><p class="tablebodytext">dimension of problem (1,2 or 3)</p>
</td>
</tr>
<tr align="left" valign="top">
<td width="151"><p class="tablebodytext"><strong class="specialbold">$ndf</strong></p>
</td>
<td width="434"><p class="tablebodytext">number of degrees of freedom at node (optional)</p>
<p class="tablebodytext">(default value depends on value of ndm:</p>
<p class="tablebodytext">ndm=1 -&gt; ndf=1</p>
<p class="tablebodytext">ndm=2 -&gt; ndf=3</p>
<p class="tablebodytext">ndm=3 -&gt; ndf=6)</p>
</td>
</tr>
</table>




Line 28: Line 28:


model basic -ndm 3 -ndf 6; # 3 spacial dimensions, 6 DOF's per node
model basic -ndm 3 -ndf 6; # 3 spacial dimensions, 6 DOF's per node
Code Developed by: <span style="color:blue"> fmk </span>

Revision as of 19:02, 24 September 2009

This command is used to define spatial dimension of model and number of degrees-of-freedom at nodes. Once issued additional commands are added to interpreter.

model BasicBuilder -ndm $ndm <-ndf $ndf>

$ndm spatial dimension of problem (1,2, or 3)
$ndf number of degrees of freedom at node (optional)
default value depends on value of ndm:
ndm=1 -> ndf=1
ndm=2 -> ndf=3
ndm=3 -> ndf=6


These additional commands allow for the construction of Nodes, Masses, Materials (nDMaterial Command, uniaxialMaterial Command), Sections, Elements, LoadPatterns, TimeSeries, Transformations, Blocks and Constraints. These additional commands are described in the subsequent chapters.

EXAMPLE:

model basic -ndm 3 -ndf 6; # 3 spacial dimensions, 6 DOF's per node

Code Developed by: fmk