Commit Graph

1915 Commits

Author SHA1 Message Date
Taymor El Achkar 542768d712 bug fixed 2012-05-11 08:36:42 +00:00
Taymor El Achkar c962452cda python version of voronoi_tessellation.f90 generating geom file and material_config file (using kd_tree nearest neighbor search) 2012-05-10 16:42:07 +00:00
Krishna Komerla c752dd5474 regridding is now working, changed the subroutine into a function
changed order of arrays in nearest neighbor search to make it fortran fast
constitutive.f90 and homogenization.f90 write state size out during initialization
setup/setup_processing.py is using byterecl to be compatible with binary files written out by solver
2012-05-08 14:57:06 +00:00
Philip Eisenlohr 34ef08c762 added unique naming of output file 2012-05-07 20:36:58 +00:00
Philip Eisenlohr a84838d3ba removed erroneous print statements (leftover from debugging) 2012-05-07 19:28:21 +00:00
Philip Eisenlohr c9e17319ec now with correct ID and LF line endings... ;-) 2012-05-07 19:11:46 +00:00
Philip Eisenlohr 361b7ad398 new script to generate a twoD probability density map from ASCIItable data 2012-05-07 19:09:11 +00:00
Philip Eisenlohr c2954a2b33 now all heading labels squeeze out whitespace from their name. 2012-05-05 18:43:48 +00:00
Martin Diehl b4775249e8 corrected standard check to make f2py working with gfortran 2012-05-03 17:12:36 +00:00
Taymor El Achkar 0cb983606f spectral_geomPack is now formatting depending on necessary digits (via additional header information) 2012-05-02 13:44:12 +00:00
Philip Eisenlohr 28e9b483ad corrected wrong byte offset when reading thru 2^31-1-8 four-byte limit 2012-05-01 22:42:45 +00:00
Philip Eisenlohr b87b2160e7 fixed bug occurring for one item lines.
shortened logic here and there.
2012-04-25 13:53:56 +00:00
Martin Diehl 99f2b8603a new script for reconstruction of elements from F/IP(spectral_buildElements.py), corrected spectral_randomSeeding.py, made post/postResults.py aware of additional header/footer for file positions larger than 2**31-1 2012-04-24 15:09:20 +00:00
Taymor El Achkar f74b16051b autodetection of line length for geomPack, updated description for both files 2012-04-24 11:31:18 +00:00
Taymor El Achkar 14356bf35e new pre processing script for interpretation of "copies of" and "to" in geom files 2012-04-23 12:46:38 +00:00
Martin Diehl 335df4346f deleted accidentally checked in file 2012-04-19 11:52:01 +00:00
Martin Diehl 31753be16f updated setup/setup_processing.py with new files
added data_readLine(LINE) and data_skipLines(LINES) for ascii table
2012-04-18 11:42:57 +00:00
Martin Diehl 17f644b261 new scripts to add deformed configuration to ASCII table and for generation of layered 2D geometries (EBSD)
addCompatibilityMismatch.py is now using functions from ASCII table library
2012-04-18 09:58:59 +00:00
Martin Diehl 997933e495 corrected setup for new names of files 2012-04-16 15:01:29 +00:00
Krishna Komerla f20cecd421 integrated subroutine for regridding into mesh.f90 and made it available for python 2012-04-10 15:15:46 +00:00
Krishna Komerla d638c563af reworked python - fortran interfacing 2012-04-10 13:30:34 +00:00
Martin Diehl a3b37356be added svn flags 2012-03-31 12:42:49 +00:00
Martin Diehl c29ae95af7 new version of AL spectral solver (seems to work, but still experimental)
new concept of DAMASK for Python: Now using also IO.f90, debug.f90 etc. instead of mimicing their necessary function. This needs DAMASK_python.f90 and DAMASK_python_interface.f90 (At the moment more or less copies of respective spectral files).
polished and renamed the scripts for converging ang files
renamed voronoi_randomSeeding.py to spectral_randomSeeding.py
2012-03-29 19:54:31 +00:00
Pratheek Shanthraj 30d38436c7 switched voronoi seeding to python 2012-03-29 16:41:23 +00:00
Martin Diehl 4a6cdcc2e2 moved and renamed tools for generating geom file from ang files. using python instead of c++ for hex2cub conversion 2012-03-27 17:47:39 +00:00
Martin Diehl 3816adac27 removed batch processing (easier done on command line) and changed interactive question for filename to cmd argument 2012-03-21 17:58:11 +00:00
Philip Eisenlohr 33ab391c14 added total increment column 2012-03-14 15:05:49 +00:00
Christoph Kords ac5b6233e6 initialize lastIncrement to 1 2012-03-14 14:59:20 +00:00
Nan Jia d2051e54a5 PBC meshing can work on 2D models 2012-03-14 13:40:22 +00:00
Christoph Kords 95a2ed3443 added ability to add "damask option" to input file 2012-03-13 14:08:09 +00:00
Philip Eisenlohr 9b17015b5a added option for nodal quantity output (uses "linear" translation).
improved stability when requesting non-existing increments.
2012-03-05 15:22:10 +00:00
Christoph Kords dc7234fd02 new option "--suffix" adds a suffix to the filename 2012-02-28 14:24:45 +00:00
Christoph Kords 10e93244c1 writing info to stdout instead of stderr 2012-02-28 13:21:59 +00:00
Philip Eisenlohr fc40291f38 script to add a suffix to specified ASCIItable labels 2012-02-24 08:53:19 +00:00
Philip Eisenlohr 89176ae7f1 added "deleteInfo" to list of symLinks 2012-02-23 13:56:50 +00:00
Philip Eisenlohr 53d7076d05 remove the info part from ASCIItables 2012-02-23 13:53:50 +00:00
Philip Eisenlohr a2b46c8a36 columns can be called by index
now pipe-aware...
2012-02-23 13:53:12 +00:00
Martin Diehl d68a3d1869 added LF=UNIX to a bunch of files 2012-02-22 13:30:00 +00:00
Philip Eisenlohr ff4c281ed2 fixed whitelist/blacklist behavior (blacking out overrides whitelisting)
now broken pipes stop script's outputting.
2012-02-16 18:47:07 +00:00
Philip Eisenlohr a994b4bcc9 fixed problem when condition was empty 2012-02-16 18:00:40 +00:00
Martin Diehl f2729255f8 changed name in install script, small corrections on regex 2012-02-16 15:15:43 +00:00
Philip Eisenlohr 1bad5bf3c7 removed --count option. introduced 'internal' column #_row_#. adopted polished column head identification developed in filterTable. wiki updated. 2012-02-16 11:56:16 +00:00
Martin Diehl 9f45cb3745 new option: -c --count: count rows in ascii table and add column "row" with row number 2012-02-16 11:16:36 +00:00
Philip Eisenlohr edd5adafd0 now with ID and correct line endings... 2012-02-16 08:58:07 +00:00
Philip Eisenlohr 37bd65ea34 script to filter an ASCIItable by condition. each row is evaluated against the condition, columns can be black- or white-listed (white wins)... 2012-02-16 08:36:35 +00:00
Martin Diehl 11d3c7a317 new spectra_parseLog searches through spectral log file and parses all possible output to an ascii table 2012-02-15 20:08:35 +00:00
Martin Diehl b153a762cb now using damask.core.math 2012-02-15 19:34:43 +00:00
Christoph Kords bd32f1bf1a adapting to current format of spectral out file
now using regular expressions to match "magic" lines
2012-02-15 12:07:00 +00:00
Philip Eisenlohr 8671b8ed38 script to delete existing columns from ASCIItable 2012-02-14 12:04:37 +00:00
Martin Diehl 156ec4582a polishing, adding _pInt etc. where applicable
post_results now handels zero increment different (like FEM, it is always there even if it is not counted)
2012-02-13 14:18:07 +00:00
Philip Eisenlohr 3228cf563c fixed bug when column was referenced multiple time in a formula.
changed column tagging character to '#' ('$' gave some trouble on the shell...)
2012-02-09 15:46:25 +00:00
Martin Diehl a329a9b91d added flags for ifort and gfortran to use preprocessor 2012-02-09 13:30:59 +00:00
Philip Eisenlohr 0f7c74e02d set ID flag and line endings 2012-02-09 13:06:22 +00:00
Philip Eisenlohr 5a6cd1fc8f slightly prettified handling of finite difference accuracy requesting 2012-02-08 12:01:38 +00:00
Philip Eisenlohr 56ce779f57 generalized slip system idea of Christoph to field data of "special" dimension (i.e. not 3 or 9).
dropped "norm"-suffix from input names of norms.
ASCIItable output is now called "normType" with type being Abs, Frobenius, or Max...
2012-02-08 12:00:31 +00:00
Philip Eisenlohr 282e4a0360 scripts now figure out dimension and resolution on their own... 2012-02-08 11:18:15 +00:00
Philip Eisenlohr 9c35e4e148 small polishing of help output. 2012-02-08 09:12:08 +00:00
Christoph Kords 51e8981ba3 not specifying the location of python executable directly, but rather getting it from $path, otherwise the scripts won't work on every machine 2012-02-07 13:09:10 +00:00
Christoph Kords 2f07faa0e2 norm capable of using different p-norms (abs norm, frobenius norm, and max norm). also able to handle "slipsystem" outputs (use option -s). number of slip systems can be set by option -i, if not 12 is default. 2012-02-07 13:02:56 +00:00
Philip Eisenlohr bffc22fbe1 major restructuring. packing stencil can be shifted to allow for element or nodal value averaging. 2012-02-02 17:12:48 +00:00
Christoph Kords 9b679c3c0b switched to damask include instead of outdated damask_tools 2012-01-31 13:08:25 +00:00
Martin Diehl 27a976c04f changed to new structure (using damask module) 2012-01-26 12:46:38 +00:00
Martin Diehl becb863110 added test for gfortran and gfortran vs intel, renamed intel test to new numbering scheme and changed to new div criterion
introduced "try" statement in lib/damask/test/test.py to avoid crash if a test variant fails
2012-01-25 15:14:31 +00:00
Philip Eisenlohr 7869379d38 output directory (--dir) can now cope with absolute path... 2012-01-20 19:53:56 +00:00
Philip Eisenlohr 076fef3323 now fully supports output of vector fields (needs POINT data for useful visualization!!) 2012-01-19 20:42:50 +00:00
Philip Eisenlohr b134ec7a39 adopted ASCIItable class and checked correctness of results. 2012-01-19 20:41:56 +00:00
Philip Eisenlohr acf7c86531 respect existing symbolic link to core.so (necessary since different workstation have different system setup..!) 2012-01-19 20:41:08 +00:00
Philip Eisenlohr ae6abedee7 set makefile line endings.
small output polish in patchFrom...
2012-01-16 16:06:41 +00:00
Philip Eisenlohr 447e181f55 fixed rounding problems with nodal coordinates 2012-01-16 16:05:02 +00:00
Philip Eisenlohr 7ed2c19d0f switched importing from "msc_tools" to "damask"
patchFrom... now skips blank lines, has more commenting, treats (artificial) bi-crystal (somewhat) gracefully.
2012-01-16 09:32:36 +00:00
Philip Eisenlohr 8584532205 corrected '-o <file>' syntax: now with space in between. 2012-01-12 13:46:35 +00:00
Philip Eisenlohr 55639f3362 added log time scale capability for spectral results 2012-01-12 08:06:25 +00:00
Philip Eisenlohr 6163896531 $ID$ was not active so far... 2012-01-11 20:18:47 +00:00
Martin Diehl 9abf5a110d changed from old DAMASK (f2py) module to new integrated damask tools 2012-01-06 10:41:23 +00:00
Pratheek Shanthraj 159c8cad89 corrected directories for linking 2012-01-06 10:41:01 +00:00
Pratheek Shanthraj 8b572ff4c5 translating command line options for compiler name to actual name of executable 2012-01-06 10:00:22 +00:00
Martin Diehl dd1e968908 setup_processing.py uses damask module but builds the core part of it, therefore made the use damask.core optional by setting a try statement in __init__.py and a "from damask import xxx" 2012-01-04 11:06:24 +00:00
Philip Eisenlohr fbe908ccd2 now uses damask.core.math package 2011-12-22 10:42:24 +00:00
Philip Eisenlohr 35bd460e39 added "core" package capability to processing
(renamed former f2py modules)

