Class LinearStaticSolver
Represents linear static solver
Defined in: jsbeams.src.js.
Constructor Attributes | Constructor Name and Description |
---|---|
LinearStaticSolver(beams, u, p, dspl, nodalLoad, withPrescribedDspl, computeReactions)
Linear static solver implementation
|
Field Attributes | Field Name and Description |
---|---|
vector of "beam loads", i.e.
|
|
array of beams to include
|
|
displacement vector
|
|
global stiffnesss matrix of whole structure
|
|
total load (sum od nodalLoad and beamLoad)
|
|
total number of degrees of freedom of solved structure
|
|
vector of external load in nodes (load from beams, i.e.
|
|
array of supported dofs
|
|
array of unsupported dofs
|
|
if there is some nonzero prescribed displacement of support
|
Method Attributes | Method Name and Description |
---|---|
assemble()
Assembles global stiffness matrix of whole structure from stiffness matrices of particular beams
|
|
<static> |
LinearStaticSolver.create(beams, u, p, dspl, nodalLoad, withPrescribedDspl, computeReactions)
Constructor, see LinearStaticSolver for input parameters description
|
Preprocesses all beams (sets their "beam load" and assemble it to global load vecor, set their geometric parameters and stiffness matrices
|
|
solve()
Solves unknown displacements and forces
|
|
update(preprocBeams, updateBeams)
Global function for whole simulation process
|
|
Postprocesses all beams (sets appropriate displacements to them)
|
Class Detail
LinearStaticSolver(beams, u, p, dspl, nodalLoad, withPrescribedDspl, computeReactions)
Linear static solver implementation
- Parameters:
- {[Beams]} beams
- array of beams representing domain
- {[ints]} u
- array of unsupported dofs
- {[ints]} p
- array of supported dofs
- {Vector} dspl Optional, Default: Vector.Zeros
- vector of prescribed nodal displacements
- {Vector} nodalLoad Optional, Default: Vector.Zeros
- vector of external load in nodes (load from beams, i.e. linear load, temperature etc. will be added separately from beams)
- {bool} withPrescribedDspl Optional, Default: true
- if there is some nonzero prescribed displacement of support
- {bool} computeReactions Optional, Default: false
- compute global reactions or not
Field Detail
{Vector}
beamLoad
vector of "beam loads", i.e. end forces from beam continuous load and temperature load
{[Beams]}
beams
array of beams to include
{Vector}
dspl
displacement vector
{Matrix}
K
global stiffnesss matrix of whole structure
{Vector}
load
total load (sum od nodalLoad and beamLoad)
{int}
nDofs
total number of degrees of freedom of solved structure
{Vector}
nodalLoad
vector of external load in nodes (load from beams, i.e. linear load, temperature etc. will be added separately from beams)
{[ints]}
p
array of supported dofs
{[ints]}
u
array of unsupported dofs
{bool}
withPrescribedDspl
if there is some nonzero prescribed displacement of support
- Default Value:
- false
Method Detail
assemble()
Assembles global stiffness matrix of whole structure from stiffness matrices of particular beams
<static>
{LinearStaticSolver}
LinearStaticSolver.create(beams, u, p, dspl, nodalLoad, withPrescribedDspl, computeReactions)
Constructor, see LinearStaticSolver for input parameters description
- Parameters:
- beams
- u
- p
- dspl
- nodalLoad
- withPrescribedDspl
- computeReactions
- Returns:
- {LinearStaticSolver} new LinearStaticSolver object
preprocBeams()
Preprocesses all beams (sets their "beam load" and assemble it to global load vecor, set their geometric parameters and stiffness matrices
solve()
Solves unknown displacements and forces
update(preprocBeams, updateBeams)
Global function for whole simulation process
- Parameters:
- preprocBeams
- updateBeams
updateBeams()
Postprocesses all beams (sets appropriate displacements to them)