Commit Graph

3755 Commits

Author SHA1 Message Date
Claudio Zambaldi cf8b60986e response to Philip's comments. Interesting, chat via SVN :) 2011-11-17 21:19:08 +00:00
Philip Eisenlohr ac8b5f0708 added short comment for discussion... 2011-11-17 18:39:09 +00:00
Claudio Zambaldi ae73172ba7 python syntax 2011-11-17 16:17:56 +00:00
Martin Diehl ddb68eee7c new module damask_test, set compile=false as default in msc_tools, added first draft of material.config generator to damask_tools 2011-11-17 14:05:39 +00:00
Martin Diehl 448c0c480a improved testing, still not working as it should 2011-11-17 14:03:17 +00:00
Martin Diehl 5ef73e164a restructured algorithm: moved into loop to reallocate fields and replan FFTW in case resolution changes during runtime ==> regridding
introduced parameters for selective debugging of spectral code and partly introduced the advanced divergence calculation again which is controlled by debug.config
added switch in numerics to control divergence behavior (uncorrected and corrected by phenomenological factor)
added precision directive to all values I found
2011-11-15 17:54:18 +00:00
Philip Eisenlohr f5ad143cf4 added min_recycles=1 and path/to/DAMASK as usersub 2011-11-14 16:37:34 +00:00
Philip Eisenlohr badad00698 removed documentation from public part. 2011-11-14 15:26:38 +00:00
Philip Eisenlohr db09a8b17a removed ACML from public part and adjusted install instructions accordingly. 2011-11-14 15:21:12 +00:00
Philip Eisenlohr 5f5bf83755 introduced "private" folder for non-public content 2011-11-14 15:15:22 +00:00
Philip Eisenlohr 413805e589 now aware of ACMLpathinfo 2011-11-14 14:59:16 +00:00
Martin Diehl 09799b5b58 compile test is now at least compiling. still comparison to reference results has to be done 2011-11-11 15:06:33 +00:00
Martin Diehl 8473ceb8d9 files for testing were not added properly 2011-11-11 14:51:02 +00:00
Krishna Komerla 60c9293baf restarting seems to work, spectral solver writes own defgrad to disk.
step counting rectified
added additional output of deformation gradient volume min and max
2011-11-11 14:17:43 +00:00
Claudio Zambaldi b4b8ce9648 small polishing 2011-11-10 15:47:12 +00:00
Claudio Zambaldi 795e3d070b polishing on test 2000_hex_elastic
postprocessing commands are refactored out into file postprocessing.cmd, one command per line
2011-11-10 10:42:59 +00:00
Claudio Zambaldi 5aacb6032c removed outdated comments 2011-11-09 18:04:51 +00:00
Philip Eisenlohr 44e5d25274 now aware of $DAMASK_BIN and guessing if environment missing 2011-11-09 17:51:00 +00:00
Philip Eisenlohr eebb59d146 now environment vars are processed in known order. gracefully put own extensions to end of existing (e.g. PATH=$PATH:ourStuff) 2011-11-09 17:20:20 +00:00
Philip Eisenlohr 314caffc08 safe against partially matching envVars. pythonPath and Path for instance... 2011-11-09 16:41:44 +00:00
Claudio Zambaldi 41b8232695 setup_shellrc now adds $DAMASK_ROOT/bin to the $PATH
in setup/setup_processing.py uncomment 3 lines to remove the links from your ~/bin
2011-11-09 16:20:52 +00:00
Claudio Zambaldi 06176873e4 after a somewhat lengthy discussion with Philip about usability and developability and general file-naming philosophy we think that we found a compromise on the "to-dot-py or not-to-dot-py" issue:
symlinks in DAMASK_ROOT/bin do not carry the extension, but the source files do.
Hope that results in the maximum number of happy developers and users.
2011-11-09 15:37:45 +00:00
Claudio Zambaldi 6e96ea0e6d updated to current damask environment handling 2011-11-09 14:26:19 +00:00
Claudio Zambaldi 8e34309b6e renamed to .py so notepad++ users can have syntax highlighting 2011-11-09 13:31:59 +00:00
Claudio Zambaldi bfd6d4831f tests 2000 and 2001 updated
use damask_tools to check whether DAMASK_ROOT is set
2011-11-09 12:09:54 +00:00
Philip Eisenlohr a66c502617 made it more flexible to future envVar additions and csh implementation... 2011-11-09 10:38:57 +00:00
Christoph Kords 860594d9a4 forgot to multiply shearrate with timestep in order to get accumulated shear 2011-11-09 10:26:00 +00:00
Christoph Kords 6dc8a4d530 check for LFC only if there is any slip activity at all; also increased safety factor from 1.2 to 1.5 2011-11-09 09:55:39 +00:00
Christoph Kords 7033e84fc7 new outputs "accumulatedshear", "velocity_edge", and "velocity_screw" (the latter two replace the output "dislocationvelocity") 2011-11-09 09:22:52 +00:00
Philip Eisenlohr bc01f94be4 as always with art, little flaws hit the eye right after you sold it... 2011-11-08 23:10:02 +00:00
Philip Eisenlohr 2f17bd8683 exchanged former "dummy" logo with new one conforming to damask web site. 2011-11-08 22:53:28 +00:00
Martin Diehl 98513a4e0d 2011-11-07 18:27:33 +00:00
Martin Diehl de96e99bca corrected determination of restartRead from commandline (now done by FEsolving instead of DAMASK_spectral_interface)
recompiled fftw libraries with --enable-shared to make them work with f2py
added draft for compilation test of spectral solver
2011-11-07 18:25:10 +00:00
Claudio Zambaldi a1adef07ef added two tests for prismatic slip with hex-pheno
manual comparison to old subroutine seems OK for orientations 10-10 and 2-1-10
next tasks: 
-write ../processing/pre/damask_pre.py class which contains a material.config generator. 
-merge tests 2001 and 2002
2011-11-07 16:48:09 +00:00
Christoph Kords 8bc39fcd48 immobile density output keeps its sign 2011-11-07 15:46:40 +00:00
Christoph Kords 34adec74e8 corrected wrong indices into state array for velocity 2011-11-07 15:17:58 +00:00
Krishna Komerla 49c0b8a3fd restructured restarting capabilities 2011-11-07 11:04:57 +00:00
Franz Roters 583abf7ee6 renamed script 2011-11-07 10:53:34 +00:00
Philip Eisenlohr 313cd2edb3 ACML path example now more realistic.
corrected dangerous overwriting of LD_LIBRARY_PATH and PYTHONPATH.
2011-11-04 15:42:52 +00:00
Christoph Kords 7dfb96a3da constitutive_nonlocal:
dislocation velocities are stored in the state, so we actually now have three "parts" of the state, the basic states that are updated by "constitutive_dotState" come first, then the dependent states that are calculated by "constitutive_microstructure" follow, and finally we have a last part reserved for other variables that just use the memory reserved by the state array and are updated somewhere else.