reverted pathinfo...
2011-12-22 10:36:59 +00:00
Krishna Komerla f463c2da70 added addCurl.py, not sure if it works correctly. still in old (eq. to addDivergence.py) style 2011-12-21 17:25:31 +00:00
Martin Diehl 3706bcbc3e fixed bug 2011-12-20 14:19:01 +00:00
Martin Diehl 8d5dcc97bd added geomCrop to crop a box out of a geom file 2011-12-20 13:33:16 +00:00
Philip Eisenlohr 1194deff54 corrected leftover mistake (items --> table.data) 2011-12-15 10:53:20 +00:00
Philip Eisenlohr fb7adf7b89 adopted use of general damask package 2011-12-15 08:53:18 +00:00
Christoph Kords 609175318e added option for output of colormap palette also as float values 0.0-1.0 2011-12-08 10:02:48 +00:00
Philip Eisenlohr 2ceb78c337 introduced new damask_tools method "relPath" and adopted it in setup_processing.py and setup_code.py 2011-12-06 18:38:03 +00:00
Martin Diehl ea0fe7b406 corrected 3D visualize (math.f90 part was not working)
small polishing of voronoi_tessellation.f90
2011-12-06 17:46:33 +00:00
Martin Diehl 5ebeb96e85 made DAMASK to work with gfortran:
-removed to long lines
-restructured f2py modules and merged make_DAMASK2Python into setup processing
-setup_code.py now sets library path in makefile and asks for compile switches for spectral code
-substituted \ in format strings with $

