Commit Graph

491 Commits

Author SHA1 Message Date
Philip Eisenlohr 8fd590d7bd added red--blue map 2013-05-24 07:41:44 +00:00
Christoph Kords 19dc95a915 now able to choose vector that is used for warpvector filter via option.dispLabel 2013-05-22 21:23:01 +00:00
Christoph Kords 75ee54146b deleted unused function 2013-05-22 21:20:00 +00:00
Martin Diehl b3a90a8a3b last changes on preprocessing tools, only documentation needs to be done 2013-05-17 16:44:03 +00:00
Martin Diehl 17b81fda7c still improving preprocessing scripts 2013-05-15 17:23:21 +00:00
Martin Diehl 53348db000 tested the modified scripts, all scripts generating geometry now named geom_from... 2013-05-15 16:02:38 +00:00
Martin Diehl 0b4a5cfa9b geom_check is now using vtk class, other scripts stop execution in case of invalid grid or size 2013-05-14 21:09:37 +00:00
Martin Diehl 9093cf2072 polishing, unifying,simplifying 2013-05-14 17:51:53 +00:00
Martin Diehl 2acd737859 polishing, unifying,simplifying 2013-05-14 17:19:36 +00:00
Martin Diehl 563e74c832 now also using numpy 2013-05-14 17:00:41 +00:00
Martin Diehl b2c50124b5 more improvements on structure, comments and header generation of pre processing tools 2013-05-13 13:10:31 +00:00
Martin Diehl 52af9aaabf made spectral preprocessing more verbose (now reporting changes on header) and aware of new keywords, added coding information below shebang 2013-05-13 11:27:59 +00:00
Christoph Kords deb2bd7dca added option to only process ip or node based geometry/data 2013-05-13 10:06:40 +00:00
Christoph Kords 7f7cd0732d improved visualization of script results 2013-05-13 09:36:19 +00:00
Christoph Kords 193c77f526 corrected prediction of computation time 2013-05-09 11:33:40 +00:00
Christoph Kords ed1674ee1c changed default value of eulerangles label 2013-05-09 11:32:34 +00:00
Christoph Kords 2d4cb6d128 first point on slice always starts at (0,0)
added option to visualize results
2013-05-08 15:59:51 +00:00
Christoph Kords bd33169118 mistakenly committed table2ang in rev 2380, instead of vtk2ang. reverted changes in table2ang 2013-05-08 15:58:17 +00:00
Christoph Kords ed9413a008 added simple output about progress 2013-05-07 14:32:38 +00:00
Christoph Kords 543cbf3a14 first point on slice always starts at (0,0) 2013-05-07 13:18:26 +00:00
Christoph Kords c7f987a3c1 "unitlength" parameter, which determines the physical size of the mesh, now available as a global mesh variable "mesh_unitlength" and written to the .mesh file during init.
Hence, it is available to the marc_deformedGeometry.py script via "mesh_init_postprocessing()" and "mesh_get_unitlength()", so no need for setting the scaling of the displacement vectors explicitly through an option; now displacements and nodal positions are always consistent
2013-05-07 13:06:29 +00:00
Christoph Kords 9656d06fcc - all length in nag file in micrometer
- "size" option replaced by "scale": uniform scaling of all length
- default normal in negative z-direction
- more output in verbose mode
- ang file numbering starts with 1
- positions in ang file in TSL, not lab frame
2013-05-07 12:57:34 +00:00
Christoph Kords 278198121d only import vtk classes that were used 2013-05-06 16:55:44 +00:00
Christoph Kords 2371bd9f57 correct extension ".py" for "table2ang" and "vtk2ang" 2013-05-06 16:43:05 +00:00
Christoph Kords f5482ffbf4 new script that generates ang files for slices through vtk data set 2013-05-06 16:37:54 +00:00
Christoph Kords 43647fc5e6 use datatype double instead of float for ouputs 2013-04-30 14:45:29 +00:00
Christoph Kords 12ca2c1931 added scaling option for displacements 2013-04-29 16:02:30 +00:00
Christoph Kords 9afaa9f4d0 set "line breaks" and "keywords" property 2013-04-29 09:24:07 +00:00
Christoph Kords fbb8353bba check if data set attribute is already present 2013-04-29 09:23:16 +00:00
Christoph Kords cc72c0b17b added two new scripts:
"marc_extractData" is a simple variant of the "postResult" script that extracts all data from a macro *.t16 file (quadratic elements not yet supported) and writes it into an asciitable
"addDataToGeometry" searches for corresponding *.txt and *.vtk file in a given directory and adds the data from the *.txt file as SCALARS to the *.vtk file

