Class: LinearStaticSolver

JSBeams. LinearStaticSolver

Represents linear static solver

new LinearStaticSolver(beams, u, p, dspl, nodalLoad, withPrescribedDspl, computeReactions)

Linear static solver implementation
This:
Parameters:
Name Type Argument Description
beams Array.<JSBeams.Beam2d> array of beams representing domain
u Array.<number> array of unsupported dofs
p Array.<number> array of supported dofs
dspl JSMatrix.Vector <optional>
=JSBeams.Vector.Zeros] vector of prescribed nodal displacements
nodalLoad JSMatrix.Vector <optional>
=JSBeams.Vector.Zeros] vector of external load in nodes (load from beams, i.e. linear load, temperature etc. will be added separately from beams)
withPrescribedDspl boolean <optional>
=true] if there is some nonzero prescribed displacement of support
computeReactions boolean <optional>
=false] compute global reactions or not
Properties:
Name Type Description
beams Array.<JSBeams.Beam2d> array of beams to include
u Array.<number> array of unsupported dofs
p Array.<number> array of supported dofs
nDofs number total number of degrees of freedom of solved structure
nodalLoad JSMatrix.Vector vector of external load in nodes (load from beams, i.e. linear load, temperature etc. will be added separately from beams)
withPrescribedDspl boolean if there is some nonzero prescribed displacement of support
K JSMatrix.Matrix global stiffnesss matrix of whole structure
dspl JSMatrix.Vector displacement vector
beamLoad JSMatrix.Vector vector of "beam loads", i.e. end forces from beam continuous load and temperature load
load JSMatrix.Vector total load (sum od nodalLoad and beamLoad)
Source:
  • /var/www/html/software/jsbeams/jsbeams.src.js, line 599

Methods

<static> create() → {JSBeams.LinearStaticSolver}

Constructor, see JSBeams.LinearStaticSolver for input parameters description
Source:
  • /var/www/html/software/jsbeams/jsbeams.src.js, line 688
Returns:
new LinearStaticSolver object
Type
JSBeams.LinearStaticSolver

assemble()

Assembles global stiffness matrix of whole structure from stiffness matrices of particular beams
Source:
  • /var/www/html/software/jsbeams/jsbeams.src.js, line 615

preprocBeams()

Preprocesses all beams (sets their "beam load" and assemble it to global load vecor, set their geometric parameters and stiffness matrices
Source:
  • /var/www/html/software/jsbeams/jsbeams.src.js, line 652

solve()

Solves unknown displacements and forces
Source:
  • /var/www/html/software/jsbeams/jsbeams.src.js, line 626

update()

Global function for whole simulation process
Source:
  • /var/www/html/software/jsbeams/jsbeams.src.js, line 676

updateBeams()

Postprocesses all beams (sets appropriate displacements to them)
Source:
  • /var/www/html/software/jsbeams/jsbeams.src.js, line 667