restructured DAMASK_spectral:
-more logical output and structure of code
-better input for spectral debug parameters
2011-12-06 16:58:17 +00:00
Philip Eisenlohr 9d3f7b8d3d adopted ASCII_TABLE class 2011-12-04 09:57:13 +00:00
Christoph Kords 42c3074821 mini calculator for column-column arithmetic 2011-12-02 15:15:36 +00:00
Martin Diehl 148f57b86d changed it to work with changes in last commit 2011-12-01 12:02:36 +00:00
Martin Diehl ace6851389 moved all routines from postprocessingMath to math.90, renamed the module to DAMASK, changed scripts and interfaces accordingly.
polished math.f90 (mainly added _pInt/_pReal and intent(in/out))
curl_fft is still a dummy function
2011-12-01 12:01:13 +00:00
Philip Eisenlohr e98590d850 adopted ASCII_TABLE class 2011-11-24 17:10:50 +00:00
Philip Eisenlohr 18a09d7cff corrected handling of STDIN|STDOUT
adopted ASCII_TABLE class
2011-11-24 14:48:02 +00:00
Martin Diehl 267b8ac30c started to add curl calculation to postprocessingMath.f90
restructured colormap calculation. Algorithm is working now, but input/output still has to be done
2011-11-23 20:08:48 +00:00
Philip Eisenlohr 48f8d4ccb5 exchanged logic now using ASCII_TABLE class... 2011-11-23 14:54:53 +00:00
Philip Eisenlohr f685bbba0e exchanged location of "graincount" in user block.
now matches wiki entry:
1. homogenization block
2. grain block
  (grain count
   sub-block[s] of crystallite and constitutive)