constitutive:

LpAndItsTangent does not need the full state, but only the local state, so changed that at least for the nonlocal constitutive law
2011-11-04 13:12:17 +00:00
Christoph Kords 9d1bc584d0 corrected stress integration scheme: now use norm(Lpresiduum) as a target function for Armijo's rule instead of whole tensor Lp; also corrected the guess for the improvement in Lp 2011-11-04 12:57:12 +00:00
Christoph Kords ca3d21a3b6 Depending on which state integrator one uses for the stiffness calculation, the initial state has to be chosen accordingly: e.g. for FPI choose last converged state, but for explicit RK choose converged state from start of increment (in case of explicit euler no state integration at all, but only stress integration). For this purpose we also need to remember "Fe" which now follows the cutbacking procedure as it is used for "Fp". 2011-11-04 12:44:50 +00:00
Christoph Kords 4966231e5b use return instead of two nested breaks that do not even work correctly like it is used here 2011-11-04 11:30:29 +00:00
Martin Diehl ee7022d8cf correctet random seed generation to work with gfortran. 2011-11-04 10:29:35 +00:00
Christoph Kords ba63d3231f fixed string include 2011-11-04 10:27:41 +00:00
Martin Diehl c2eac36b48 started to implement restart facilities for spectral solver.
restart write is on per default
restart read is switched on by using --restart or -r INT where INT gives step at which the calculation should restart
setting INT to a value <1 will turn restart write off
2011-11-03 19:32:11 +00:00
Philip Eisenlohr eb7f856df8 subsumed into setup_shellrc... 2011-11-03 17:38:00 +00:00
Philip Eisenlohr 1e35e98866 installation script to put correct LD_LIBRARY_PATH and PYTHONPATH into shell.rc 2011-11-03 17:35:47 +00:00
Philip Eisenlohr 7af1249298 made string comparison fool-proof with lower-casing. 2011-11-03 17:34:44 +00:00
Philip Eisenlohr cac203939b $DAMASK_ROOT takes precedence if defined in environment. 2011-11-03 13:55:17 +00:00