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
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
This command is used to define spatial dimension and number of degrees-of-freedom at nodes for subsequent modeling commands.
{{CommandManualMenu}}
 
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.
 
{|
| style="background:lime; color:black; width:800px" | '''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
|}


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


<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 27: Line 30:
EXAMPLE:
EXAMPLE:


model basic -ndm 3 -ndf 6; # 3 spacial dimensions, 6 DOF's per node
 
<source lang="tcl">
model basic -ndm 2 -ndf 3; # 2 spacial dimensions, 3 DOF's per node
</source>
 
[[Example3.1.tcl]]
 
----
 
Code Developed by: <span style="color:blue"> fmk </span>

Latest revision as of 20:04, 10 April 2014




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 2 -ndf 3; # 2 spacial dimensions, 3 DOF's per node

Example3.1.tcl


Code Developed by: fmk