FEDEM Solver  R8.0
Source code of the dynamics solver
Data Types | Modules | Functions/Subroutines | Variables
saveModule.f90 File Reference

Save of time history variables to result database files. More...

Data Types

type  savemodule::headerid
 Variable- and item group indices for response data files. More...
 

Modules

module  savemodule
 Module with subroutines for saving of time history results.
 

Functions/Subroutines

subroutine savemodule::writeitgref (iFile, itemGroup)
 Writes an item group reference to the file header. More...
 
subroutine, public savemodule::initiatesavemodule ()
 Initializes the solver result database file. More...
 
subroutine, public savemodule::writesolverheaders (cResponseFiles, mech, control, modes, bufRat, neq, writeAsDouble, ierr, modelFile)
 Administers writing of results database headers. More...
 
subroutine initheader
 Initializes all response header variables. More...
 
subroutine, public savemodule::flushresultfiles (ierr)
 Flushes the results database file(s) to disk. More...
 
subroutine, public savemodule::closeresultfiles (haveData, ierr)
 Closes the results database file(s). More...
 
subroutine, public savemodule::writesolverdb1 (sys, triads, sups, writeAsDouble, ierr)
 Administers writing of primary response results to database file. More...
 
subroutine, public savemodule::writesolverdb2 (sys, mech, control, scaleTo, eta, ws, writeAsDouble, ierr)
 Administers writing of secondary response results to database file. More...
 
subroutine, public savemodule::writesolverdb5 (sys, triads, sups, masses, ierr)
 Administers writing of frequency response results to database file. More...
 
logical function savemodule::insertidmap (iVal, iMap, nId, id)
 Helper function inserting an integer pair into a map. More...
 
subroutine savemodule::writedofig (itemGroup, jDof, cIG)
 Writes an item group reference for a joint or triad DOF. More...
 
subroutine savemodule::writesupelheader1 (respDB, header, supel, nBits, ierr)
 Writes primary results database file header for a superelement. More...
 
subroutine savemodule::writesupelheader2 (respDB, header, supel, nBits, includePosMat, ierr)
 Writes secondary results database file header for a superelement. More...
 
subroutine savemodule::writeuserdefelheader (respDB, header, elm, nBits)
 Writes results database file header for a user-defined element. More...
 
subroutine savemodule::writetriadheader1 (respDB, header, triad, nBits)
 Writes primary results database file header for a triad. More...
 
subroutine savemodule::writetriadheader2 (respDB, header, triad, nBits, includePosMat, ierr)
 Writes secondary results database file header for a triad. More...
 
subroutine savemodule::writespringelementheader (respDB, header, spring, nBits, ierr)
 Writes results database file header for an axial spring. More...
 
subroutine savemodule::writespringheader (respDB, header, spring, sDof, nBits, ierr)
 Writes results database file header for a spring. More...
 
subroutine savemodule::writeaxialdamperheader (respDB, header, damper, nBits, ierr)
 Writes results database file header for an axial damper. More...
 
subroutine savemodule::writedamperheader (respDB, header, damper, dDof, nBits, ierr)
 Writes results database file header for a damper. More...
 
subroutine savemodule::writefrictionheader (respDB, header, friction, jointDof, nBits, ierr)
 Writes results database file header for a friction. More...
 
subroutine savemodule::writeforceheader (respDB, header, force, nBits)
 Writes results database file header for an external force. More...
 
subroutine savemodule::writejointheader (respDB, header, joint, forces, motions, nBits, ierr)
 Writes results database file header for a joint. More...
 
subroutine writejointvarheader (jDof, jointDof)
 Writes an item group definition for a joint variable. More...
 
subroutine savemodule::writecontactheader (respDB, header, cElem, nBits, ierr)
 Writes results database file header for a contact element. More...
 
subroutine savemodule::writetireheader (respDB, header, tire, nBits, ierr)
 Writes results database file header for a tire. More...
 
subroutine savemodule::writeengineheader (respDB, header, engine)
 Writes results database file header for a general function (engine). More...
 
subroutine savemodule::writecontrolheader (respDB, header, ctrl)
 Writes results database file header for the control system. More...
 
subroutine savemodule::writemechanismheader (respDB, header, mech, neq)
 Writes results database file header for the mechanism. More...
 