2011-11-23 09:09:00 +00:00
Philip Eisenlohr e8f5996a96 renamed MSC_TOOLS.library_paths to libraryPath, since only single string is returned 2011-11-23 08:25:52 +00:00
Philip Eisenlohr 21fcd0357e now subsumed into general postResults functionality 2011-11-22 19:43:37 +00:00
Martin Diehl 75e20dffb7 corrected version conflict 2011-11-17 21:36:56 +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
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
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
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 edb8c0cd1e no part of "lib/pathinfo" 2011-11-03 13:00:39 +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 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 96223ddf39 corrected for-loop index bug. two-dim output is now optional. 2011-10-14 23:43:45 +00:00
Philip Eisenlohr 708b4d2eca seed-file header format corrected, setup script now contains minimalSurface and vicinityOffset. removed .exe from compile output 2011-10-14 22:39:58 +00:00
Philip Eisenlohr ba0488638b alter a spectral geom file such that any voxel that sees within a given vicinity a different microstructure than itself gets offset by a given value. this allows to identify/isolate grain boundary regions... 2011-10-11 17:35:53 +00:00
Philip Eisenlohr 98c9bf9c15 generates spectral geom file for (currently) gyroid or diamond minimal surfaces. Inside and outside of a given threshold value are distinguished by microstructure 1 and 2. 2011-10-11 17:30:55 +00:00
Philip Eisenlohr ffc6442098 can now deal with arbitrarily long lines for microstructure definition. useful for 2D ASCII representation of grain morphology in the geom file.
additional internal code reworking.
2011-10-11 17:25:22 +00:00
Philip Eisenlohr c7c541f393 corrected typos and such 2011-09-13 15:57:58 +00:00
Martin Diehl d235de1aa5 added two small (quick and dirty) tools to convert data from EBSD to input files for spectral method, put them together with patchFromReconstructedBoundaries into new folder. 2011-09-13 15:46:44 +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 48ac3956ce added '\n' escaping of ID string in VTK header 2011-09-05 13:38:10 +00:00
Philip Eisenlohr f458f026db forgot to include string module, too 2011-09-05 08:54:29 +00:00
Philip Eisenlohr 0ac5109c94 forgot to include string module 2011-09-05 08:50:36 +00:00
Martin Diehl 4eb8e25b6d no fitting recent file renames 2011-08-26 12:25:11 +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
Martin Diehl 272f7cc655 added auto scaling of dimension to voronoi_tessellation.f90. If dimension(i) == 0, it will get the smallest step of the remaining dimensions in that direction. Same is now done by patchFromReconstructedBoundaries
setup_processing.py now gives executables the extension *.exe and removes the old executables before compiling
2011-08-25 12:16:06 +00:00
Martin Diehl 39b97f7b67 added new script "spectral_scaleGeom" 2011-08-19 13:32:27 +00:00
Philip Eisenlohr 2dd8a353bb now also works for single stepped loadcases, too 2011-08-19 10:03:42 +00:00
Martin Diehl 483234047c renamed to be consistent with other file names 2011-08-19 07:53:35 +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
Martin Diehl 589666d19e added python script to simply (without antialising) scale a given *.geom file 2011-08-19 07:29:50 +00:00
Philip Eisenlohr def056f30f added $Id$ escaping 2011-08-18 08:00:19 +00:00
Philip Eisenlohr 10493ea8b0 added $Id$ login name escaping 2011-08-18 07:53:07 +00:00
Philip Eisenlohr 164da22730 added some warnings if Mentat or PIL cabability missing 2011-08-18 07:52:07 +00:00
Martin Diehl ff3bac2496 does not double size of 2D data for spectral method any more 2011-08-17 16:06:50 +00:00
Nan Jia 3298e6821b added forgotten "averageDown" script to list of shortcuts 2011-08-16 18:20:52 +00:00
Philip Eisenlohr bedce496a8 deleted unused option "dimension" since this is figured out by parsing the respective spectral or geom input files anyway. 2011-08-15 08:34:55 +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
Philip Eisenlohr 4d2f6782e7 removed "error" msg about missing /msc directory. if not present, now silently ignored (together with any requests for Mentat interaction). 2011-06-09 12:52:54 +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
Franz Roters f2c41aac83 do not use pwd library as it is unix only
due to the above path to subroutine is no longer set in mentat
spectral output uses different "grain numbers" for x-margin, y-margin, and margin edge
2011-06-08 15:06:37 +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
Franz Roters 7aed307bfc removed obsolet option --frame
renamed texture component frame to margin
2011-06-08 06:47:23 +00:00
Philip Eisenlohr 8921f29dce merged imaging, Mentat, and spectral versions of generating a patch of grains from a reconstructed boundary file into one script. 2011-06-07 19:15:34 +00:00
Philip Eisenlohr 9370d9a049 added 'spectral_geomCheck' to symlink table 2011-06-06 15:29:14 +00:00
Philip Eisenlohr 9f5c9142e5 generate ParaView mesh from spectral geometry (*.geom) description file to check for correct grain assignment 2011-06-01 08:44:14 +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
Franz Roters ac3a2ee4e1 alll grain have the same phase now
corrected small bug when Image library is not available
2011-05-28 09:48:39 +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
Philip Eisenlohr 4658190951 now reports command line switches used in generating output files 2011-05-12 09:53:44 +00:00
Philip Eisenlohr 25bf6bf7dd reports command line switches used in generating output files 2011-05-12 08:25:34 +00:00
Philip Eisenlohr 0a5e151699 extension to make content clear 2011-05-11 17:10:12 +00:00
Christoph Kords 1928fa816c output now contains both node and ip number
relation between node and ip numbering is given in new function ipIDs
2011-05-06 10:00:27 +00:00
Christoph Kords 56b2b3e572 * quick fix in order to make it work for elements of type 57 (quadratic with reduced integration)
* length for results of type "elemental tensor" is exactly 7
2011-05-05 09:16:29 +00:00
Philip Eisenlohr 2fa4a344b9 added sloppy option to circumvent increment range check. that is useful to reach the last inc in former FFT sim results, which have a wrong inc count in their header 2011-05-02 16:10:18 +00:00
Philip Eisenlohr 97185fb30b removed debug printing... 2011-04-14 14:03:06 +00:00
Philip Eisenlohr f598e3b6ed corrected mixup of Fortran (1,2,3,...) indexing to Python (0,1,2,...) style.
fixed erroneous array indexing in neighborhood calculation.
2011-04-14 10:11:23 +00:00
Philip Eisenlohr 2a04bfdbba fixed error concerning mixed-up index starts (0 vs 1)
"illegal" mapping functions are not checked anymore, i.e., if you want to average Euler angles you get it..!