first script needed an additional function in mesh that returns the corresponding node of a given ip in a specific element
2013-04-28 20:56:17 +00:00
Martin Diehl a003d14824 grid and size for vicinityOffset, small changes for other scripts 2013-04-25 16:51:32 +00:00
Martin Diehl 5d8664e230 updated to new keywords + more verbosity 2013-04-25 15:53:41 +00:00
Martin Diehl 7cbf107751 removed misplaced new line statement 2013-04-24 11:07:05 +00:00
Christoph Kords 650b7ef4ac added python script that produces vtk files with the (node based and ip based) deformed mesh from marc output file 2013-04-23 18:30:56 +00:00
Pratheek Shanthraj aa07656a90 exchanged final two occurrences of "grains" to "microstructures" 2013-04-18 13:53:13 +00:00
Martin Diehl 06c872d404 added libs.f90 to core module compilation, didn't work because kdtree2 wasn't there 2013-04-17 17:39:52 +00:00
Philip Eisenlohr b572c71db0 fixed small bug in error reporting (missing column head complaint was broken...) 2013-04-16 20:10:17 +00:00
Martin Diehl d971a32516 changed keywords, now also printing out altered size/grid/microstructures information 2013-04-16 18:00:14 +00:00
Martin Diehl 2ff0f1b93e keywords update from resolution/dimension to grid/size 2013-04-12 14:13:32 +00:00
Martin Diehl b4f67248a5 deleted two simple scripts used for debugging but with almost no use any more 2013-04-12 13:22:15 +00:00
Martin Diehl 7bcf1d6072 added ID information of creator script to header, changed keywords (resolution->grid, dimension->size) 2013-04-12 12:48:39 +00:00
Martin Diehl 4314ab236e added ID information of creator script to header 2013-04-12 11:15:17 +00:00
Martin Diehl 6f0308844f geom packing/unpacking won't throw away unknown header information any more (might contain comments) 2013-04-12 10:47:44 +00:00
Martin Diehl 0b1033d63a switched to new keywords "grid" and "size", still reads the old "resolution" and "dimension" but writes the new ones 2013-04-12 10:27:05 +00:00
Martin Diehl 770712529d one more bug fix related to scaling 2013-03-26 16:16:59 +00:00
Martin Diehl ccef9d4f73 fixed scaling option 2013-03-26 14:18:29 +00:00
Philip Eisenlohr 5b96c1d62a scaling of deformation gradient fluctuations now possible in x,y,z independently (give array). 2013-03-22 15:09:55 +00:00
Martin Diehl cd86a80c2b corrected handling of default value and cases where the deformation gradient is not f 2013-03-19 18:22:14 +00:00
Martin Diehl 43ec1d2051 added output of perceptual unfiform colormaps to GOM (DIC Aramis) format, deleted some old files in the documentation folder 2013-03-19 15:19:46 +00:00
Martin Diehl 757c3e5a04 fixed bug in averageDown and updated test 2013-03-13 16:23:02 +00:00
Martin Diehl 010d4c6e26 added script to make 27 periodic copies (3 in each dimension) 2013-03-11 13:40:30 +00:00
Martin Diehl 8a66693001 added script to convert data used by R.A. Lebensohn to spectral solver (geom, material.config) format 2013-03-05 16:31:17 +00:00
Philip Eisenlohr 0d7f1e8623 killed "margin" option, now same as all others: resolution and dimension in x and y.
can be non-square grid.
2013-02-27 18:43:53 +00:00
Philip Eisenlohr 565c532546 fixed bugs (grain index start, alpha orientation for elliptic osteons).
added option to rotate osteon relative to periodic box.
2013-02-27 10:56:30 +00:00
Pratheek Shanthraj 1cc990c7ac osteon geom and config generator 2013-02-25 17:12:13 +00:00
Martin Diehl 831ad6d9c8 added leading zeros to names of microstructures and phases, spaces caused problems during initialization 2013-02-20 14:50:01 +00:00
Philip Eisenlohr 7461e13c1e relocated spectral_quit() into driver code.
added (dummy) core_quit() for Python damask module.
2013-02-19 14:54:34 +00:00
Philip Eisenlohr 30024af6c2 polished string concatenations 2013-02-14 21:33:11 +00:00
Martin Diehl d715ec769b removed debug statements from symlink_Code.py, added autodetection for fortran compiler and disabled compiling on default 2013-02-13 18:45:49 +00:00
Christoph Kords a90f15a3d3 corrected usage of "append" (which does not copy list items but only creates references) 2013-02-13 16:00:02 +00:00
Martin Diehl cc9eb685fe fixed wrong setting of coordinates in spectral solvers and removed old python scripts for setup of code and processing 2013-02-05 12:31:44 +00:00
Philip Eisenlohr a7e7a857c3 readjusted color values to work nicely with Msh colorspace (as in ParaView) 2013-02-02 20:17:54 +00:00
Philip Eisenlohr ac562f4b8b changed internal color mapping to damask.Colormap class 2013-02-02 15:12:43 +00:00
Martin Diehl b0263a8aab added possibility to parse options for setup_code.sh and setup_processing.sh + other improvements in setup functionality 2013-02-01 12:21:56 +00:00
Martin Diehl e74b5da19a changed all remaining routines to fortran-fast arrays (geometry reconstruction etc.)
changed all remaining routines in f2py to more clever determination of array size (requires f2py >= 2.0)
enabled 3D visualize to work with odd resolution by switching to linear reconstruction
PLEASE NOTE: Redefinition of routines for f2py might cause trouble -> DELETE DAMASK_ROOT/lib/damask/core.so in this case
further changes: added pure statement where possible, polished, unified use of "Q" for "Quaternion" and reordered math to have similar routines together
2013-01-31 16:28:08 +00:00
Mahesh Balasubramaniam 55957dd99e compile_CoreModule.py split seperately from the previous setup_processing.py 2013-01-29 15:33:20 +00:00
Mahesh Balasubramaniam d713ef79d0 a simple shell script that runs compile_CoreModule.py and symLink_Processing.py in the said order 2013-01-29 15:32:43 +00:00
Mahesh Balasubramaniam bd1f8044fb symLink_Processing.py split seperately from the previous setup_processing.py 2013-01-29 15:31:57 +00:00
Philip Eisenlohr 963ff0c3ae added support for tetrahedron element with 4 integration points (Marc ID 127) 2013-01-28 16:25:43 +00:00
Pratheek Shanthraj e691ff1ea1 updated setup_processing and corrected descriptions for new scripts 2013-01-22 09:56:36 +00:00
Pratheek Shanthraj a4abebfcbb some potentially useful postprocessing scripts 2013-01-21 23:15:23 +00:00
Mahesh Balasubramaniam 4af855c755 added perceptualUniformColorMap.py to the list of post-processing files 2013-01-18 17:39:09 +00:00
Mahesh Balasubramaniam 5676330e93 parsing options and file handling for perceptually linear diverging and sequential colormaps 2013-01-18 17:15:30 +00:00
Philip Eisenlohr e51779579e removed (unsupported) "--geom" option. 2013-01-18 13:01:43 +00:00
Philip Eisenlohr c8aaf8f6d4 added $id flags and specified line ending types when missing.
setup script missed ".py" extension for geom_euclideanDistance.
2013-01-18 12:59:26 +00:00
Pratheek Shanthraj 0e93d51fed adopted same algorithm as in addEuclideanDistance 2013-01-18 11:42:27 +00:00
Pratheek Shanthraj 096204cd79 corrected missing file renaming of output 2013-01-18 11:39:53 +00:00
Mahesh Balasubramaniam 7ac7d1a657 new tool for creation of colormaps, now using proper classes 2013-01-15 18:24:10 +00:00
Mahesh Balasubramaniam cd5197556b sequential colormapping with options for desired color and type(increasing or decreasing) is now working 2013-01-04 19:50:39 +00:00
Mahesh Balasubramaniam 820b8eb2c1 put colormap related functions into library, renamed and added scripts for creation of colormaps 2013-01-04 13:57:36 +00:00
Mahesh Balasubramaniam 6ab79d5593 added options for parsing and the colormap. Customized colormap is written out as an xml file importable into paraview. 2013-01-04 12:04:05 +00:00
Mahesh Balasubramaniam 3242361c91 added a minor change to the string expression and the for loop. 2013-01-04 12:01:34 +00:00
Mahesh Balasubramaniam 7157e8f03c changed some of the color-space conversion formulae. 2013-01-04 12:00:10 +00:00
Pratheek Shanthraj a69aaa1315 Use scipy euclidean distance function instead of FMM (runs without skfmm
module installed)
2012-12-19 14:50:45 +00:00
Martin Diehl 260e4191a0 replaced tabs by spaces 2012-12-13 18:15:10 +00:00
Philip Eisenlohr dfb791bcaf only complain about missing Mentat release if needed... 2012-12-12 08:33:42 +00:00
Christoph Kords 34645a7222 write warning about missing Mentat release to stderr instead of stdout 2012-12-12 08:21:59 +00:00
Christoph Kords 93d822aaa1 symmetric colormap always with pure white in the middle 2012-12-11 16:50:34 +00:00
Pratheek Shanthraj 726d1173e5 polishing 2012-12-07 17:46:28 +00:00
Pratheek Shanthraj c4ef2e5925 bug fixes 2012-12-07 17:41:50 +00:00
Pratheek Shanthraj eaf7072bc1 Vectorized checking of neighbourhood for unique microstructure
(faster) 

