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

Managing of parameters related to numerics. More...

Functions/Subroutines

subroutine, public numerics_init
 reads in parameters from numerics.config and sets openMP related parameters. Also does More...
 

Variables

integer, public, protected ijacostiffness = 1
 frequency of stiffness update More...
 
integer, public, protected randomseed = 0
 fixed seeding for pseudo-random number generator, Default 0: use random seed More...
 
integer, public, protected worldrank = 0
 MPI worldrank (/=0 for MPI simulations only) More...
 
integer, public, protected worldsize = 1
 MPI worldsize (/=1 for MPI simulations only) More...
 
integer, public, protected numerics_integrator = 1
 method used for state integration Default 1: fix-point iteration More...
 
integer(4), public, protected damask_numthreadsint = 0
 value stored in environment variable DAMASK_NUM_THREADS, set to zero if no OpenMP directive More...
 
real(preal), public, protected defgradtolerance = 1.0e-7_pReal
 deviation of deformation gradient that is still allowed (used by CPFEM to determine outdated ffn1) More...
 
real(preal), public, protected numerics_unitlength = 1.0_pReal
 determines the physical length of one computational length unit More...
 
real(preal), public, protected charlength = 1.0_pReal
 characteristic length scale for gradient problems More...
 
real(preal), public, protected residualstiffness = 1.0e-6_pReal
 non-zero residual damage More...
 
logical, public, protected usepingpong = .true.
 
real(preal), public, protected err_struct_tolabs = 1.0e-10_pReal
 absolute tolerance for mechanical equilibrium More...
 
real(preal), public, protected err_struct_tolrel = 1.0e-4_pReal
 relative tolerance for mechanical equilibrium More...
 
real(preal), public, protected err_thermal_tolabs = 1.0e-2_pReal
 absolute tolerance for thermal equilibrium More...
 
real(preal), public, protected err_thermal_tolrel = 1.0e-6_pReal
 relative tolerance for thermal equilibrium More...
 
real(preal), public, protected err_damage_tolabs = 1.0e-2_pReal
 absolute tolerance for damage evolution More...
 
real(preal), public, protected err_damage_tolrel = 1.0e-6_pReal
 relative tolerance for damage evolution More...
 
integer, public, protected itmax = 250
 maximum number of iterations More...
 
integer, public, protected itmin = 1
 minimum number of iterations More...
 
integer, public, protected stagitmax = 10
 max number of field level staggered iterations More...
 
integer, public, protected maxcutback = 3
 max number of cut backs More...
 

Detailed Description

Managing of parameters related to numerics.

Author
Franz Roters, Max-Planck-Institut für Eisenforschung GmbH
Philip Eisenlohr, Max-Planck-Institut für Eisenforschung GmbH

Function/Subroutine Documentation

◆ numerics_init()

subroutine, public numerics::numerics_init

reads in parameters from numerics.config and sets openMP related parameters. Also does

Definition at line 1519 of file numerics.f90.

References charlength, defgradtolerance, err_damage_tolabs, err_damage_tolrel, err_struct_tolabs, err_struct_tolrel, err_thermal_tolabs, err_thermal_tolrel, ijacostiffness, io::io_error(), io::io_floatvalue(), io::io_intvalue(), io::io_isblank(), io::io_lc(), io::io_read_ascii(), io::io_stringpos(), io::io_stringvalue(), itmax, itmin, maxcutback, numerics_integrator, numerics_unitlength, randomseed, residualstiffness, stagitmax, usepingpong, worldrank, and worldsize.

Referenced by cpfem2::cpfem_initall().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ charlength

real(preal), public, protected numerics::charlength = 1.0_pReal

characteristic length scale for gradient problems

Definition at line 1478 of file numerics.f90.

Referenced by numerics_init().

◆ damask_numthreadsint

integer(4), public, protected numerics::damask_numthreadsint = 0

