Model command: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 29: Line 29:


EXAMPLE:
EXAMPLE:


<source lang="tcl">
<source lang="tcl">

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