sorting is now "natural", i.e., separating or sorting for "x,y,z" returns x varying fast and z slow. "--sort" overrides "--separate" in terms of output sorting (as expected...)
2011-04-13 16:31:44 +00:00
Philip Eisenlohr 482be626e0 major recoding.
now with tiny memory footprint and better guessing of remaining time.
2011-04-12 17:46:35 +00:00
Nan Jia e4cbdc5743 now also works for 2D quadratic triangular element type 125 2011-04-06 13:11:25 +00:00
Philip Eisenlohr a989aa979e corrected increment offsetting for spectral file type. should now be consistent with new (0+N) mpie_spectral output scheme 2011-04-06 10:00:19 +00:00
Philip Eisenlohr fffff202b0 2D mesh option now also alters corresponding job option 2011-04-04 15:47:09 +00:00
Philip Eisenlohr 73accf79b6 added option for 2D mesh (3D extrusion step is skipped) 2011-04-04 12:12:01 +00:00
Philip Eisenlohr a546f8dbd2 changed wording of input queries to (hopefully) clearer statements 2011-03-30 15:48:18 +00:00
Franz Roters 8467c91dab moved setup scripts back to subdirs where they are needed 2011-03-22 15:42:53 +00:00
Philip Eisenlohr 6ac2b4cf88 deleted useless storage of data resulting in partial speed-up.
large datasets (>1 mio elements) cannot be processed at the moment---investigation required, why each element eats about 20kB of memory?
2011-03-11 16:32:01 +00:00
Philip Eisenlohr 1f0569230b new installation/setup dir to hold all top-level make_*-scripts 2011-03-11 09:20:37 +00:00
Philip Eisenlohr 621c1198a4 Marc/Mentat related things are only executed for filetype marc. this has been too lax before, causing trouble.
filetype is now lowercased right from the start, keeping effort low downstream...
2011-03-10 09:45:57 +00:00
Christoph Kords 6b63d488cb need py_post, not py_mentat 2011-02-28 10:00:08 +00:00
Philip Eisenlohr 9312aed545 set executable bit 2011-02-27 21:51:56 +00:00
Martin Diehl 8cae4d609a some polishing for single precision version.
Now only prec and mpie_spectral are needed in different versions
2011-02-25 12:41:46 +00:00
Martin Diehl cd5407b08b removed all math functions only for double precision by the more flexible counterpart, e.g. "dsqrt --> sqrt", "dsin --> sin". Should not cause any harm, as long as "implicit none" is used.
Now it is possible to compile a single precision spectral solver/crystal plasticity by replacing mesh.f90 and prec.f90 with mesh_single.f90 and prec_single.f90.
For the spectral method, just call "make precision=single" instead of "make". Use "make clean" evertime you switch precision
2011-02-25 09:25:53 +00:00
Martin Diehl f525c02ded added single precision libraries for FFTW
First try of implement single precision crystal plasticity, not working yet.
polishing text about geometry construction.
polishing postResults, still having problems concerning machines without MSC installation
2011-02-24 18:39:57 +00:00
Martin Diehl 3c944e79fa did some things Philip told me to do (postResults for spectral files is now working without MSC installation) 2011-02-22 16:18:47 +00:00
Philip Eisenlohr 003b0def46 fixed a stupido error 2011-02-22 16:06:24 +00:00
Martin Diehl 333445be8b changed meshing routine from python to fortran (f2py) 2011-02-22 16:00:22 +00:00
Philip Eisenlohr 2dc3b35725 no need anymore for msc python interface when dealing with spectralOut files 2011-02-22 15:57:27 +00:00
Martin Diehl 8a5e28d5a6 now using fft reconstruction in 3Dvisualize, linear python code for reconstruction is removed 2011-02-21 21:03:21 +00:00
Martin Diehl c399a06c97 tried to implement an inverse reconstruction, meaning to calculate an average deformation gradient from the 8 cornes of a node in reference and current configuration. Not working yet.
polishing, mainly in fft reconstruction.
added fftw library file and fortran file for type specification
added folder references with literature for visualization/geometry reconstruction
2011-02-21 16:30:18 +00:00
Philip Eisenlohr 34336bc659 fixed bug when no argument was supplied 2011-02-18 09:02:29 +00:00
Martin Diehl 438bf95105 added ft-based reconstruction of deformed configuration to postprocessingMath.f90 and postprocessingMath.pyf
also added function to calculate average of tensor
some polishing in mpie_spectral.f90, added sanity check to see im resolution is power of 2
2011-02-14 17:21:31 +00:00
Philip Eisenlohr 874d5067c7 switches drawing of servo links temporarily off to speed up processing. 2011-02-11 11:29:58 +00:00
Martin Diehl 3d7fad6ba9 mpie_spectral.f90: changed fourier transormation, now using the advanced interface to do the tranformation both ways with just one call. now also using the same variable for pk-stress in both domains and the change of deformation gradient in both domains.
postprocessing: renamed name of python/f2py modul from "reconstruct" to "postprocessingMath", added some numerical operations to use for postprocessing.
2011-02-09 17:47:28 +00:00
Philip Eisenlohr 65ae7de42b fixed bug for missing file name 2011-02-09 09:18:21 +00:00
Martin Diehl 7a7ca1aab7 mpie_spectral and mpie_interface: changed workingdir from pathToLoadFile to pathToGeomFile
mpie_spectral and numerics: added switch to prevent pre calculation of gamma_hat. slower, but saves memory
3Dvisualize: started to add support for gmsh (not fully working yet)
reconstruct: new version of f2py/Fortran subroutines for output of results from spectral method
2011-02-07 14:35:42 +00:00
Philip Eisenlohr 6511b4b5a2 added possibility to select predefined colorscheme from config file 2011-02-04 09:36:26 +00:00
Philip Eisenlohr 05350d573e fixed a bug in new --sort
--separation option now keeps data point location as intact as meaningful after applying averaging
2011-02-01 18:32:20 +00:00
Martin Diehl 669893b397 binary \n will not longer cause problems 2011-02-01 18:25:40 +00:00
Philip Eisenlohr 14d3d0ba99 less output but can now handle 'n/a' in data files without crashing 2011-02-01 16:43:00 +00:00
Philip Eisenlohr ebf201e89c sorry---wrong file version uploaded before.
now correct: added "--sort" option extending the existing sorting according due to "--separation". This is, for instance, useful for separating /elementhomogeneous/ results by element and later listing the results along x,y,z...

