FEDEM Solver  R8.0
Source code of the dynamics solver
Functions/Subroutines | Variables
savereducermodule Module Reference

Module with subroutines for saving of FE model reduction results. More...

Functions/Subroutines

subroutine, public writemodes (chname, sam, partId, modeType, nMode, ev, sv, ierr)
 Administers writing of results database for fedem_reducer. More...
 
subroutine, public writedeformation (chname, sam, partId, nlc, mlc, sv, lpu, ierr)
 Administers writing of results database for fedem_partsol. More...
 
subroutine writemodesheader (rdb, nMode, nbit)
 Writes modal result definitions to the temporary header files. More...
 
subroutine writevectorheader (rdb, sam, nMode, nbit, ierr)
 Writes displacement vector definitions to temporary header files. More...
 
subroutine writenodesheader (rdb, sam, nbit)
 Writes nodal translation definitions to the temporary header files. More...
 
subroutine writedisplacementdb (rdb, sam, nComp, sv, mlc, lpu, ierr)
 Writes nodal displacements to the results database file. More...
 

Variables

integer, save idval
 
integer, dimension(2), save idvec
 
integer, save iddis
 
integer, save id3dof
 

Detailed Description

Module with subroutines for saving of FE model reduction results.

This module contains a collection of subroutines for writing results data from the FE model reduction process or direct linear solve to the results database.

Function/Subroutine Documentation

◆ writedeformation()

subroutine, public savereducermodule::writedeformation ( character*(*), intent(in)  chname,
type(samtype), intent(in)  sam,
integer, intent(in)  partId,
integer, intent(in)  nlc,
integer, dimension(:), intent(in)  mlc,
real(dp), dimension(:,:), intent(in)  sv,
integer, intent(in)  lpu,
integer, intent(out)  ierr 
)

Administers writing of results database for fedem_partsol.

Parameters
[in]chnameName of frs-file receiving the results data
[in]samData for managing system matrix assembly
[in]partIdBase ID of the FE part
[in]nlcNumber of load cases
[in]mlcLoad case identifiers
[in]svDisplacement vector in equation order
[in]lpuFile unit number for res-file output
[out]ierrError flag
Author
Knut Morten Okstad
Date
19 Mar 2018

◆ writedisplacementdb()

subroutine savereducermodule::writedisplacementdb ( type(rdbtype), intent(inout)  rdb,
type(samtype), intent(in)  sam,
integer, intent(in)  nComp,
real(dp), dimension(:,:), intent(in)  sv,
integer, dimension(:), intent(in), optional  mlc,
integer, intent(in), optional  lpu,
integer, intent(out)  ierr 
)

Writes nodal displacements to the results database file.

Parameters
rdbResults database file for displacement output
[in]samData for managing system matrix assembly
[in]nCompNumber of load cases or mode shapes
[in]svDisplacement vector in equation order
[in]mlcLoad case identifiers
[in]lpuFile unit number for res-file output
[out]ierrError flag
Author
Knut Morten Okstad
Date
4 Oct 2002
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writemodes()

subroutine, public savereducermodule::writemodes ( character*(*), intent(in)  chname,
type(samtype), intent(in)  sam,
integer, intent(in)  partId,
character*(*), intent(in)  modeType,
integer, intent(in)  nMode,
real(dp), dimension(:), intent(in)  ev,
real(dp), dimension(:,:), intent(in)  sv,
integer, intent(out)  ierr 
)

Administers writing of results database for fedem_reducer.

Parameters
[in]chnameName of frs-file receiving the results data
[in]samData for managing system matrix assembly
[in]partIdBase ID of the FE part
[in]modeTypeName of eigenmode item group
[in]nModeNumber of eigenmodes
[in]evEigenvalues
[in]svEigenvectors
[out]ierrError flag
Author
Knut Morten Okstad
Date
4 Oct 2002

◆ writemodesheader()

subroutine savereducermodule::writemodesheader ( type(rdbtype), intent(inout)  rdb,
integer, intent(in)  nMode,
integer, intent(in)  nbit 
)

Writes modal result definitions to the temporary header files.

Parameters
rdbResults database file for modes output
[in]nModeNumber of mode shapes
[in]nbitNumber of bits per real word
Author
Knut Morten Okstad
Date
4 Oct 2002
Here is the caller graph for this function:

◆ writenodesheader()

subroutine savereducermodule::writenodesheader ( type(rdbtype), intent(inout)  rdb,
type(samtype), intent(in)  sam,
integer, intent(in)  nbit 
)

Writes nodal translation definitions to the temporary header files.

Parameters
rdbResults database file for displacement output
[in]samData for managing system matrix assembly
[in]nbitNumber of bits per real word
Author
Knut Morten Okstad
Date
4 Oct 2002
Here is the caller graph for this function:

◆ writevectorheader()

subroutine savereducermodule::writevectorheader ( type(rdbtype), intent(inout)  rdb,
type(samtype), intent(in)  sam,
integer, intent(in)  nMode,
integer, intent(in)  nbit,
integer, intent(out), optional  ierr 
)

Writes displacement vector definitions to temporary header files.

Parameters
rdbResults database file for displacement output
[in]samData for managing system matrix assembly
[in]nModeNumber of mode shapes/flag (see below)
[in]nbitNumber of bits per real word
[out]ierrError flag

If nMode > 0, we are writing eigenmode shape vectors and its value indicates the number of mode shapes to write. If nMode equals zero, we are writing the displacement response for visualization use (translational DOF components only). If nMode < 0 the entire displacement vector is stored (including rotational DOFs).

Author
Knut Morten Okstad
Date
4 Oct 2002
Here is the caller graph for this function:

Variable Documentation

◆ id3dof

integer, save savereducermodule::id3dof
private

◆ iddis

integer, save savereducermodule::iddis
private

◆ idval

integer, save savereducermodule::idval
private

◆ idvec

integer, dimension(2), save savereducermodule::idvec
private