Model command: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 30: Line 30:


[[Example3.1.tcl]]
[[Example3.1.tcl]]
----


Code Developed by: <span style="color:blue"> fmk </span>
Code Developed by: <span style="color:blue"> fmk </span>

Revision as of 22:26, 24 February 2010

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