Commit Graph

125 Commits

Author SHA1 Message Date
Martin Diehl 2b50494951 following philips suggestion for 8c1fe4fff0
and removing unneeded if statements for worldrank
2016-10-25 22:54:32 +02:00
Martin Diehl 8c1fe4fff0 no need to have unused dummy arguments 2016-10-22 13:40:45 +02:00
Philip Eisenlohr 6076506738 general polishing and removal of redundant do-loop 2016-08-25 11:57:19 -04:00
zhangc43 af10f92041 remove space before preprocessor 2016-08-23 08:29:42 -04:00
zhangc43 3d0e19de0a syntax polish for ifdef 2016-08-22 17:45:05 -04:00
zhangc43 4dfc8d0132 add MPI_finalize() following Martin & Philip suggestions; 2016-08-22 17:11:42 -04:00
Martin Diehl a6ee4216d6 commenting 2016-07-29 16:34:51 +02:00
Martin Diehl c949f407e5 unused variable 2016-06-29 17:13:02 +02:00
Martin Diehl ddff0035b6 removed old regridding related stuff 2016-06-29 16:59:22 +02:00
Martin Diehl 985eee094f respecting compiler warnings 2016-06-27 17:46:34 +02:00
Pratheek Shanthraj 8b27de7d16 fix bug in MPI output 2016-04-12 11:05:01 +02:00
Martin Diehl 0b1cd70e33 size needs to use larger integer 2016-03-27 09:15:47 +02:00
Martin Diehl da89da6c21 checking for MPI errors 2016-03-26 19:55:44 +01:00
Martin Diehl 654e58faf2 integer overflow due do missing brackets, wrong forwarding for large files 2016-03-14 22:30:55 +01:00
Philip Eisenlohr 20fe46a030 corrected logical mask for reporting stress in load cases 2016-03-09 11:40:12 -05:00
Martin Diehl a7665bdab9 removed empty line remaining from old ID string 2016-02-29 14:26:06 +01:00
Martin Diehl f2c7eea161 git compatible way of version handling for Fortran and Python 2016-01-27 16:48:27 +00:00
Martin Diehl 6e4239bb7c removed Id 2016-01-27 14:06:21 +00:00
Martin Diehl 288ab15ef9 more precise file names 2016-01-24 21:05:36 +00:00
Martin Diehl 7ebd5e29e3 line too long 2016-01-17 19:42:24 +00:00
Martin Diehl cfd6579024 split CPFEM module into one for spectral solver (also suitable for PETSc FEM) and one for commercial FEM codes as all the ping pong handling, cut back detection etc. is not needed for spectral.
Needs certainly a better name, or might be superfluous at all if crystallite, constitutive, and homogenization take care of their data for restart write/read and forwarding
2016-01-17 15:03:54 +00:00
Martin Diehl 9baec1a0ff get rid of overly long file names 1/2 2015-12-15 20:45:54 +00:00
Martin Diehl 0d5e91ac87 corrected reporting of basic PETSc variant and unified reporting of all spectral solvers
improved warning and error in IO, now able to report correctly elements up to 9 digits
2013-01-09 22:19:32 +00:00
Martin Diehl b1f28ba5e7 made restart working for all solvers and added corresponding test
corrected error handling for FFT based function in case of odd numbers etc.
2012-12-14 17:30:22 +00:00
Philip Eisenlohr 7358dd6679 fixed wrong index contraction in acoustic tensor calculation
(blew up calculations with zero Poisson ratio...)
2012-11-28 18:46:07 +00:00
Martin Diehl 7e683ca7c3 removed coordinates from call to CPFEM_general and introduced direct storage of coordinates to mesh_ipCoordinates 2012-11-14 14:38:10 +00:00
Martin Diehl 13b55275b1 documented utilities and structured, worked on the restart capabilities of the new basic solver 2012-10-24 11:31:40 +00:00
Martin Diehl 0959ff3299 substituted hand written matrix inversion by LAPACK version with precision selection.
also introduced check for inversion into DAMASK_spectral_Utilities.f90 for the stress BC calculation. This part is further improved by using 5% of the reference stiffness to avoid trouble in the fully plastic regime (where the stiffness is underestimated)

