DAMASK with grid solvers  Revision: v2.0.3-2204-gdb1f2151
The Düsseldorf Advanced Material Simulation Kit with Grid Solvers
grid_mech_FEM.f90 File Reference

Go to the source code of this file.

Modules

module  grid_mech_fem
 Grid solver for mechanics: FEM.
 

Functions/Subroutines

subroutine, public grid_mech_fem::grid_mech_fem_init
 allocates all necessary fields and fills them with data, potentially from restart info More...
 
type(tsolutionstate) function, public grid_mech_fem::grid_mech_fem_solution (incInfoIn, timeinc, timeinc_old, stress_BC, rotation_BC)
 solution for the FEM scheme with internal iterations More...
 
subroutine, public grid_mech_fem::grid_mech_fem_forward (cutBack, guess, timeinc, timeinc_old, loadCaseTime, deformation_BC, stress_BC, rotation_BC)
 forwarding routine More...
 
subroutine, public grid_mech_fem::grid_mech_fem_updatecoords
 Age. More...
 
subroutine, public grid_mech_fem::grid_mech_fem_restartwrite
 Write current solver and constitutive data for restart to file. More...
 
subroutine grid_mech_fem::converged (snes_local, PETScIter, devNull1, devNull2, fnorm, reason, dummy, ierr)
 convergence check More...
 
subroutine grid_mech_fem::formresidual (da_local, x_local, f_local, dummy, ierr)
 forms the residual vector More...
 
subroutine grid_mech_fem::formjacobian (da_local, x_local, Jac_pre, Jac, dummy, ierr)
 forms the FEM stiffness matrix More...
 

Variables

type(tsolutionparams), private grid_mech_fem::params
 
type(tdm), private grid_mech_fem::mech_grid
 
type(tsnes), private grid_mech_fem::mech_snes
 
type(tvec), private grid_mech_fem::solution_current
 
type(tvec), private grid_mech_fem::solution_lastinc
 
type(tvec), private grid_mech_fem::solution_rate
 
real(preal), dimension(:,:,:,:,:), allocatable, private grid_mech_fem::f
 
real(preal), dimension(:,:,:,:,:), allocatable, private grid_mech_fem::p_current
 
real(preal), dimension(:,:,:,:,:), allocatable, private grid_mech_fem::f_lastinc
 
real(preal), private grid_mech_fem::detj
 
real(preal), dimension(3), private grid_mech_fem::delta
 
real(preal), dimension(3, 8), private grid_mech_fem::bmat
 
real(preal), dimension(8, 8), private grid_mech_fem::hgmat
 
integer(kind=selected_int_kind(5)), private grid_mech_fem::xstart
 
integer(kind=selected_int_kind(5)), private grid_mech_fem::ystart
 
integer(kind=selected_int_kind(5)), private grid_mech_fem::zstart
 
integer(kind=selected_int_kind(5)), private grid_mech_fem::xend
 
integer(kind=selected_int_kind(5)), private grid_mech_fem::yend
 
integer(kind=selected_int_kind(5)), private grid_mech_fem::zend
 
real(preal), dimension(3, 3), private grid_mech_fem::f_aimdot = 0.0_pReal
 assumed rate of average deformation gradient More...
 
real(preal), dimension(3, 3), private grid_mech_fem::f_aim = math_I3
 current prescribed deformation gradient More...
 
real(preal), dimension(3, 3), private grid_mech_fem::f_aim_lastiter = math_I3
 
real(preal), dimension(3, 3), private grid_mech_fem::f_aim_lastinc = math_I3
 previous average deformation gradient More...
 
real(preal), dimension(3, 3), private grid_mech_fem::p_av = 0.0_pReal
 average 1st Piola–Kirchhoff stress More...
 
character(len=pstringlen), private grid_mech_fem::incinfo
 time and increment information More...
 
real(preal), dimension(3, 3, 3, 3), private grid_mech_fem::c_volavg = 0.0_pReal
 current volume average stiffness More...
 
real(preal), dimension(3, 3, 3, 3), private grid_mech_fem::c_volavglastinc = 0.0_pReal
 previous volume average stiffness More...
 
real(preal), dimension(3, 3, 3, 3), private grid_mech_fem::s = 0.0_pReal
 current compliance (filled up with zeros) More...
 
real(preal), private grid_mech_fem::err_bc
 deviation from stress BC More...
 
integer, private grid_mech_fem::totaliter = 0
 total iteration in current increment More...