slight improvement in file-error reporting
2011-02-01 13:24:19 +00:00
Philip Eisenlohr 958c51fc26 added "--sort" option extending the existing sorting according due to "--separation". This is, for instance, useful for separating /elementhomogeneous/ results by element and later listing the results along x,y,z... 2011-02-01 13:13:05 +00:00
Philip Eisenlohr d6edb64929 produce VTK visualizations from postResults files 2011-02-01 10:48:44 +00:00
Martin Diehl fec2c14a4e removed hard-coded tolerances from mpie_spectral and put them to numerics/IO
removed storage of full cauchy stres field from mpie_spectral.f90, only average is stored now
added cauchy stress and von mises equivalent calculation to spectral post.
2011-01-31 17:07:42 +00:00
Philip Eisenlohr 0cf1404db0 changed from element 117 (hexahedral with reduced integration) to element 7 (hexahedral with full integration). one-IP elements give trouble in the ping-pong scheme by being frequently/always outdated. this is likely connected to their finite element technology such that even high stiffness values do not prevent the solver from altering displacements in subsequent cycles. remedy is to go for full integration combined with /elementhomogeneous/ phase... 2011-01-27 14:32:29 +00:00
Philip Eisenlohr f84ac44f9a now compiles Fortran sources on the fly 2011-01-26 15:17:03 +00:00
Martin Diehl 17b8205e3f reconstruction of geometry is now working. It is directly implemented in python (file spectral_post.py).
reconstruction in fortran is not working (file reconstruct.f90) due to some problems with f2py
2011-01-26 12:56:52 +00:00
Philip Eisenlohr 38409ebc71 included both new voronoi_xxx scripts 2011-01-24 16:21:49 +00:00
Philip Eisenlohr ee7a8ad52a general speed up
spectral format records physical coordinates
tessellation now based on phys coords instead of discretization.
2011-01-24 16:21:17 +00:00
Philip Eisenlohr e721f2b654 sight restructuring of algorithm -- same functionality 2011-01-20 19:22:22 +00:00
Martin Diehl 52f06009be rewrote voronoi tessellation. the VE generation is now divided into two parts:
-generation of random positions (in a 1x1x1 parameter space) and random angels
-actual voronoi tessellation
for the generation of the positions, a resolution can be specified to ensure that the tessellation works at that resolution. The tessellation will always work on larger resolutions but not necessarily at smaller ones.
2011-01-20 17:21:38 +00:00
Philip Eisenlohr 5990d94ca3 added description and $ID$ 2011-01-19 15:14:05 +00:00
Christoph Kords 581955f68d parsePostFile screwed up the position of outputs for a grain number larger than 1 2011-01-14 13:15:19 +00:00
Martin Diehl a662a28a97 added support for spectral method result files 2011-01-12 16:55:56 +00:00
Martin Diehl 322cbd2597 changed tools for voronoi tessellation to match new specification (file extension and resolution). Also renamed the files, because the space characters cause trouble
improved reconstruct.f90 and spectral_post.py, both files work now under linux

