FEDEM Solver
R8.0
Source code of the dynamics solver
|
Initialization of model data from the FEDEM solver input file. More...
Functions/Subroutines | |
subroutine | readsolverdata (chfsi, sys, ctrl, mech, modelFileName, doEnergyInt, err) |
Administers reading of model data from the FEDEM solver input file. More... | |
subroutine | preprocesssolverdata (sam, sys, ctrl, modes, mech, ipsw, err) |
Administers preprocessing of model data for the dynamics solver. More... | |
Initialization of model data from the FEDEM solver input file.
subroutine initiatemodule::preprocesssolverdata | ( | type(samtype), intent(out) | sam, |
type(systemtype), intent(inout) | sys, | ||
type(controltype), intent(in) | ctrl, | ||
type(modestype), intent(out) | modes, | ||
type(mechanismtype), intent(inout) | mech, | ||
integer, intent(in) | ipsw, | ||
integer, intent(out) | err | ||
) |
Administers preprocessing of model data for the dynamics solver.
[out] | sam | Data for managing system matrix assembly |
sys | System level model data | |
[in] | ctrl | Control system data |
[out] | modes | Data for eigenmodes |
mech | Mechanism components of the model | |
[in] | ipsw | Print switch; the higher value the more print is produced |
[out] | err | Error flag |
This subroutine builds up the necessary data structures and resolves cross references, etc., after the solver input file has been read.
subroutine initiatemodule::readsolverdata | ( | character(len=*), intent(in), optional | chfsi, |
type(systemtype), intent(out) | sys, | ||
type(controltype), intent(out) | ctrl, | ||
type(mechanismtype), intent(out) | mech, | ||
character(len=*), intent(out) | modelFileName, | ||
logical, intent(out) | doEnergyInt, | ||
integer, intent(out) | err | ||
) |
Administers reading of model data from the FEDEM solver input file.
[in] | chfsi | Text string containing the entire solver model |
[out] | sys | System level model data |
[out] | ctrl | Control system data |
[out] | mech | Mechanism components of the model |
[out] | modelFileName | Name of the FEDEM model file |
[out] | doEnergyInt | If .true., energy integration is requested |
[out] | err | Error flag |
This subroutine parses the FEDEM solver input file and initializes all solver objects based on it. The name of the solver input file is obtained from the command-line argument -fsifile
(and -fsi2file
). Alternatively, the model can be initialized by passing the entire input file content through the input variable cfsi.