Test for Marc 2010 is updated because the new inversion give slightly different results near 0 (order of e-13)
2012-08-28 16:59:45 +00:00
Martin Diehl 96ba5ecae4 moved some more 'mesh related' functions for post processing from math.f90 to mesh.f90
f2py functions remaining in math.f90 now uses assumed size arrays in order to have simpler interfaces. This is only working with python 2.7!
changed python pre- and postprocessing scripts.
If you encounter any problems whith core modules, try to remove the old core.so in the lib/damask
2012-08-27 08:04:47 +00:00
Martin Diehl 7e3a837640 moved calculation and output of geometry related data to mesh.f90, moved output of command line related information to DAMASK_spectral_interface.f90.
improved new solver structure (use with make SOLVER=NEW)
2012-08-06 12:43:05 +00:00
Mahesh Balasubramaniam 3ffba037d4 Reading of euler angles from the loadcase corrected. 2012-08-02 17:52:07 +00:00
Mahesh Balasubramaniam 740357172a Reading of Euler angles from the loadcase corrected. 2012-08-02 17:46:50 +00:00
Martin Diehl 991a7bbd2d reordered initialization for spectral method, corrected bug of deformation BC parsing when prescribing velocity gradient resulting in wrong average deformation 2012-07-30 15:51:48 +00:00
Martin Diehl 9c0a161ec0 in case of regridding, undeformed configuration is written out correctly. Restart improve by reading in additional data from converged step. 2012-07-24 12:21:41 +00:00
Martin Diehl ad3f9d8050 removed old standalone AL solver and introduced new structure for solver zoo 2012-07-19 17:24:56 +00:00
Martin Diehl 7d4ff278cb worked on the restart capabilities 2012-07-19 14:16:59 +00:00
Philip Eisenlohr 4d09ef0648 changed variable name "debug_what" to "debug_level" 2012-07-05 09:54:50 +00:00
Martin Diehl 0606845f15 reordered calculation of current stiffness to enable restarting with different resolution 2012-06-22 09:20:23 +00:00
Martin Diehl d650972904 corrected some bugs concerning the regridding
prevented FEsolving from potentially write to a none existing file
started to introduce petsc into the make chain (nothing happens if PETSC_DIR is not set)
2012-06-20 12:49:46 +00:00
Martin Diehl 8537e87b7e added shell scripts to run tests from crontab, improved numbering in spectral compile tests and added some first files for testing restart capabilities of spectral solver.
added configuration file for generation of code documentation using doxygen
restart of spectral solver is fixed and seem to work now also for restart at significant deformation.
spectral solver now gives exit code 2 if some increments did not converge
2012-06-18 15:27:01 +00:00
Philip Eisenlohr d9c6f9e134 switch on restartRead logical when requested by "--restart" cmdline switch 2012-06-18 09:27:36 +00:00
Martin Diehl b2fd3e1180 introduced preprocessor identifiers Marc, Abaqus, and Spectral to enable conditional compilation. This allows deleted dummy functions that are used by one solver only.
Mainly affected modules are IO and mesh. Most of the changes in mesh result from reordering the functions when grouping them depending on their solver.
Further advantage is that FE solver do not need FFTW and kdtree2 anymore. The include files for these two libraries moved to DAMASKROO/lib now as I figured out how to use a include path in the Makefile.
Put all the files I got when testing compilation with abaqus in a folder which to become the abaqus compilation test.
2012-06-15 16:10:21 +00:00
Franz Roters 5b7f2e122e fixed usage of OpenMP function library 2012-06-12 09:44:05 +00:00
Martin Diehl fa7f9866df removed phase contrast/preconditioning
added information on itmin in output, impoved output
set exit code to 0 on successful termination (seems to be unix standard)
exit codes:
0: successful termination
1: error (using IO_error)
2: require regrid 
updated the AL solver, still VERY experimental
2012-06-05 16:34:20 +00:00
Pratheek Shanthraj bdc46a8828 using better measure (norm) of phase contrast for preconditioning 2012-05-07 08:12:13 +00:00
Krishna Komerla e33c34d86b corrected wrong integer arithmetics in calculation of coordinates in DAMASK_spectral.f90 2012-04-24 16:59:38 +00:00
Martin Diehl d2c4874db3 several small corrections/polishing 2012-04-20 11:58:41 +00:00
Pratheek Shanthraj c889d20ba0 added simple preconditioning to improve convergence for high phase contrast materials in standard algorithm 2012-04-20 09:42:57 +00:00
Martin Diehl f905a97cdf fixed bug (causing sigsev) concerning new functions mesh_spectral_get*** 2012-04-12 08:03:08 +00:00
Martin Diehl 8c559cbdc9 fixed bug concerning file handling. 2012-04-11 18:46:36 +00:00