added make_reconstruct.py, small shell script for using f2py
2011-01-07 14:37:05 +00:00
Martin Diehl 20c00288b8 ---had some problems with svn, hope everything is ok now---
added new tools to generate colormaps for paraview and gmsh, written in python
removed old fortran colormap generator.

removed test.py (not longer needed) and the python module reconstruct.pyd (not running under linux)
2011-01-05 14:53:31 +00:00
Martin Diehl 3b0eeb9956 added files for geometry reconstruction from given deformation gradient.
reconstruct.f90 is a fortran source file with comments to use with f2py
reconstruct.pyd is the compiled python module

test.py is a test file to check if the reconstruction works (unfortunately i does not at the moment, probably because there are type conflicts between fortran and python)
2010-12-22 10:59:54 +00:00
Martin Diehl 8d6ddcf28b restructured (or structured at all) reading of header, first try of reading in deformation gradient 2010-12-09 15:53:52 +00:00
Martin Diehl ac676623ca reading of header is now working 2010-12-03 14:57:28 +00:00
Martin Diehl 2f47d4b09b added conversion of 'resolution' in result file to integer array 2010-12-02 14:53:17 +00:00
Martin Diehl ab82dbc99c continued working on reading header of output file 2010-11-30 14:26:30 +00:00
Martin Diehl 9d32bc7ae6 added output of complete mesh to voronoi fast.f90
first version of post processing for spectral method: spectral_post.py
2010-11-29 10:08:53 +00:00
Philip Eisenlohr b2cc34349f corrected mistake in nodeCoordinate assignment, bug-fix for option " --filter 'x,y,z' " 2010-11-12 08:56:04 +00:00
Philip Eisenlohr be265aef37 slight improvement of remaining time estimate... 2010-11-02 16:55:56 +00:00
Philip Eisenlohr 796bffee2e 1) speed-up of elementTensor output
2) added estimate of remaining time
2010-11-02 15:45:23 +00:00
Martin Diehl e80e055c75 added three small programs useful for spectral method (fortran sourececode)
voronoi fast.f90 and voronoi small memory.f90 are two variants to do a voronoi tessellation and write the result to a mesh file that can be interpreted by mpie_spectral.f90. Difference is the memory management resulting in one faster and one memory saving version. voronoi fast.f90 has also the ability to write out a file for Ricardo Lebensohns spectral code.
colormap.f90 is a simple code that can be used to generate colormaps for gmsh.
2010-10-31 16:06:10 +00:00
Philip Eisenlohr 74743c0856 little typo fixed... 2010-10-26 18:26:04 +00:00
Philip Eisenlohr 487466dd88 scripts are now aware of symbolic links to themselves... 2010-10-26 16:26:55 +00:00
Philip Eisenlohr 18344b4e65 forgot linebreaks and executable flag... 2010-10-26 15:32:03 +00:00
Philip Eisenlohr 5f64cacc74 generate alias in ~/bin for processing scripts 2010-10-26 15:02:20 +00:00
Philip Eisenlohr 5be6604fd6 included definitions of "material" and "geometry" properties after mesh generation... 2010-10-26 13:45:23 +00:00
Philip Eisenlohr d965f14f90 generate hexahedral mesh in Mentat based on a data file of Ricardo Lebensohn's "txfft" format (phi1, Phi, phi2, x, y, z, grainId, phaseId)
Only grainId is used, physical dimension and subdivisions need to be provided on command line.
improvement possible by parsing x, y, z columns to get those directly.
2010-10-25 17:57:57 +00:00
Philip Eisenlohr 3a4743f1d3 fixed bug in grain naming scheme. occurred for gaps in consecutive numberings... 2010-09-28 16:56:49 +00:00
Philip Eisenlohr 23746e7e78 chopped line beginnings
introduced check for PIL, if this fails, no image will be output
2010-09-23 07:59:52 +00:00
Philip Eisenlohr d8a4cd1739 added optional argument --baseindex to specify what colorset should be influenced. identify colors, for instance, start at idx 214... 2010-09-13 07:31:27 +00:00
Alankar Alankar 006dce7d8a printing euler angles (and defgrads and orientations) for individual ips now works 2010-09-08 11:55:57 +00:00
Philip Eisenlohr 4a31b175da 1) introduced default colors
2) complaints are more verbose
2010-09-06 16:51:11 +00:00
Philip Eisenlohr 3b671faae7 added some flexibility (and bug-fixing) to the pre/post processing. the file 'MSCpath' contains the LOCAL path to the MSC installation (/msc in our case) 2010-08-17 18:21:22 +00:00
Philip Eisenlohr 94efd57663 started to put Marc/Mentat related scripts to corresponding post/pre processing folders. We should move development from my Code folder to here (sorry, lost history then...) 2010-08-16 20:47:27 +00:00