subroutine writeitgdefsub (cId, indent, newLine)
 Writes an indented item group definition. More...
 
subroutine savemodule::writewindturbineheader (respDB, turbine)
 Writes results database file header for a wind turbine. More...
 
subroutine savemodule::writetriaddb1 (respDB, triad, writeAsDouble, ierr)
 Writes primary variables for a triad to results database. More...
 
subroutine savemodule::writetriaddb2 (respDB, triad, writeAsDouble, ierr)
 Writes secondary variables for a triad to results database. More...
 
subroutine savemodule::writetriadforcesdb (respDB, triad, ierr)
 Writes some force variables for a triad to results database. More...
 
subroutine savemodule::writesupeldb1 (respDB, supel, writeAsDouble, ierr)
 Writes primary variables for a superelement to results database. More...
 
subroutine savemodule::writesupeldb2 (respDB, supel, masses, sysMass, sysCG, sysVb, sysCB, writeAsDouble, ierr)
 Writes secondary variables for a superelement to results database. More...
 
subroutine savemodule::writeuserdefeldb (respDB, elm, writeAsDouble, ierr)
 Writes results for a user-defined element to results database file. More...
 
subroutine savemodule::writespringdb (respDB, spring, writeAsDouble, ierr)
 Writes results for a spring to results database file. More...
 
subroutine savemodule::writedamperdb (respDB, damper, writeAsDouble, ierr)
 Writes results for a damper to results database file. More...
 
subroutine savemodule::writefrictiondb (respDB, friction, writeAsDouble, ierr)
 Writes results for a friction to results database file. More...
 
subroutine savemodule::writeforcedb (respDB, force, writeAsDouble, ierr)
 Writes results for an external force to results database file. More...
 
subroutine savemodule::writejointdb (respDB, joint, forces, motions, writeAsDouble, ierr)
 Writes results for a joint to results database file. More...
 
subroutine writejointvardb (respDB, jointDof, ierr)
 Writes a joint variable to the results database file. More...
 
subroutine savemodule::writecontactdb (respDB, cElem, writeAsDouble, ierr)
 Writes results for a contact element to results database file. More...
 
subroutine savemodule::writetiredb (respDB, tire, scaleTo, sysMass, sysCG, writeAsDouble, ierr)
 Writes results for a tire to results database file. More...
 
subroutine savemodule::writeenginedb (respDB, engine, ierr)
 Writes results for a general function to results database file. More...
 
subroutine savemodule::writecontroldb (respDB, ctrl, ierr)
 Writes results for the control system to results database file. More...
 
subroutine savemodule::writemechanismdb (respDB, mech, sys, posCG, posCB, sysVB, ierr)
 Writes results for the mechanism to results database file. More...
 

Variables

type(rdbtype), save, public savemodule::res1db
 File for primary response variables. More...
 
type(rdbtype), save, public savemodule::res2db
 File for secondary response variables. More...
 
type(rdbtype), save, public savemodule::modedb
 File for modal data. More...
 
type(rdbtype), save, public savemodule::ctrldb
 File for control system data. More...
 
type(rdbtype), save, public savemodule::freqdb
 File for frequency domain response variables. More...
 
integer, parameter savemodule::nvarcti_p = 100
 Number of CTI variables in debug mode. More...
 
integer, parameter savemodule::max_ude_p = 100
 Max. user-defined element variables. More...
 

Detailed Description

Save of time history variables to result database files.

Function/Subroutine Documentation

◆ initheader()

subroutine writesolverheaders::initheader

Initializes all response header variables.

◆ writeitgdefsub()

subroutine writemechanismheader::writeitgdefsub ( character(len=*), intent(in)  cId,
integer, intent(in)  indent,
logical, intent(in), optional  newLine 
)

Writes an indented item group definition.

◆ writejointvardb()

subroutine writejointdb::writejointvardb ( type(rdbtype), intent(inout)  respDB,
type(jointdoftype), intent(in)  jointDof,
integer, intent(out)  ierr 
)

Writes a joint variable to the results database file.

◆ writejointvarheader()

subroutine writejointheader::writejointvarheader ( integer, intent(in)  jDof,
type(jointdoftype), intent(in)  jointDof 
)

Writes an item group definition for a joint variable.