mechss
Description
Use mechss
to represent second-order sparse models using
matrices obtained from your finite element analysis (FEA) package. Such sparse models arise
from finite element analysis (FEA) and are useful in fields like structural analysis, fluid
flow, heat transfer, and electromagnetics. The resultant matrices from this type of modeling
are quite large with a sparse pattern. Hence, using mechss
is an efficient
way to represent such large sparse state-space models in MATLAB® to perform linear analysis. You can also use mechss
to
convert a first-order sparss
model object or other dynamic system models to a mechss
object.
You can use mechss
model objects to represent SISO or MIMO state-space
models in continuous time or discrete time. In continuous time, a second-order sparse
mass-spring-damper model is represented in the following form:
Here, the full state vector is given by where and are the displacement and velocity vectors. u
and
y
represent the inputs and outputs, respectively. M
,
C
and K
represent the mass, damping and stiffness
matrices, respectively. B
is the input matrix while F
and G
are the output matrices for displacement and velocity, respectively.
D
is the input-to-output matrix.
You can use a mechss
object to:
Perform time-domain and frequency-domain response analysis.
Specify signal-based connections with other LTI models.
Specify physical interfaces between components using the
interface
command.
For more information, see Sparse Model Basics.
Creation
Syntax
Description
creates a sys
= mechss(M
,C
,K
,B
,F
,G
,D
)mechss
object representing this continuous-time
second-order mass-spring-damper model:
Here, M
, C
, and
K
represent the mass, damping, and stiffness matrices,
respectively. B
is the input-to-state matrix while
F
and G
are the displacement-to-output and
velocity-to-output matrices resulting from the two components of the state
x
. D
is the input-to-output matrix. You can set
M
to []
when the mass matrix is an identity
matrix. Set G
and D
to []
or omit them when they are empty.
Input Arguments
Output Arguments
Properties
Object Functions
The following lists show functions you can use with mechss
model
objects.
Examples
References
[1] H. Hilber, T. Hughes & R. Taylor. " Improved numerical dissipation for time integration algorithms in structural dynamics." Earthquake Engineering and Structural Dynamics, vol. 5, no. 3, pp. 283-292, 1977.
[2] M. Hosea and L. Shampine. "Analysis and implementation of TR-BDF2." Applied Numerical Mathematics, vol. 20, no. 1-2, pp. 21-37, 1996.
Version History
Introduced in R2020b