SIFEL/MEFEL/SRC/mtsolver.h File Reference

#include <stdio.h>
#include "selection.h"
#include "timecontr.h"
#include "mtglvec.h"

Go to the source code of this file.

Functions

void aux_nonlintime_print (FILE *aux, double *r, double l)
 candidate for removal
long one_step (long lcid, double time, double dt, double &dtr, long istep, long li, mt_glob_vec &mt_gv)
 function performs one time step of visco_solver2
void solve_time_dep_prob ()
 function invokes solver of time dependent problems
void solver_restore (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved step of the solver and internal data and restarts computation
void solver_restore_binary (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved actual step of the solver and internal data and restarts computation (binary format)
void solver_restore_binary_multiple (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved actual step of the solver and internal data and restarts computation from binary files
void solver_restore_binary_single (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved actual step of the solver and internal data and restarts computation from a binary file
void solver_restore_text (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved actual step of the solver and internal data and restarts computation (text format)
void solver_restore_text_multiple (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved actual step of the solver and internal data and restarts computation from text files
void solver_restore_text_single (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved actual step of the solver and internal data and restarts computation from a text file
void solver_save (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart
void solver_save_binary (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart in a binary format
void solver_save_binary_multiple (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart in a binary file (multiple files)
void solver_save_binary_single (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart in a binary file (single file)
void solver_save_text (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart in a text format
void solver_save_text_multiple (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart in a text file (multiple files)
void solver_save_text_single (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart in a text file (single file)
void visco_solver (long lcid)
 solver of time dependent problems, viscous models can be used
void visco_solver2 (long lcid)
 solver of time dependent problems built on one step concept
void visco_solver_init (long lcid, mt_glob_vec &mt_gv)
 initialization phase of visco_solver for one_step concept

Function Documentation

void aux_nonlintime_print ( FILE *  aux,
double *  r,
double  l 
)

candidate for removal

long one_step ( long  lcid,
double  time,
double  dt,
double &  dtr,
long  istep,
long  li,
mt_glob_vec mt_gv 
)

function performs one time step of visco_solver2

Function executes one step of time dependent mechanical algorithm (visco-elasticity, visco-plasticity, etc.)

Parameters:
lcid - load case id
time - actual time
dt - actual time increment
dtr - the minimum ratio of required time step size to the actual one required by material models (output)
istep - time step id
li - time step id of the first performed time step
mt_gv - structure with pointers to vectors of righthand and lefthand side
Return values:
0 - if the equilibrium was attained with NO inner loop
>0 - if the equilibrium was attained and inner loop WAS performed
-1 - if the equilibrium was NOT attained

Created by JK, 19.9.2004 Modified by TKo, 11.2011

Definition at line 570 of file mtsolver.cpp.

References addv(), mechbclc::comp_sum(), copyv(), nonlinman::divc_err, nonlinman::divc_step, mt_glob_vec::dr, nonlinman::errnr, mt_glob_vec::f, f, mt_glob_vec::fb, mt_glob_vec::fi, mt_glob_vec::fl, mt_glob_vec::fp, gnewton_raphson_one_step(), incr_internal_forces(), probdesc::istep, probdesc::jstep, mt_glob_vec::lhsb, Mb, mefel_right_hand_side(), Mespr, Mp, Ndofm, nonlinman::niilnr, probdesc::nlman, probdesc::otherstate, Out, mt_glob_vec::r, probdesc::strainstate, probdesc::stressstate, subv(), and probdesc::time.

Referenced by newton_raphson_parcoupl_common_dt(), newton_raphson_parcoupl_comp(), and visco_solver2().

void solve_time_dep_prob (  ) 

function invokes solver of time dependent problems

The function calls solver of time dependent problems (viscoplasticity) for each load case.

Returns:
The function does not return anything.

Created by JK,

Definition at line 33 of file mtsolver.cpp.

References visco_solver2().

Referenced by solve_mefel_deterministic_problem().

void solver_restore ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved step of the solver and internal data and restarts computation

Function restores all necessary data from the backup file. The process is driven by backup controler Mp->hdbcont. Data from solver are passed through parameters of the function.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 571 of file backupsol.cpp.

References binary, probdesc::hdbcont, hdbcontr::hdbfmtr, Mp, print_err(), solver_restore_binary(), solver_restore_text(), and text.

Referenced by arclengthrv(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_restart(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_newton_raphson_parcoupl_lin(), par_newton_raphson_parcoupl_nonlin(), par_solve_prob_constr_phases(), par_solve_timemech_prob(), par_visco_mefel_init(), par_visco_solver_init(), solve_nonlinear_statics(), solve_prob_constr_phases(), visco_solver(), and visco_solver_init().

void solver_restore_binary ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved actual step of the solver and internal data and restarts computation (binary format)

Function restores all necessary data from the binary backup file. The process is driven by backup controler Mp->hdbcont. Data from solver are passed through parameters of the function.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 639 of file backupsol.cpp.

References probdesc::hdbcont, hdbr_multiple, hdbr_single, hdbrs_multiple, hdbrs_single, hdbcontr::hdbtype, Mp, print_err(), solver_restore_binary_multiple(), and solver_restore_binary_single().

Referenced by solver_restore().

void solver_restore_binary_multiple ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved actual step of the solver and internal data and restarts computation from binary files

Function restores all necessary data from the separated text backup file. The process is driven by backup controler Mp->hdbcont. Data from solver are passed through parameters of the function. Individual quantities have to be saved into separated files, each file contains given quantity for all integration points or all data needed by solver. The file names consist of name specified in the Mp->hdbcont, time step id, description of the saved quantity and .bac suffix. Description of the quantity can be: solver - file contains date needed by solver strain - array of strains at all integration points stress - array of stresses at all integration points other - selected components of eqother array at all integration points nonloc - adjacent integration points and their distances at all integration points (used only for nonlocal material models) These points are saved only once in the adjacip() function. The process is driven by the backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 972 of file backupsol.cpp.

References mechtop::elements, FNAMELEN, mechtop::give_ndofe(), mechtop::give_ndofn(), growing_mech_structure, probdesc::hdbcont, hdbcontr::hdbnamer, hdbcontr::hdbnames, element::initdispl, Mm, Mp, Mt, mechtop::ne, mechtop::nn, mechtop::nodedispl, print_err(), timecontr::restore_bin(), mechmat::restore_intpoints_bin(), hdbcontr::selelemr, hdbcontr::selother_id, hdbcontr::selother_r, mechmat::tnip, and probdesc::tprob.

Referenced by solver_restore_binary().

void solver_restore_binary_single ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved actual step of the solver and internal data and restarts computation from a binary file

Function restores all necessary data from the one huge binary backup file. The process is driven by backup controler Mp->hdbcont. Data from solver are passed through parameters of the function.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 878 of file backupsol.cpp.

References mechtop::elements, FNAMELEN, mechtop::give_ndofe(), mechtop::give_ndofn(), growing_mech_structure, probdesc::hdbcont, hdbcontr::hdbnamer, element::initdispl, Mm, Mp, Mt, mechtop::ne, mechtop::nn, mechtop::nodedispl, print_err(), timecontr::restore_bin(), mechmat::restore_intpoints_bin(), hdbcontr::selelemr, hdbcontr::selother_id, hdbcontr::selother_r, mechmat::tnip, and probdesc::tprob.

Referenced by solver_restore_binary().

void solver_restore_text ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved actual step of the solver and internal data and restarts computation (text format)

Function restores all necessary data from the text backup file. The process is driven by backup controler Mp->hdbcont. Data from solver are passed through parameters of the function.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 604 of file backupsol.cpp.

References probdesc::hdbcont, hdbr_multiple, hdbr_single, hdbrs_multiple, hdbrs_single, hdbcontr::hdbtype, Mp, print_err(), solver_restore_text_multiple(), and solver_restore_text_single().

Referenced by solver_restore().

void solver_restore_text_multiple ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved actual step of the solver and internal data and restarts computation from text files

Function restores all necessary data from the separated text backup file. The process is driven by backup controler Mp->hdbcont. Data from solver are passed through parameters of the function. Individual quantities have to be saved into separated files, each file contains given quantity for all integration points or all data needed by solver. The file names consist of name specified in the Mp->hdbcont, time step id, description of the saved quantity and .bac suffix. Description of the quantity can be: solver - file contains date needed by solver strain - array of strains at all integration points stress - array of stresses at all integration points other - selected components of eqother array at all integration points nonloc - adjacent integration points and their distances at all integration points (used only for nonlocal material models) These points are saved only once in the adjacip() function. The process is driven by the backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 777 of file backupsol.cpp.

References mechtop::elements, FNAMELEN, mechtop::give_ndofe(), mechtop::give_ndofn(), growing_mech_structure, probdesc::hdbcont, hdbcontr::hdbnamer, hdbcontr::hdbnames, element::initdispl, Mm, Mp, Mt, Ndofm, mechtop::ne, mechtop::nn, mechtop::nodedispl, print_err(), mechmat::restore_intpoints_txt(), timecontr::restore_txt(), hdbcontr::selelemr, hdbcontr::selother_id, hdbcontr::selother_r, mechmat::tnip, and probdesc::tprob.

Referenced by solver_restore_text().

void solver_restore_text_single ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved actual step of the solver and internal data and restarts computation from a text file

Function restores all necessary data from the one huge text backup file. The process is driven by backup controler Mp->hdbcont. Data from solver are passed through parameters of the function.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 674 of file backupsol.cpp.

References mechtop::elements, FNAMELEN, mechtop::give_ndofe(), mechtop::give_ndofn(), growing_mech_structure, probdesc::hdbcont, hdbcontr::hdbnamer, element::initdispl, Mm, Mp, Mt, Ndofm, mechtop::ne, mechtop::nn, mechtop::nodedispl, print_err(), mechmat::restore_intpoints_txt(), timecontr::restore_txt(), hdbcontr::selelemr, hdbcontr::selother_id, hdbcontr::selother_r, mechmat::tnip, and probdesc::tprob.

Referenced by solver_restore_text().

void solver_save ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart

Function saves all necessary data to backup file in the given time step. The process is driven by backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 29 of file backupsol.cpp.

References binary, probdesc::hdbcont, hdbcontr::hdbfmts, Mp, print_err(), solver_save_binary(), solver_save_text(), and text.

Referenced by garclength(), gnewton_raphson(), gnewton_raphson2(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_common_dt(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_parcoupl_nonlin_new(), newton_raphson_parcoupl_nonlin_old(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_newton_raphson_parcoupl_lin(), par_newton_raphson_parcoupl_nonlin(), par_one_step(), par_one_step_mefel(), par_solve_prob_constr_phases(), par_solve_timemech_prob(), par_solve_timemech_prob_old(), solve_prob_constr_phases(), visco_solver(), and visco_solver2().

void solver_save_binary ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart in a binary format

Function saves all necessary data to the binary backup file in the given time step. The process is driven by backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 97 of file backupsol.cpp.

References probdesc::hdbcont, hdbrs_multiple, hdbrs_single, hdbs_multiple, hdbs_single, hdbcontr::hdbtype, Mp, print_err(), solver_save_binary_multiple(), and solver_save_binary_single().

Referenced by solver_save().

void solver_save_binary_multiple ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart in a binary file (multiple files)

Function saves all necessary data to the several binary backup files in the given time step. Individual quantities are saved into separated files, each file contains given quantity for all integration points or all data needed by solver. The file names consist of name specified in the Mp->hdbcont, time step id, description of the saved quantity and .bac suffix. Description of the quantity can be: solver - file contains date needed by solver strain - array of strains at all integration points stress - array of stresses at all integration points other - selected components of eqother array at all integration points nonloc - adjacent integration points and their distances at all integration points (used only for nonlocal material models) These points are saved only once in the adjacip() function. The process is driven by the backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 459 of file backupsol.cpp.

References mechtop::elements, FNAMELEN, mechtop::give_ndofe(), mechtop::give_ndofn(), growing_mech_structure, probdesc::hdbcont, hdbcontr::hdbnames, element::initdispl, Mm, Mp, Mt, mechtop::ne, mechtop::nn, mechtop::nodedispl, print_err(), hdbcontr::rmold, hdbcontr::rmold_id, timecontr::save_bin(), mechmat::save_intpoints_bin(), hdbcontr::selelems, hdbcontr::selother_s, mechmat::tnip, and probdesc::tprob.

Referenced by solver_save_binary().

void solver_save_binary_single ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart in a binary file (single file)

Function saves all necessary data to the single binary backup file in the given time step. The process is driven by backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 361 of file backupsol.cpp.

References mechtop::elements, FNAMELEN, mechtop::give_ndofe(), mechtop::give_ndofn(), growing_mech_structure, probdesc::hdbcont, hdbcontr::hdbnames, element::initdispl, Mm, Mp, Mt, mechtop::ne, mechtop::nn, mechtop::nodedispl, print_err(), hdbcontr::rmold, hdbcontr::rmold_id, timecontr::save_bin(), mechmat::save_intpoints_bin(), hdbcontr::selelems, hdbcontr::selother_s, mechmat::tnip, and probdesc::tprob.

Referenced by solver_save_binary().

void solver_save_text ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart in a text format

Function saves all necessary data to the text backup file in the given time step. The process is driven by backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 62 of file backupsol.cpp.

References probdesc::hdbcont, hdbrs_multiple, hdbrs_single, hdbs_multiple, hdbs_single, hdbcontr::hdbtype, Mp, print_err(), solver_save_text_multiple(), and solver_save_text_single().

Referenced by solver_save().

void solver_save_text_multiple ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart in a text file (multiple files)

Function saves all necessary data to the several text backup files in the given time step. Individual quantities are saved into separated files, each file contains given quantity for all integration points or all data needed by solver. The file names consist of name specified in the Mp->hdbcont, time step id, description of the saved quantity and .bac suffix. Description of the quantity can be: solver - file contains date needed by solver initdispl - file contains initial displacements at nodes and elements (created only in case of growing structures) strain - array of strains at all integration points stress - array of stresses at all integration points other - selected components of eqother array at all integration points nonloc - adjacent integration points and their distances at all integration points (used only for nonlocal material models) These points are saved only once in the adjacip() function. The process is driven by the backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 241 of file backupsol.cpp.

References mechtop::elements, FNAMELEN, mechtop::give_ndofe(), mechtop::give_ndofn(), growing_mech_structure, probdesc::hdbcont, hdbcontr::hdbnames, element::initdispl, Mm, Mp, Mt, mechtop::ne, mechtop::nn, mechtop::nodedispl, hdbcontr::prec, print_err(), hdbcontr::rmold, hdbcontr::rmold_id, mechmat::save_intpoints_txt(), timecontr::save_txt(), hdbcontr::selelems, hdbcontr::selother_s, mechmat::tnip, and probdesc::tprob.

Referenced by solver_save_text().

void solver_save_text_single ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart in a text file (single file)

Function saves all necessary data to the single text backup file in the given time step. The process is driven by backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector of unknowns
fp - vector of actual right hand side
ni - time step id
time - actual time of saved step of solver
dt - actual time increment of saved step of solver
tc - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 132 of file backupsol.cpp.

References mechtop::elements, FNAMELEN, mechtop::give_ndofe(), mechtop::give_ndofn(), growing_mech_structure, probdesc::hdbcont, hdbcontr::hdbnames, element::initdispl, Mm, Mp, Mt, mechtop::ne, mechtop::nn, mechtop::nodedispl, hdbcontr::prec, print_err(), hdbcontr::rmold, hdbcontr::rmold_id, mechmat::save_intpoints_txt(), timecontr::save_txt(), hdbcontr::selelems, hdbcontr::selother_s, mechmat::tnip, and probdesc::tprob.

Referenced by solver_save_text().

void visco_solver ( long  lcid  ) 
void visco_solver2 ( long  lcid  ) 

solver of time dependent problems built on one step concept

Function solves time dependent problem (viscoplasticity). It uses one_step concept instead of standard one.

Parameters:
lcid - load case id
Returns:
The function does not return anything.

Created by Tomas Koudelka, 11.2011, corrected by TKr 27/03/2013

Definition at line 383 of file mtsolver.cpp.

References compute_req_val(), copyv(), probdesc::dtime, timecontr::dtmax, timecontr::dtmin, timecontr::endtime(), mt_glob_vec::f, mt_glob_vec::fb, mt_glob_vec::fl, mt_glob_vec::fp, probdesc::hdbcont, timecontr::initialtimeincr(), timecontr::isitimptime(), probdesc::istep, mt_glob_vec::istep, Mespr, Mm, Mp, Ndofm, timecontr::newtime(), timecontr::oldtime(), one_step(), print_close(), print_flush(), print_step(), print_step_forced(), mt_glob_vec::r, hdbcontr::save_stat(), solver_save(), probdesc::time, time, probdesc::timecon, mechmat::updateipval(), and visco_solver_init().

Referenced by solve_time_dep_prob().

void visco_solver_init ( long  lcid,
mt_glob_vec mt_gv 
)

initialization phase of visco_solver for one_step concept

Function allocates and initializes global vectors used in mtsolver It is used in one_step concept solver.

Created by Tomas Koudelka, 11.2011

Definition at line 505 of file mtsolver.cpp.

References mt_glob_vec::alloc(), probdesc::eigstrains, mt_glob_vec::f, mt_glob_vec::fp, lhsrhs::give_lhs(), lhsrhs::give_rhs(), probdesc::hdbcont, mechmat::initmaterialmodels(), internal_forces(), mt_glob_vec::istep, Lsrs, Mespr, Mm, Mp, Ndofm, print_flush(), print_init(), print_step(), mt_glob_vec::r, hdbcontr::restore_stat(), solver_restore(), timecontr::starttime(), probdesc::time, and probdesc::timecon.

Referenced by newton_raphson_parcoupl_common_dt(), newton_raphson_parcoupl_comp(), and visco_solver2().


Generated by  doxygen 1.6.2