Commit Graph

6376 Commits

Author SHA1 Message Date
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
Claudio Zambaldi 93b2160c2f extract exit number from MSC out-file. Other MSC utility functions can also go into MSC_TOOLS class. 2011-10-24 12:59:46 +00:00
Martin Diehl 8ac1891b3c moved DAMASK_NaN to prec.f90 respectively prec_single.f90 as it is precision dependent 2011-10-20 16:46:11 +00:00
Philip Eisenlohr 9565852247 now checks file "processing/MSCpath" for predefined installdir.
now checks validity of user-specified install version.
2011-10-20 16:13:38 +00:00
Philip Eisenlohr 414bacb096 deleted unused vars. changed linking library info/path 2011-10-20 12:47:57 +00:00
Philip Eisenlohr ed08dfc2be added option to select between cell-centered (as before) or vertex-centered data 2011-10-20 12:29:59 +00:00
Philip Eisenlohr c78227cec1 added option to skip data points along x,y,z in case they are periodic images. relevant for vertex-centered data for which outer surface data is doubled, i.e. data(0,0,0) == data(Nx,Ny,Nz) 2011-10-20 12:28:39 +00:00
Philip Eisenlohr 64499328d1 general renaming (space in former ACML path did not work) 2011-10-20 12:25:39 +00:00
Philip Eisenlohr 3a0911ca89 added option to output RGB palette on terminal
number of colors is now variable (default 32)
warning issued if MSC path not valid

new "redblue" sym colormap
2011-10-20 11:59:15 +00:00