Commit Graph

110 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
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
Christoph Kords ba63d3231f fixed string include 2011-11-04 10:27:41 +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 4e8f36a133 remove $ID$ from first line (I am wondering how this could work...) 2011-11-02 18:49:53 +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
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 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
Philip Eisenlohr c7c541f393 corrected typos and such 2011-09-13 15:57:58 +00:00
Philip Eisenlohr b412239d9f reflects new output format of DAMASK_spectral to find
*** Loadcase...
lines.
2011-09-05 13:39:44 +00:00
Philip Eisenlohr f3c2547fba name change to better reflect what happens: comparison between local deformation field and a (necessarily compatbile) geometry reconstructed from the whole deformation field. 2011-08-26 07:17:35 +00:00
Martin Diehl eb0ce3992b debugging of addDebugInformation (now working, but not tested in detail)
Added Id to postprocessingMath
2011-08-25 18:18:38 +00:00
Philip Eisenlohr 7aba05ed9f reworked to match former script layouts and logics. (not yet tested, use at your own risk) 2011-08-25 17:55:36 +00:00
Martin Diehl 282d2d7b97 corrected wrong Id tag 2011-08-25 16:47:12 +00:00
Martin Diehl bbee6c4658 forget to check in addDebugInformation 2011-08-25 16:44:36 +00:00
Martin Diehl a5f176cf18 put divergence calculation using FDM to postprocessingMath, added divergence calculation using differentation in Fourier space to postprocessingMath
added functions to calculate the shape and volume mismatch of compatible and non-compatible geometry reconstruction to postprocessingMath. They can be accessed using addDebugInformation
2011-08-25 15:31:05 +00:00
Martin Diehl cc3bc4a216 made handling of unknown dimension (i.e. resolution ==1) the same as for preprocessing (last commit) 2011-08-25 15:28:33 +00:00
Philip Eisenlohr 2dd8a353bb now also works for single stepped loadcases, too 2011-08-19 10:03:42 +00:00
Martin Diehl 878ea443d6 added options to control written output (mesh(default), box, points) and to control reconstruction. --undeformed does not calculate average deformation of ve, --scaling controls the scaling of the fluctuation. Default is 1.0, with 0.0 no fluctuations are shown 2011-08-19 07:33:22 +00:00
Philip Eisenlohr def056f30f added $Id$ escaping 2011-08-18 08:00:19 +00:00
Philip Eisenlohr e851c934ee interrogate output from DAMASK_spectral for "error divergence:" evolution.
results in an ASCII datafile containing the increment counter with corresponding divergence value. the evolution within an increment i is stretched between i and i+1 (and likely jumps then for the next increment i+1 at the value i+1)
2011-08-14 10:44:15 +00:00
Philip Eisenlohr a58158fc7c bug fix related to hash key error when requesting --increments range 2011-07-25 12:53:54 +00:00
Onur Guevenc 8cb8637d41 fixed running with default --range & using --separation options. 2011-07-22 11:59:03 +00:00
Onur Guevenc 105a09f3df only consider increments actually present in (spectral) result
added switch to change from range of positions to range of increments

polished help output
2011-07-21 15:45:41 +00:00
Christoph Kords cb96559d99 mappings should rather be called "sumabs" and "avgabs" than "abssum" and "absavg" 2011-07-15 11:27:47 +00:00
Christoph Kords 63451f6edf added "absavg" (=average of the absolute values) to the predefined mappings 2011-07-15 08:07:33 +00:00
Philip Eisenlohr b252b467e8 moved useful ASCII post processing scripts from my Code repository into the DAMASK post-proc. 2011-06-21 16:25:48 +00:00
Onur Guevenc daa45306f2 fixed a nasty bug in reading the header of spectral files
file type is guessed from extension

script tries to gracefully continue when data is missing but not crucial

ASCII file splitting now has correct increment (not position) in its name: poop_inc123.txt refers to true increment 123 not to position 123 in the result file anymore...
2011-06-21 12:38:58 +00:00
Philip Eisenlohr b6b02f6cf9 now reports over all loadcases present in the output file, not just a selected one... 2011-06-15 18:14:05 +00:00
Philip Eisenlohr dd11ef3072 added capability to deal with (Marc, spectral) output files that have less than every increment stored. 2011-06-15 17:49:59 +00:00
Onur Guevenc d52fb1666e "step" header is modified to "inc" to be consistent with postResults outputs. 2011-06-09 12:39:08 +00:00
Philip Eisenlohr a72a97f0ba added nodalScalar capability.
--ns 'elements' reports the nodal connectivity (list of elements touching a node)

--prefix allows to prefix the output filename
2011-06-08 16:54:46 +00:00
Christoph Kords 5740e13485 added new predefined mapping "abssum", which returns the sum of all absolute values 2011-06-08 14:07:15 +00:00
Christoph Kords 2cbfb69235 user defined mapping didn't work because of misspelled variable in "mapIncremental" 2011-06-08 13:56:21 +00:00
Philip Eisenlohr 4a2078e965 produces two-column data of step | iteration at which convergence was reached (or aborted). Source file is the redirected STDOUT of DAMASK_spectral 2011-05-31 12:31:35 +00:00
Philip Eisenlohr 5e6de13962 removed useless grain selection option (--grain)
escaped MPIE\n.... in $ID$

fixed problem when writing output files into subdirectories
2011-05-26 09:44:10 +00:00
Philip Eisenlohr 96a4d83b9b fixed bug in user mapping function.
corrected examples and added incremental mapping explanation to usage hint.
2011-05-26 09:41:53 +00:00
Nan Jia 3ae8b0f732 dropped grain index from output header (did not work anyhow)
introduced string escape for the likes of MPIE\n.jia to prevent newline literal
2011-05-24 17:23:22 +00:00
Nan Jia 73b1dbc5f7 corrected printing bug 2011-05-23 15:11:01 +00:00
Philip Eisenlohr 6daa8b710b shortened output header to contain only one description line that includes the command line switches passed to postResults 2011-05-23 07:13:28 +00:00
Philip Eisenlohr 2a8dc1bff1 Fixed a bug introduced in the last revision. Datatype keywords (SCALARS, VECTORS, ...) were not written in plural form into VTK file, thus had not been recognized by ParaView. 2011-05-22 14:01:18 +00:00
Philip Eisenlohr 8879e03a60 better reporting and fixed a bug when requesting non-existing data 2011-05-21 21:43:40 +00:00
Philip Eisenlohr 25e3c4baf8 nicer STDOUTput and can now properly deal with resolutions of 1 2011-05-13 16:53:27 +00:00