value stored in environment variable DAMASK_NUM_THREADS, set to zero if no OpenMP directive

Definition at line 1476 of file numerics.f90.

◆ defgradtolerance

real(preal), public, protected numerics::defgradtolerance = 1.0e-7_pReal

deviation of deformation gradient that is still allowed (used by CPFEM to determine outdated ffn1)

Definition at line 1478 of file numerics.f90.

Referenced by numerics_init().

◆ err_damage_tolabs

real(preal), public, protected numerics::err_damage_tolabs = 1.0e-2_pReal

absolute tolerance for damage evolution

Definition at line 1488 of file numerics.f90.

Referenced by grid_damage_spectral::grid_damage_spectral_solution(), and numerics_init().

◆ err_damage_tolrel

real(preal), public, protected numerics::err_damage_tolrel = 1.0e-6_pReal

relative tolerance for damage evolution

Definition at line 1488 of file numerics.f90.

Referenced by grid_damage_spectral::grid_damage_spectral_solution(), and numerics_init().

◆ err_struct_tolabs

real(preal), public, protected numerics::err_struct_tolabs = 1.0e-10_pReal

absolute tolerance for mechanical equilibrium

Definition at line 1488 of file numerics.f90.

Referenced by numerics_init().

◆ err_struct_tolrel

real(preal), public, protected numerics::err_struct_tolrel = 1.0e-4_pReal

relative tolerance for mechanical equilibrium

Definition at line 1488 of file numerics.f90.

Referenced by numerics_init().

◆ err_thermal_tolabs

real(preal), public, protected numerics::err_thermal_tolabs = 1.0e-2_pReal

absolute tolerance for thermal equilibrium

Definition at line 1488 of file numerics.f90.

Referenced by grid_thermal_spectral::grid_thermal_spectral_solution(), and numerics_init().

◆ err_thermal_tolrel

real(preal), public, protected numerics::err_thermal_tolrel = 1.0e-6_pReal

relative tolerance for thermal equilibrium

Definition at line 1488 of file numerics.f90.

Referenced by grid_thermal_spectral::grid_thermal_spectral_solution(), and numerics_init().

◆ ijacostiffness

integer, public, protected numerics::ijacostiffness = 1

frequency of stiffness update

Definition at line 1470 of file numerics.f90.

Referenced by numerics_init().

◆ itmax

◆ itmin

◆ maxcutback

integer, public, protected numerics::maxcutback = 3

max number of cut backs

Definition at line 1495 of file numerics.f90.

Referenced by numerics_init().

◆ numerics_integrator

integer, public, protected numerics::numerics_integrator = 1

method used for state integration Default 1: fix-point iteration

Definition at line 1470 of file numerics.f90.

Referenced by crystallite::crystallite_init(), material::material_allocateplasticstate(), material::material_allocatesourcestate(), and numerics_init().

◆ numerics_unitlength

real(preal), public, protected numerics::numerics_unitlength = 1.0_pReal

determines the physical length of one computational length unit

Definition at line 1478 of file numerics.f90.

Referenced by numerics_init().

◆ randomseed

integer, public, protected numerics::randomseed = 0

fixed seeding for pseudo-random number generator, Default 0: use random seed

Definition at line 1470 of file numerics.f90.

Referenced by math::math_init(), and numerics_init().

◆ residualstiffness

real(preal), public, protected numerics::residualstiffness = 1.0e-6_pReal

non-zero residual damage

Definition at line 1478 of file numerics.f90.

Referenced by grid_damage_spectral::formresidual(), and numerics_init().

◆ stagitmax

integer, public, protected numerics::stagitmax = 10

max number of field level staggered iterations

Definition at line 1495 of file numerics.f90.

Referenced by numerics_init().

◆ usepingpong

logical, public, protected numerics::usepingpong = .true.

Definition at line 1483 of file numerics.f90.

Referenced by crystallite::crystallite_init(), and numerics_init().

◆ worldrank

◆ worldsize