Skip to content

Commit f949412

Browse files
authored
Update eigen.rst
1 parent 13412d7 commit f949412

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

source/user/manual/analysis/eigen.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ eigen Command
55

66
This command is used to perform the eigenvalue analysis.
77

8-
.. function:: eigen <$solver> $numEigenvalues
8+
.. function:: eigen <type> <$solver> $numEigenvalues
99

1010
.. csv-table::
1111
:header: "Argument", "Type", "Description"
1212
:widths: 10, 10, 40
1313

1414
$numEigenvalues, |integer|, number of eigenvalues required.
15-
$solver, |string|, "optional string detailing type of solver: -genBandArpack, -symmBandLapack, -fullGenLapack (default: -genBandArpack)."
15+
$solver, |string|, "optional string detailing type of solver: -genBandArpack (default), -fullGenLapack, -symmBandLapack."
16+
$type, |string|, optional string indicating type of eigenvalue problem to solve: 'general' (default) or 'standard'
1617

1718
.. admonition:: Returns
1819

@@ -22,6 +23,7 @@ This command is used to perform the eigenvalue analysis.
2223
.. note::
2324
1. The eigenvectors are stored at the nodes and can be printed out using a Node Recorder, the nodeEigenvector command, or the Print command.
2425
2. The default eigensolver is able to solve only for N-1 eigenvalues, where N is the number of inertial DOFs. When running into this limitation the -fullGenLapack solver can be used instead of the default Arpack solver.
26+
3. The -symmBandLapack option works only standard eigenvalue analysis of the stiffness matrix, i.e., K*x = lam*x
2527

2628
Theory
2729
^^^^^^
@@ -51,6 +53,9 @@ Theory
5153
# or, obtain 10 eigenvalues explicitly specifying the solver
5254
set eigenvalues [eigen -fullGenLapack 10]
5355
56+
# obtain 10 eigenvalues of the stiffness matrix
57+
set eigenvalues [eigen standard -symmBandLapack 10]
58+
5459
2. **Python Code**
5560

5661
.. code:: python
@@ -61,4 +66,7 @@ Theory
6166
# or, obtain 10 eigenvalues explicitly specifying the solver
6267
eigenvalues = eigen('-fullGenLapack', 10)
6368
69+
# obtain 10 eigenvalues of the stiffness matrix
70+
eigenvalues = eigen('standard','-symmBandLapack',10)
71+
6472
Code Developed by: |fmk|

0 commit comments

Comments
 (0)