Commit Graph

8334 Commits

Author SHA1 Message Date
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
Philip Eisenlohr 9e3d7d7d6c made $DAMASK_ROOT definition optional 2011-11-03 13:51:54 +00:00
Philip Eisenlohr b9647b2584 moved parts into new "lib" folder 2011-11-03 13:21:11 +00:00
Philip Eisenlohr aba7937845 now uses msc_tools method to figure out Mentat path 2011-11-03 13:16:00 +00:00
Philip Eisenlohr edb8c0cd1e no part of "lib/pathinfo" 2011-11-03 13:00:39 +00:00
Philip Eisenlohr 1a7e6de970 LF line endings... 2011-11-03 13:00:22 +00:00
Philip Eisenlohr 4cac885bd0 added function to find out shared library path of most recent Mentat release 2011-11-03 12:59:51 +00:00
Philip Eisenlohr b5e6b754fb starting "lib" subfolder for shared goodies. 2011-11-03 12:19:26 +00:00
Philip Eisenlohr db12869c16 shifted back to main folder. small polish. 2011-11-03 12:18:07 +00:00
Philip Eisenlohr b847db969a changed "texture" to more correct "structure" 2011-11-03 12:07:41 +00:00
Philip Eisenlohr 4e8f36a133 remove $ID$ from first line (I am wondering how this could work...) 2011-11-02 18:49:53 +00:00
Martin Diehl 680ba9082f removed deadlock when calling IO_warning(33)
polished IO_error and IO_warning
checked OpenMP critical statements in DAMASK_spectral.f90
corrected writing of headed in DAMASK_spectral.f90
2011-11-02 14:38:42 +00:00
Claudio Zambaldi 447e69019c Introduced environment variable DAMASK_ROOT.
It is set in the DAMASK root folder by running damask_env.sh
Much needed in the testing routines so far (try ./testing/run_tests.py)
damask_env.sh could also trigger other scripts to get to a working setup after fresh checkout. For example it could run 
./processing/setup/setup_processing.py
./code/setup/setup_code.py
if it finds that we have a fresh checkout.
2011-10-27 17:55:42 +00:00
Martin Diehl 7fc8cd1949 improved testing scripts, now we have the first test running! 2011-10-27 08:48:23 +00:00
Martin Diehl 15c356c3a7 some small improvements regarding the rotation of the loadcase frame 2011-10-25 13:38:24 +00:00
Martin Diehl c13aa2a829 first try of implementing a rotation of the loadcase coordinate system. Seems to work so far for one loadcase and homogeneous materials. 2011-10-24 18:26:34 +00:00
Martin Diehl 1a68669ae9 had some problems with svn... 2011-10-24 17:42:12 +00:00
Martin Diehl 0f34d14bee again edited the makefile, no there is more flexibility in defining the libraries (FFTW and ACML)
added the source of fftw-3.3.tar.gz to fulfill the GPL
set_python_env.py was forgotten during last commit (for testing)
2011-10-24 16:57:51 +00:00
Martin Diehl 48aa5eb163 documentation on NaN 2011-10-24 16:27:44 +00:00
Martin Diehl eefe1c516b first working draft of automated code testing, run_tests.py assumes DAMASK is located under ~/DAMASK/
Tests so far only Marc2010
Next try, commit did not work...
2011-10-24 16:25:59 +00:00
Martin Diehl 7642509a47 first working draft of automated code testing, run_tests.py assumes DAMASK is located under ~/DAMASK/ 2011-10-24 16:24:15 +00:00
Claudio Zambaldi e7a60988a1 modified exit number extraction 2011-10-24 13:02:08 +00:00