M    addEuclideanDistance.py
2012-12-07 10:50:34 +00:00
Philip Eisenlohr 89867a198c forgot to adopt addEuclideanDistance into the auto-setup... 2012-12-06 21:51:30 +00:00
Philip Eisenlohr a37250eef4 script to add the Euclidean distance map from boundaries, triple lines, and quadruple points to an ASCIItable of a regular grid.
requires numpy, scipy, and skfmm...
2012-12-06 21:49:49 +00:00
Philip Eisenlohr 2d4cf7da74 conditions can handle string data.
use "#s#label#" format to indicate that column headed by "label" contains strings (not floats)...
2012-12-03 14:29:21 +00:00
Philip Eisenlohr 7d96bb7ce8 Add column(s) containing directional stiffness based on given cubic stiffness values C11, C12, and C44 (in consecutive columns) 2012-12-03 13:10:16 +00:00
Philip Eisenlohr faa5f3c459 corrected severe bug in (non-logarithmic) strain calculations..! 2012-11-30 15:02:25 +00:00
Philip Eisenlohr 72159e867c fixed buggy file handling for multiple input files 2012-11-30 11:03:53 +00:00
Philip Eisenlohr 74f62c891d slightly safer file closing strategy 2012-11-30 08:38:52 +00:00
Philip Eisenlohr 9fb838fd28 changed switch from "sequential" to "column" 2012-11-30 08:29:34 +00:00
Philip Eisenlohr 1bd6bcfe3d script to list info, labels, and/or data of an ASCIItable 2012-11-30 08:26:13 +00:00