Commit Graph

1677 Commits

Author SHA1 Message Date
Philip Eisenlohr 38992fdc37 now use outsourced damask.util methods 2015-08-23 23:19:40 +00:00
Philip Eisenlohr 00b8660203 redundant.
functionality available in “geom_fromTable”…
2015-08-20 19:46:11 +00:00
Philip Eisenlohr c85306257d redundant.
improved functionality now via “ang_toTable” and “geom_fromTable”…
2015-08-20 19:44:17 +00:00
Philip Eisenlohr 63d5506388 adopting further simplifications provided through ASCIItable class. 2015-08-20 19:42:05 +00:00
Philip Eisenlohr 9439cf7278 add cumulative (first to current) values of given labels to table 2015-08-20 19:40:45 +00:00
Philip Eisenlohr 05a8124d82 simplified rescaling interpretation 2015-08-19 18:30:50 +00:00
Martin Diehl 2a13d78196 did not run 2015-08-18 17:24:15 +00:00
Martin Diehl 324c5b36d3 restructured to get help even without mentat release 2015-08-18 16:39:47 +00:00
Philip Eisenlohr 70daa8663f adoption of new ASCIItable API 2015-08-18 14:37:32 +00:00
Martin Diehl ca1fe6bb82 updated to new ASCII table style 2015-08-18 07:56:03 +00:00
Tias Maiti d0b75b5a10 fixed table.croak error in last commit 2015-08-18 04:41:36 +00:00
Tias Maiti befd6aa7ff fixed stderr output (croaking..) as per new ASCII table style 2015-08-18 04:33:45 +00:00
Tias Maiti 419a612d0e updated to new ASCII table style 2015-08-18 04:32:19 +00:00
Aritra Chakraborty ac7f443595 adopted new ASCIItable API 2015-08-13 21:25:08 +00:00
Martin Diehl 7ca1e77495 bug fixing 2015-08-13 08:32:09 +00:00
Philip Eisenlohr f982f42839 convert TSL/EDAX ang file format to proper ASCIItable. 2015-08-12 22:14:19 +00:00
Philip Eisenlohr 1976cf44c1 fixed os.path.splitext bug when using STDIN input 2015-08-12 21:56:37 +00:00
Philip Eisenlohr 3e65c324de adopted changes in ASCIItable API 2015-08-12 21:52:33 +00:00
Philip Eisenlohr dfbd2fd013 fixed bug for STDIN processing 2015-08-12 21:28:07 +00:00
Martin Diehl 1149053c61 updated to new ASCII table style 2015-08-12 20:59:10 +00:00
Philip Eisenlohr 9ee49b2c3b adopted recent changes to API in ASCIItable.
removed Voronoi method from core module.
fixed buggy Laguerre tessellation (wrong seed scaling, wrong x,y,z order)
2015-08-12 20:55:53 +00:00
Philip Eisenlohr 8217fdb115 adopted recent changes to API in ASCIItable. 2015-08-12 18:56:40 +00:00
Martin Diehl 31a6ac328d adjusted to new ASCII table style and bugfix 2015-08-12 18:53:39 +00:00
Philip Eisenlohr cd70ec5a38 adopted recent changes to API in ASCIItable. 2015-08-12 18:43:11 +00:00
Philip Eisenlohr cd9a802a2b adoption of recent API change in ASCIItable. 2015-08-12 18:09:40 +00:00
Philip Eisenlohr 5dad5df588 adoption of recent API change in ASCIItable. 2015-08-12 17:47:38 +00:00
Philip Eisenlohr 3097c87bea adoption of recent API change in ASCIItable. 2015-08-12 17:43:49 +00:00
Martin Diehl 35863e0229 fixed averageDown and made it's test running 2015-08-12 13:43:05 +00:00
Martin Diehl bceeb0964c corrected calculation of expected file size for legacy files beyond the 4 GB limit 2015-08-10 18:48:48 +00:00
Tias Maiti 126cea24ce fixed syntax and undefined variable calling errors 2015-08-09 22:12:49 +00:00
Philip Eisenlohr 57dfa6a87e added fall-back to non-multithreading execution when using only single CPU. 2015-08-08 21:43:21 +00:00
Philip Eisenlohr 31f6d22d89 added option (force) to override selective seeding check. 2015-08-08 20:20:53 +00:00
Philip Eisenlohr 889a5807bb more conservative (and probably appropriate) variance default for Laguerre tessellations: 1.0 —> 0.1 2015-08-08 20:12:26 +00:00
Philip Eisenlohr bbeb210708 functionality now provided by more general “geom_fromImage” 2015-08-07 22:16:40 +00:00
Philip Eisenlohr 9729c03c00 removed obsolete code. added croak about number of cpus used. 2015-08-07 22:15:24 +00:00
Philip Eisenlohr a4772343b0 adopted new ASCIItable API. some polishing. 2015-08-07 22:08:54 +00:00
Tias Maiti 4ed56a8ba6 removed debugging print statements 2015-08-07 20:52:57 +00:00
Philip Eisenlohr d4e748b654 outsourced multiple repetitive functions into ASCIItable class.
changed ASCIItable API from file-handles to filenames.

adopted these changes in pre and post processing scripts.

unified behavior and look.

fixed bugs here and there.

improved functionality.
2015-08-07 19:03:26 +00:00
Tias Maiti de90a04374 assign indices from microstructure column if present for laguerre tessellation 2015-07-30 04:42:00 +00:00
Tias Maiti 599bb768ef index microstructure from 1 instead of zero for laguerre tessellation 2015-07-28 22:15:32 +00:00
Philip Eisenlohr 020a3e2634 superfluous since same can be (even more flexibly) accomplished with:
reLabel -l old -s old+tag
2015-07-26 00:41:42 +00:00
Philip Eisenlohr 0db33f21b5 superfluous since same can be accomplished with:
showTable -l -d (labels and data)
2015-07-26 00:39:32 +00:00
Haiming Zhang b69a422529 Generate the geometry description of a directional non-equiaxed grain structure, e.g., RVE cutted from a cold-rolling sheet. '--reduct' specifies the thickness reduction after rolling, and '-n' specified the number of samples cutted, e.g., n=5, then five samples will be cutted from the sheet along theta = 0 (the rolling direction), theta = 22.5, theta = 45, theta = 67.5, and theta = 90 (the transversal direction). 2015-07-24 14:12:10 +00:00
Chen Zhang 657ed7ed35 group voxels/pts by orientation and position, require spicy. 2015-07-24 13:30:33 +00:00
Philip Eisenlohr fc0e29c45b removed erroneous rescaling of Laguerre weights. 2015-07-22 22:34:40 +00:00
Haiming Zhang b15f68905f fig a bug. 2015-07-21 15:38:12 +00:00
Haiming Zhang 331a4c5775 add the number of the re-constructed orientation into the name of output files. 2015-07-18 17:25:05 +00:00
Philip Eisenlohr e08b7bd02e forgot to rescale transparency mask by pixelsizes. 2015-07-16 22:34:26 +00:00
Tias Maiti 3c9d6df889 fixed typo in last commit 2015-07-15 18:15:39 +00:00
Tias Maiti 6ebc490207 fixed broken functionality by adopting new ASCIItable class output for data_readArray(). 2015-07-15 16:57:03 +00:00
Philip Eisenlohr d676fdc1ce fixed default behavior of symmetry. used to advertise having cubic symmetry but was using []. 2015-07-10 16:58:30 +00:00
Philip Eisenlohr dce0501358 script to rename labels in an ASCIItable 2015-07-10 16:28:01 +00:00
Philip Eisenlohr f8658ffea1 added “gap” value to render pieces of resulting image transparent. 2015-07-07 14:53:55 +00:00
Philip Eisenlohr 812d17f91c streamlined column processing based on recently introduced asciitable functionality. 2015-07-01 15:48:34 +00:00
Martin Diehl ef243d3e19 added references 2015-06-30 14:52:48 +00:00
Haiming Zhang 61e3987bfa extract the deformation anisotropic coefficients (r values) and strength anisotropic coefficients (normalized yield stress) automatically. 2015-06-29 15:57:31 +00:00
Philip Eisenlohr 47249bb52a added possibility to scale deformation fluctuation field. 2015-06-29 09:44:49 +00:00
Philip Eisenlohr fcdd80bba3 switched order of command line options to make consequence of “degrees” switch more clear, i.e., it affects both the tolerance and Euler angles… 2015-06-29 09:40:44 +00:00
Philip Eisenlohr 129026662c fixed small bugs.
modernized file treatment.
improved Laguerre speed by a factor of 2 due to precalculating the squared weights.
2015-06-27 08:41:08 +00:00
Haiming Zhang 088299daf2 fix the bug in the calculation of RMSD, replace N with sqrt(N). 2015-06-25 12:41:26 +00:00
Philip Eisenlohr e310763c52 Novel script to generate geometry description and material configuration from position, phase, and orientation data in an ASCIItable.
Can deal with phase-specific lattice symmetry, condenses orientations within a given angular threshold, and might be used in lieu of geom_fromANG when replacing the ANG header.
2015-06-21 11:56:05 +00:00
Philip Eisenlohr 9b1f16e99e report data range.
gracefully deal with constant field (below 1e-8 noise).
2015-06-19 11:36:21 +00:00
Tias Maiti acad1246f3 fixed wrong variable name for quaternions as rotation options 2015-06-19 04:38:00 +00:00
Tias Maiti 94423cc7ac added scriptID line “ removed during last commit” 2015-06-17 19:47:50 +00:00
Tias Maiti 012c830eff removed writing of debugging statement to final output 2015-06-17 19:44:01 +00:00
Philip Eisenlohr e440305532 streamlined ASCIItable error checking. 2015-06-17 06:52:43 +00:00
Philip Eisenlohr 5cc7b60a88 simplified processing of ASCIItables by utilizing the improved class methods.
modernized file looping.
2015-06-16 17:21:24 +00:00
Philip Eisenlohr d57c7568dd simplified processing of ASCIItables by utilizing the improved class methods.
modernized file looping.
updated help.
2015-06-16 05:42:11 +00:00
Philip Eisenlohr c089ff9256 now with $ID$ and correct line endings… 2015-06-15 18:13:06 +00:00
Philip Eisenlohr 6086baba52 Generate PNG image from scalar data on grid deformed by (periodic) deformation gradient. 2015-06-15 18:12:38 +00:00
Luv Sharma a5b3e9d64c typos fixed 2015-06-14 05:51:53 +00:00
Philip Eisenlohr 37792f67df automatically figure dimension of labels to tag. 2015-06-13 11:55:20 +00:00
Haiming Zhang c7f59c6482 change angle into radian. 2015-06-11 17:57:23 +00:00
Haiming Zhang bfe76794af add the output of ".ang" file 2015-06-11 16:50:29 +00:00
Yannick Naunheim c45a0ce55e improved stability for geom_fromAng. no longer depends on correct header information.
geom_fromVPSC with correct size determination now
2015-06-11 10:06:53 +00:00
Philip Eisenlohr e243632eb5 simplifications by adopting functionality provided by new asciitable class methods. 2015-06-08 05:07:14 +00:00
Martin Diehl d99e34d870 typo caused problems with more than one tensor 2015-06-06 15:42:29 +00:00
Philip Eisenlohr 129446e687 simplified script. deals now only with single format at a time. result is printed to STDOUT unless “basename” option specified. 2015-06-06 11:12:07 +00:00
Philip Eisenlohr b7f98c00d6 input file handling now save for large file count.
streamlining of input column detection.
fixed bug iterating through “grainIDs” instead of “grain”.
proper closing and dismissal of output table file.
2015-06-05 11:50:15 +00:00
Philip Eisenlohr bb9e080790 input file handling now save for large file count.
reshape input rotation matrix to (3,3).
2015-06-05 11:47:27 +00:00
Philip Eisenlohr 5adbe74b10 changed library function name table.labels_index() to table.label_index() 2015-06-05 11:44:17 +00:00
Philip Eisenlohr f50927b99f Create seeds file by poking at 45 degree through given geom file.
Mimics APS Beamline 34-ID-E DAXM poking.
2015-06-05 11:41:44 +00:00
Philip Eisenlohr 6eb83530b8 streamlining 2015-06-05 11:34:41 +00:00
Martin Diehl 2877066a6c removed debug statement and simplified 2015-06-04 08:51:10 +00:00
Yang Su bb677a26aa added interface for predefined colormaps 2015-05-29 18:50:54 +00:00
Yang Su 92654dc2cd fixed syntax bug, instantiating of Color object, and file closure. 2015-05-29 18:36:09 +00:00
Philip Eisenlohr 54746c85d3 fixed bug for only blacklisting. 2015-05-28 22:31:32 +00:00
Tias Maiti 147cc91496 some polishing to laguerre tessellation 2015-05-28 20:57:03 +00:00
Philip Eisenlohr c327735c0d order of whitelist is maintained in output (only if no blacklist is specified). allows to rearrange column order in tables. 2015-05-27 23:02:11 +00:00
Tias Maiti c5349ab041 some polishing for option parser 2015-05-26 20:22:11 +00:00
Tias Maiti 73c6bd767f added options for selective seed picking based on Mitchell’s best candidate algorithm for more uniformly distributed (spatially) seeds points 2015-05-26 20:13:35 +00:00
Harsha Phukan 4107d5d1d2 Script to calculate Quaternion from input orientation matrix 2015-05-26 06:38:48 +00:00
Martin Diehl 5900fa4bf5 corrected defaults and simplified loops 2015-05-25 10:49:20 +00:00
Martin Diehl 1f160dfd72 FFT was at single precision only 2015-05-24 16:35:37 +00:00
Martin Diehl e8fb49edc6 missing bracket 2015-05-22 06:17:35 +00:00
Martin Diehl 737e474cea consistent handling of random number per file and always reporting as comment, fix for permuteData needed because of new asciitable behavior 2015-05-22 05:56:49 +00:00
Martin Diehl fbfa55e910 adjusted to new table style and naming of output 2015-05-22 04:57:05 +00:00
Philip Eisenlohr f363d81de5 simplified column parsing 2015-05-21 21:54:47 +00:00
Yannick Naunheim 2349e6c79c standard way of reporting 2015-05-21 16:04:19 +00:00
Sehar Abbas 7af176d13f introduced option to set microstructure starting index 2015-05-21 10:04:52 +00:00
Philip Eisenlohr 14b921f6d5 corrected help text. 2015-05-21 00:13:50 +00:00
Philip Eisenlohr df5dd98576 simplified boolean dictionaries to “if else” constructs. 2015-05-21 00:13:11 +00:00
Philip Eisenlohr acc2cb656b simplifications due to better functionality available through asciitable.py
output filename format has slightly changed: binned-X-Y_weighted-W_
2015-05-21 00:08:32 +00:00
Philip Eisenlohr 439d778cc0 simplified column check.
fixed typos and improved help.
2015-05-20 23:21:35 +00:00
Martin Diehl d70b903d1b output follows standard way, test need to ignore header 2015-05-20 21:26:49 +00:00
Martin Diehl 056ba0f2e4 reverted back to hard-to-read but working if else statement 2015-05-20 19:40:11 +00:00
Martin Diehl d99f13a49f now operating on file, only on stdout if input comes from stdin 2015-05-20 19:07:52 +00:00
Philip Eisenlohr 973f092fd9 similar to imageData but uses RGB triplet as color value instead of mapping a scalar.
Can only use columnar data and not 2D arrays, though.
2015-05-19 21:15:15 +00:00
Philip Eisenlohr ee65b269ad simplified data column determination. 2015-05-19 21:14:19 +00:00
Harsha Phukan f7faa3eeca finally fixed the bug in the transformation and incorporated rotation to conform to TSL convention 2015-05-18 22:28:24 +00:00
Martin Diehl cd94469ea0 VPSC file format not used, if needed convert first to geom 2015-05-18 18:59:41 +00:00
Martin Diehl 76d456ee49 fixed rename 2015-05-18 14:48:25 +00:00
Martin Diehl 7775b254bd updated tests to follow new addStrainTensors syntax, check in seeds_fromTable.py was wrong with simplified default 2015-05-18 08:42:14 +00:00
Martin Diehl cddbd53789 reads better 2015-05-16 14:32:32 +00:00
Martin Diehl 03fef5fd6e simplified option parsing 2015-05-15 13:49:16 +00:00
Martin Diehl e45dcb7948 more readable if-else oneliner 2015-05-15 13:38:27 +00:00
Martin Diehl 6a38b4396f simplified help 2015-05-15 13:34:52 +00:00
Martin Diehl a3bed5cc42 short options conflicting with typical use 2015-05-15 10:33:32 +00:00
Martin Diehl a451a69c2c corrected default type (only list for 'extend') 2015-05-14 18:48:15 +00:00
Martin Diehl fa1368204d fixed bug in asciitable when updating labels for readArray, fixed checking for euler angels presence in tessellation, improved help 2015-05-14 17:07:50 +00:00
Martin Diehl 7ea350b90e corrected default for multiple arguments of fixed length (tuple, not list) 2015-05-14 10:00:56 +00:00
Aritra Chakraborty 3e8f16c515 range parameter is now autoscaled to account for -log option, i.e. range is always given as bounds of original data 2015-05-13 13:45:26 +00:00
Philip Eisenlohr b0a37497a1 fixed buggy coordinate transform. 2015-05-12 15:30:00 +00:00
Martin Diehl 6a98c7efad simplified option parsing 2015-05-11 20:12:31 +00:00
Martin Diehl 4899b3df0a found some unused (forgotten debug) statements 2015-05-11 20:09:49 +00:00
Martin Diehl 2102fadfc7 improved help for automatic documentation 2015-05-11 19:47:52 +00:00
Philip Eisenlohr 537c42d146 script to transform coordinate system at APS beam line 34-ID-E from X,Y,Z,F to strain x,y,z 2015-05-11 14:15:50 +00:00
Martin Diehl eff71b418b now working with corrected asciitable 2015-05-10 20:59:23 +00:00
Martin Diehl 6f112b46b5 can be done with TSL OIM in current versions 2015-05-10 15:56:59 +00:00
Martin Diehl b60f868a76 renumbering asciitable when readArray for selected columns only
test no longer for deleteColumn
2015-05-10 11:29:11 +00:00
Martin Diehl 8bf7a7ef6a some beautifications 2015-05-10 10:58:32 +00:00
Martin Diehl c0a9141c8f updated help to enable automated documentation 2015-05-10 10:56:02 +00:00
Martin Diehl a03b1ede99 improved help for automatic documentation 2015-05-10 08:59:21 +00:00
Martin Diehl d87b70fe49 filterTable can do the job 2015-05-09 21:33:17 +00:00
Martin Diehl 18831e0e80 improved help for automatic documentation and simplified some scripts 2015-05-09 21:32:23 +00:00
Martin Diehl 47b8605733 improved help for automatic documentation and simplified some scripts 2015-05-09 13:01:31 +00:00
Martin Diehl 59e546e3d7 improved help for automatic documentation and simplified some scripts 2015-05-09 12:45:30 +00:00
Martin Diehl d0180540eb fixed bugs introduced with last commit and restored capability of handling legacy seeds format 2015-05-08 05:02:44 +00:00
Philip Eisenlohr cb42fb9c5d clarified help text. 2015-05-05 16:58:56 +00:00
Haiming Zhang f5ccc37125 re-write Karafillis-Boyce yield criterion, the old version is actually the generalized Karafillis-Boyce yield criterion, i.e., Born-Besson yield criterion, which has three exponents, it seems unstable. Now retreat to the original Karafillis-Boyce yield criterion (Karafillis, Boyce 1993), which has only one exponents. 2015-05-04 15:00:02 +00:00
Haiming Zhang 1e6c4fa988 re-write Yld2000 2015-05-04 14:54:48 +00:00
Haiming Zhang e0e7bb7a24 fix bugs of barlat1989, barlat1991 2015-05-04 14:52:33 +00:00
Tias Maiti ce0675f359 added options for laguerrre tessellation 2015-05-02 07:41:14 +00:00
Philip Eisenlohr 58b3d017bd changed option name from “invertColor” to “invert” 2015-05-01 17:58:10 +00:00
Haiming Zhang afe7225357 add the option of exporting '.ctf' format file. 2015-04-28 18:09:07 +00:00
Philip Eisenlohr c05df20370 throw error message when DAMASK output obviously not present in T16 file 2015-04-28 17:54:00 +00:00
Haiming Zhang f8e06b488a make the script consistent with other scripts:
1. use new file handles
2. add scriptID and version
2015-04-28 17:47:06 +00:00
Martin Diehl 906c3f63a1 updated hybridIA sampling to work with new format
cropLinearODF is not working for the new format, but filterTable should be able to do the task
2015-04-27 05:30:29 +00:00
Haiming Zhang 1b9595d012 1. add the option 'all', fit all criteria automatically
2. generate equivalent stress automatically for advanced criteria.
2015-04-25 17:08:38 +00:00
Haiming Zhang a55b0c54c6 change the unit of stress 2015-04-25 16:22:32 +00:00
Haiming Zhang edb559d2fa 1. Judge the validity of stress points, and skip the invalid stress points.
2. change the defaulted unit
2015-04-25 16:19:06 +00:00
Martin Diehl 895421e677 changed from core module fftw to fftwpack from latex, tolerances need to be less strict 2015-04-24 08:07:13 +00:00
Martin Diehl b9c5edf7ab changed to standard file and output handling 2015-04-22 18:57:44 +00:00
Martin Diehl 2e6bbe887e changed header in seeds file from 'x,y,z' to '1..3_coords'.
scripts now use the header information and do not rely on coordinates being in the first three columns
2015-04-22 18:44:54 +00:00
Martin Diehl 0cec85ac63 corrected order of output, config file output is not supported yet 2015-04-21 19:37:03 +00:00
Haiming Zhang 46c33b0d98 polishing 2015-04-21 18:55:10 +00:00
Martin Diehl 4581e22a0f change reading in to standard loop over files
getting bins now from header information
format of linearODF now standard ASCII table style with header/keyword/label
2015-04-20 14:22:45 +00:00
Martin Diehl f43afa13d8 simple script to generate geom file from stacked tiff images. 2015-04-20 12:57:45 +00:00
Martin Diehl f5762209dc changed 'range' keyword to 'limit', now using proper ASCII table (with column 'intensity') for linearODF
hybridIO_linODFsampling simplified
2015-04-15 14:37:46 +00:00
Martin Diehl 64764b0902 introduced moving of multiple seeds at the same time
introduced more suitable check for convergence of the first bin. Improvements in bringing seeds with a size outside the range of the target closer are no longer invisible
2015-04-14 12:42:35 +00:00
Philip Eisenlohr 790aa32b1b fixed string to character splitting of weight column label 2015-04-13 20:24:03 +00:00
Philip Eisenlohr 4bcc80911e changed grid to float from (wrong) integer type.
row and column probability density normalization now takes place BEFORE limiting data range.
2015-04-13 19:55:28 +00:00
Martin Diehl d008b566b4 ensure to bring all seeds within target range 2015-04-10 20:47:20 +00:00
Martin Diehl 9d3cd8f997 added options do define number of maximum seeds to move simulateneously 2015-04-10 18:08:17 +00:00
Martin Diehl 4aa63e1ab9 handling of seeds files without microstructure (but eulerangles) 2015-04-10 16:59:08 +00:00
Martin Diehl 09bfd1e18e more verbose error handling for euler angles limits
ensuring that ROUNDED euler angles are not above the limits
2015-04-10 14:50:23 +00:00
Martin Diehl e01e270300 improved search for double microstructures (was N^2 bogosort) in geom_fromAng and introduced it in geom_fromVPSC 2015-04-10 12:57:25 +00:00
Tias Maiti 5257a2161f added options for x and y normalization 2015-04-09 06:45:21 +00:00
Martin Diehl 57a2c90d30 corrected according to vtk specification and remove an unused option 2015-04-08 18:48:35 +00:00
Haiming Zhang 976647b9e4 add the convergence criterion, the method is :
1. calculate the L2 norm of the residual of all the stress points
2. store the relative errors of the L2 norm
3. if the standard deviation of the relative errors of last five fittings is less than 0.05, that it is considered that the relative errors is stabilized, so the fitting is finished.
2015-04-08 17:48:26 +00:00
Haiming Zhang b77768fd4d all the criteria support plane stress 2015-04-08 16:24:20 +00:00
Martin Diehl 0544706c7b corrected help for legacy format 2015-04-08 12:51:40 +00:00
Martin Diehl 6e650a42b4 some comments for discussion 2015-04-07 07:42:46 +00:00
Haiming Zhang ab89c84ec8 Correct the message of last change
1. rename BBC2003 as BBC2000;
2. add the real BBC2003 yield criterion, BBC2003 works; 
3. now the BBC family yield criteria include: BBC2000, BBC2003, BBC2005
2015-04-03 21:01:37 +00:00
Haiming Zhang 412028f33f 1. rename BBC2003 as BBC2000;
2. add the real BBC2003 yield criterion, BBC2003 works;
3. now the BBC family yield criteria include: BBC2000, BBC2003, BBC2008
2015-04-03 20:59:23 +00:00
Haiming Zhang cd2a744db9 add Yld2000 yield criterion, Yld2000 works 2015-04-03 16:20:03 +00:00
Haiming Zhang 2b9964bba5 add Barlat-Lian 1989 yield criterion, Barlat1989 works. 2015-04-03 12:31:13 +00:00
Haiming Zhang 0097d39873 fix some type errors; add more comments 2015-04-02 19:32:48 +00:00
Martin Diehl 86f39de462 remove non-utf symbol 2015-04-02 16:13:00 +00:00
Haiming Zhang d8a99b23bf 1.compact all the criteria into a single Class;
2.the first thorough check of the script;
3.add the option of exponents for all non-quadratic yield criteria, now the user 1)can specify the exponent, for example, m=6 for Barlat 1991, or 2)see the exponent as an undetermined parameters;
4.add the pre-specified bounds for all criteria;
5.add the user defined equivalent stress for some anisotropic yield criteria
2015-04-02 12:08:55 +00:00
Martin Diehl 92a67e1a9d geom_fromAng.py crashed when found empty line (eg. at the end of the file), now fixed 2015-04-01 14:42:25 +00:00
Martin Diehl a1956436be fixed bug introduced last time when searching for keywords in spectralOut header
made reading in of header more robust by explicitly using the information given by fortran specifies the data length
introduced a legacy mode again, now it is used to read old spectralOut files prior to rev 4017
2015-04-01 10:02:21 +00:00
Philip Eisenlohr 38943c1e94 improved help 2015-03-29 15:37:40 +00:00
Martin Diehl 913c5347a5 removed handling for old legacy format (we might introduce a new one) 2015-03-29 09:08:42 +00:00
Martin Diehl 66d4ff097f removed obsolete comment 2015-03-28 11:44:17 +00:00
Haiming Zhang 72c2ead277 polishing, replace variables calculation with arrays calculation. 2015-03-27 17:58:49 +00:00
Martin Diehl 8a30021202 cleaned up core modul 2015-03-27 14:10:18 +00:00
Martin Diehl 004375cc79 removed table rewind causing problem with STDIN/STDOUT 2015-03-27 13:57:34 +00:00
Pratheek Shanthraj 1ee81e74ea more patches to get the tests running again:
- fixed increment counting in postResults to current output scheme

- corrected node coordinates calculation

- some work on restart (restart test still not running)
2015-03-26 21:19:28 +00:00
Martin Diehl 69b8e02a3a removed unwanted ASCII table data rewind causing problem for STDIN 2015-03-26 21:15:59 +00:00
Martin Diehl 643f7fe934 some comments 2015-03-26 05:04:12 +00:00
Pratheek Shanthraj fe4373a9f9 updated post processing script for MPI IO spectralOut file 2015-03-25 16:09:56 +00:00
Martin Diehl 1a3bfc7d1f updated according to new convention for ip and nodes 2015-03-24 13:52:40 +00:00
Haiming Zhang 226381586c compact the code of Yld2004-18p and Karafillis-Boyce, use array instead of components to calculate the partial derivative. 2015-03-16 16:42:26 +00:00
Martin Diehl 12cb5e56fe fixed interpretation 'spectralOut' header. Seem to have been buggy all the time, but manifested itself only after keyword change. Also added ':' after keywords to be more robust 2015-03-15 15:29:38 +00:00
Martin Diehl df2ee87a7c corrected help 2015-03-13 14:47:22 +00:00
Martin Diehl c4f639dbfb prevent crash in option parsing 2015-03-13 14:46:40 +00:00
Haiming Zhang a048b2ec15 1. Implement bbc2005 yield criterion (the residum and Jacobian); 2. bbc2005 works 2015-03-13 10:07:23 +00:00
Haiming Zhang 56cf1b53eb add Fourier interplation, anisotropic Vegter yield criterion is okay 2015-03-13 08:50:47 +00:00
Franz Roters 4b19b74d11 number of intervals is limit/delta not limit/delta -1 2015-03-13 08:39:55 +00:00
Martin Diehl def6d6b878 re-introduced determination of elem column 2015-03-12 06:20:40 +00:00
Bret Dunlap 3f340ffac9 fixed bug for table data without labels in header 2015-03-11 20:39:14 +00:00
Haiming Zhang de29524189 add Vegter criteria, planar isotropy works 2015-03-11 17:42:46 +00:00
Martin Diehl 72efc7b30c renamed resolution -> grid, dimension -> size 2015-03-11 08:55:48 +00:00
Martin Diehl 0dde6539ed renamed from 1_ip to 1_ipinitialcoord 2015-03-11 07:22:11 +00:00
Martin Diehl eb1561b528 changed postprocessing to use 1_ip instead of ip.x etc, plus corrected test files headers 2015-03-10 21:15:05 +00:00
Haiming Zhang a62fa5d5dd rewrite class Loadcase
1. add 2 dimension random load case generator
2. add Vegter load case generator(typical stress points in 2D)
2015-03-09 21:57:22 +00:00
Martin Diehl 271c9eed8b use 1_ip instead of ip.x
Old format still as fallback option to support legacy files
2015-03-09 12:52:43 +00:00
Martin Diehl 4d587b1bf9 introduced 'alias' for ip.x by first searching for 1_ip 2015-03-09 11:32:16 +00:00
Martin Diehl 96a3cb0667 added some ideas regarding the incorporation of the vegter yield criterion 2015-03-09 11:24:06 +00:00
Philip Eisenlohr 639b030c65 shortened code for opening input file list 2015-03-06 17:04:44 +00:00
Haiming Zhang 37e40fdf79 Keep consistent with the new file: example.linearODF 2015-03-06 16:21:05 +00:00
Tias Maiti 654aacf207 removed invalid options (options.packing, options.shift) 2015-03-05 21:41:53 +00:00
Haiming Zhang 5d9abc16e8 the number of grains starts with one. 2015-03-05 20:16:17 +00:00
Haiming Zhang aeb468254d missing file.close() 2015-03-05 19:12:07 +00:00
Haiming Zhang 4579a696e8 use OptionParse to parse the command-line options, add help information,
add the output of material.config file.
2015-03-05 19:01:31 +00:00
Haiming Zhang d188f35c17 use OptionParse to parse the command-line options, add help information, format the header of output file, now the output file can be used by hydribIA_linODFsampling.py directly 2015-03-05 17:04:16 +00:00
Martin Diehl f1df6cf40f copied some stcopied some scripts from the Code folder that are of interest for DAMASK 2015-03-05 10:05:00 +00:00
Chen Zhang 8c91d174fa remove some debugging print;
add meshgrid2, but stick with list comprehension since it is actually faster.
2015-03-02 16:20:47 +00:00
Tias Maiti 0077177c05 some polishing (numpy —> np, theTable —> table) 2015-03-02 05:06:29 +00:00
Chen Zhang 0d7355a49f correct help information. 2015-02-27 23:08:48 +00:00
Chen Zhang 1742725963 interpolate microstructure using Delaunay triangulation and Barycentric interpolation. 2015-02-27 22:59:09 +00:00
Haiming Zhang 9203b37fbc 1. Implement Hill1979 yield criterion (the residum and Jacobian);
2. Hill1979 works
2015-02-25 17:24:33 +00:00
Haiming Zhang 8b1846e78e 1. Implement Karafillis-Boyce yield criterion (the residum and Jacobian);
2. Karafillis-Boyce works
2015-02-24 16:46:09 +00:00
Haiming Zhang 39e17fc95a 1. add __init__() for the "Class" of each Criterion;
2. Polishing
2015-02-20 20:51:23 +00:00
Haiming Zhang a3e5da0bfd 1. Implement 2D and 3D Cazacu-Barlat yield criteria(the residum and Jacobian);
2. Both work
2015-02-20 20:34:47 +00:00
Haiming Zhang 09c357c70f 1. Fix bug of Yld2004-18p;
2. get deformation rate tensor and Lankford coefficient.
2015-02-20 14:40:24 +00:00
Martin Diehl 425251ae2b fixed bug: theTable -> table 2015-02-14 11:23:50 +00:00
Haiming Zhang 4a63aff1ed 1. Implement Yld2004-18p yield criterion(the residum and Jacobian);
2. Yld2004-18p yield criterion takes effect
2015-02-13 17:22:19 +00:00
Haiming Zhang 77cffd8040 1. fix up Banabic-Balan-Comsa 2003 (BBC2003) yield criterion;
2. add the calculation Jacobian of BBC2003; 
3. Now BBC2003 yield criterion takes effect
2015-02-12 20:48:03 +00:00
Haiming Zhang 69af205721 add the calculation of Jacobian of isotropic and anisotropic Barlat1991, shows better performance. 2015-02-12 11:04:00 +00:00
Haiming Zhang 40f1f3af23 add the calculation of Jacobian of Hill1948 and Drucker family criteria. 2015-02-11 19:06:23 +00:00
Philip Eisenlohr 53b40662ec now with executable, correct line endings, and ID tags. 2015-02-11 17:26:56 +00:00
Philip Eisenlohr d5f9f543ca Script to generate PNG image from given column (or 2D data in overall ASCIItable) with custom colormap and pixel sizes.
Supersedes “imageFromData” from “Code” repository.
2015-02-11 17:25:49 +00:00
Philip Eisenlohr 9eae665365 fixed ‘too many files open’ issue when processing a large list of input tables. 2015-02-11 17:22:47 +00:00
Haiming Zhang eed00007f9 Re-write the script:
1. replace curve_fit with leastsq, which supports the analytical Jacobian
2. specify a "class" (contains both residum and jacobian) for each criterion.
3. add the calculation of Jacobian
2015-02-11 16:49:40 +00:00
Tias Maiti 1b1ed3bbcf removed unnecessary lines 2015-02-11 06:18:08 +00:00
Martin Diehl 40a792d785 fixed bug in consistency check 2015-02-10 13:49:47 +00:00
Martin Diehl 63434c2ddb corrected error checking for correct type 2015-02-09 08:57:14 +00:00
Martin Diehl 7edd209ce4 corrected wrong name in add..., more verbose error checking for geom_from... 2015-02-07 22:22:28 +00:00
Martin Diehl 6140285ddd small changes (use ip.x instead of 1_ip). Probably we should modify postResults to use the 1_, 2_, 3_, standard notation for ip as well 2015-02-07 18:13:51 +00:00
Martin Diehl e4a94aa72b put changes on algorithm from geom_fromEuclideanDistance into addEuclideanDistance 2015-02-07 17:11:46 +00:00
Haiming Zhang f3bab46275 addthe Cazacu–Barlat (CZ) yield criterion (3D and 2D), Banabic–Balan–Comsa (BBC) Yield Criterion. 2015-02-07 16:58:57 +00:00
Haiming Zhang cdb7795956 1. Add default boundary constraint(no constraint) and initial guess to the dictionary
2. With the boundary constraint of exponential term, now non-quadratic yield criteria (isotropic Barlat 1991, anisotropic Barlar 1991, Hosford) take effect.
2015-02-07 11:07:45 +00:00
Haiming Zhang 0350b1829c 1. Replace curve_fit(see minpack.py) with curve_fit_bound(see damask/util.py), now the boundary constraint can be applied.
2. Transfer the output information into dictionary 'fittingCriteria', compact subroutine 'fit'.
2015-02-06 14:01:04 +00:00
Haiming Zhang ce09e992cc 1. Change yieldStress from 'list' to 'numpy.arrary', thanks to Martin's suggestion (3907);
2. Change '3*3' Cauchy stress tensor to '1*6', now the number of input 'xdata' for fitting is 6*Points, which is less than the former 9*Points.
2015-02-06 13:48:14 +00:00
Martin Diehl 0b3205a24b some suggestions how to simplify 2015-02-06 09:29:21 +00:00
Haiming Zhang 4f2c07063b Fix general Hosford! 2015-02-05 20:18:07 +00:00
Haiming Zhang 2b704b3905 Fix: Tresca, von Mises, Drucker, Hill 1948 criteria. 2015-02-04 16:47:35 +00:00
Haiming Zhang 2d568b49f2 add the output of standard deviation errors;
fix Hill 48 and anisotropic Barlat 1991
2015-02-04 13:04:34 +00:00
Haiming Zhang 3845c47e61 complement of 3897: add isotropic and anisotropic Barlat 1991 to the dictionary 2015-02-03 12:57:18 +00:00
Haiming Zhang bef846d294 add isotropic and anisotropic Barlat1991 yield criteria. 2015-02-03 12:54:16 +00:00
Haiming Zhang 55445af9bc 1. add initial guess and weight to the fitting (nonlinear least square regression);
2. extend the dictionary:fittingCriteria
2015-02-03 12:18:53 +00:00
Haiming Zhang cc6138ec41 rewrite "def fit()";
add format output.
2015-02-02 17:41:19 +00:00
Haiming Zhang fd75772a3f Fix the bug of calculating principal stresses. Now the fitting result is better for the criteria which expressed in principal stresses.
Thanks to Martin.
2015-02-02 16:52:28 +00:00
Martin Diehl 4772efbc45 fixed syntax error 2015-01-23 10:11:12 +00:00
Tias Maiti 2c9c04eb76 added script to replace all rows of an ASCII table by a single row containing their average 2015-01-23 00:57:10 +00:00
Martin Diehl 5be9a75cff fixed indentation 2015-01-22 09:04:01 +00:00
Martin Diehl 440263f2f0 simplified, removed deprecated synonyms 2015-01-22 09:03:18 +00:00
Martin Diehl ed6b4fe50a fixed issues when having grains and eulers 2015-01-13 16:04:49 +00:00
Martin Diehl c08f704dee added Id + a little help 2015-01-07 19:29:27 +00:00
Tias Maiti ca58216134 added missing math module import 2015-01-05 12:25:03 +00:00
Martin Diehl 3e3c13bf0b added missing math module import 2015-01-04 21:02:17 +00:00
Martin Diehl 8dea16c07f fixed wrong assignment of phase and made orientation comparison robust 2014-12-20 12:42:21 +00:00
Martin Diehl 5e8fff13d9 worked on the vtk binary out, still some problems with multicomponent datatypes 2014-12-18 21:46:38 +00:00
Martin Diehl 6604d0f8e8 polishing 2014-12-18 19:26:52 +00:00
Martin Diehl 9ac62e42df added possibility to specify number of bins to be sorted in advance to current cleared stage 2014-12-18 18:03:36 +00:00
Philip Eisenlohr 89f8ba979e Add x,y coordinates of stereographic projection of given direction (pole) in crystal frame. 2014-12-13 00:12:55 +00:00
Martin Diehl f8ce57abc8 removed aliases 'resolution' and 'dimension' for 'grid' and 'size' because some scripts did not have it anyway and the rename happened quite a while ago 2014-12-08 08:48:55 +00:00
Martin Diehl c067d0dc69 fixed wrong periodicity treatment 2014-12-05 10:35:56 +00:00
Luv Sharma 30920801aa extended for 2D, finds the bounding edges and assigns them 'physical' attribute. 2014-12-04 11:33:06 +00:00
Martin Diehl 47685ac7c4 added output of script ID do material.config 2014-12-03 10:09:47 +00:00
Martin Diehl 590106b889 added possibility to add randomly distributed second phase (index = indexGiven+1) 2014-12-02 22:22:11 +00:00
Philip Eisenlohr 3cfabe3b83 standardized script name reporting 2014-11-18 15:31:39 +00:00
Philip Eisenlohr b17dcd7652 added options ’—origin’ and ‘—geom’. Latter interprets the geom-header to derive voxel sizes. 2014-11-18 15:26:59 +00:00
Philip Eisenlohr 461a3fa979 fixed syntax error and added ‘—render’ option to immediately see output on screen 2014-11-18 15:24:09 +00:00
Philip Eisenlohr a3196669ea exchanged deprecated data array read function 2014-11-18 15:22:00 +00:00
Philip Eisenlohr 7136db1fd8 fixed syntax error: ’options.error’ —> ‘parser.error’ for error handling 2014-11-18 15:20:57 +00:00
Philip Eisenlohr 99ffa554eb added ‘1_*’ to ‘*’ as possible column label indicator 2014-11-18 15:20:10 +00:00
Philip Eisenlohr b5ef329f34 changed default position column format from .x,.y,.z to more standard 1_,2_,3_ 2014-11-18 15:18:27 +00:00
Martin Diehl b656113b11 added missing string import in marc_addUserOutput (introduced with rev 3718) and removed unwanted imports and introduce use of damask.extendableParser in some other scripts 2014-11-18 08:00:45 +00:00
Martin Diehl 409a75c964 fixed 2 small flaws in geom_fromAng, corrected stringID and stringName in all remaining files in 'pre' 2014-11-16 21:44:46 +00:00
Philip Eisenlohr 6a3546cee2 script to produce ASCIItable from geom dataset.
contains best-practice for looping over multiple input files (to avoid error caused by too many open file handles!)
2014-11-14 15:16:00 +00:00
Philip Eisenlohr deee3a175a polishing and simplifications 2014-11-14 14:53:48 +00:00
Martin Diehl 733e85f6e6 fixed bug in material.config when do not compress the data. Thanks to Noriki for figuring out 2014-11-14 13:53:55 +00:00
Martin Diehl 2d2eb4e001 using extendable option, numpy as np, etc. 2014-11-07 11:13:14 +00:00
Martin Diehl 047042ad9f using extendable option, numpy as np, etc. 2014-11-07 11:07:03 +00:00
Tias Maiti 7d6670d4cf fixed table —> theTable flaw in output finalization 2014-11-05 22:17:06 +00:00
Philip Eisenlohr 52160385a6 alternative expression to parse script filename (scriptID excluding file extension). 2014-11-05 22:05:37 +00:00
Philip Eisenlohr 9345640dfd mainly polished for “numpy as np”. added alternative expression to parse script filename (excluding file extension). 2014-11-05 22:04:59 +00:00
Philip Eisenlohr 35f8b9786e changed way to sample grid positions when placing primitive object. Should be somewhat more efficient now. 2014-11-05 22:02:40 +00:00
Philip Eisenlohr f7da804927 changed file handling to allow for serial processing of large file numbers. 2014-11-05 22:01:11 +00:00
Philip Eisenlohr f6741138e7 had badly messed up the file handling in commit 3630. STDIN did not work, files were not checked for existence… 2014-10-29 13:27:40 +00:00
Martin Diehl bdd2d55383 small bug fix for last commit 2014-10-24 06:36:01 +00:00
Philip Eisenlohr 13ba71a314 fixed bug where option.condition was altered in processing of first file, thus preventing additional files from seeing the same user input.
changed file handle setup to allow for large lists of input files.
2014-10-23 21:23:10 +00:00
Pratheek Shanthraj e779c2e1e6 specify mesh size 2014-10-21 14:42:13 +00:00
Pratheek Shanthraj 975e42b132 specify which surface(s) you want to tag 2014-10-21 13:57:17 +00:00
Luv Sharma 8dd575cdbe now making use of parser options for input arguments 2014-10-17 11:51:22 +00:00
Luv Sharma 0193578540 now appending the bounding surface information to the gmsh geometry file 2014-10-16 17:23:17 +00:00
Luv Sharma 7e0c6f420b added shebang script to make executable, some properties and few improvements. Now giving the bounding surfaces. 2014-10-16 15:53:46 +00:00
Martin Diehl dc7a4bb978 using damasks extentable option + correct version string 2014-10-16 14:56:44 +00:00
Luv Sharma ff0f619015 started to write a script for finding bounding surfaces from gmsh geo file. 2014-10-16 14:07:25 +00:00
Martin Diehl ce1f17c9cb worked on the binary vtk out needed for large datasets 2014-10-14 07:13:13 +00:00
Martin Diehl 5e16cdd14f added support for multiple entries per line 2014-10-13 13:58:26 +00:00
Martin Diehl e1530afac7 test for geom_fromTable (does not work for empty black or whitelist) 2014-10-13 09:54:01 +00:00
Martin Diehl f4de982182 svn caused trouble due to rename, again some missing files 2014-10-10 12:11:10 +00:00
Martin Diehl 46d67f63d8 added test for converter from Ricardo's files 2014-10-10 08:54:48 +00:00
Martin Diehl 57e522566a updated python style 2014-10-09 17:03:06 +00:00
Martin Diehl 47c8bfeacb commented code 2014-10-09 11:01:07 +00:00
Martin Diehl d86f091026 some small fixes, reporting still needs update 2014-10-06 12:47:52 +00:00
Martin Diehl 2836b2fb35 work in progress, extending to more criteria 2014-10-03 09:27:20 +00:00
Martin Diehl 033a275d82 a bunch of small changes. deleted compiled FFTW libraries 2014-10-02 21:27:03 +00:00
Philip Eisenlohr 23ee538dcb shortened syntax. fixed undefined file['croak'] 2014-10-02 04:49:46 +00:00
Philip Eisenlohr bfe20a3af8 added $Id$ property and LF line endings. 2014-09-29 15:57:31 +00:00
Martin Diehl f2d9d66129 improved readibility, fixed negative coordinates, improved output 2014-09-29 15:55:17 +00:00
Martin Diehl ff475f1459 first draft of a constraint voronoi tessellation to match grain distribution 2014-09-29 10:19:49 +00:00
Philip Eisenlohr 496c3d4bc8 added line breaks identifier and $Id$ flag 2014-09-25 21:54:42 +00:00
Philip Eisenlohr b85797c109 significant speed improvement for large grids.
polished messages and fixed error reporting bug.
2014-09-24 23:47:52 +00:00
Tias Maiti 78ab14806f fixed bug in parser option type definition 2014-09-21 17:59:06 +00:00
Tias Maiti 14530b0a76 fixed bug 'the table' instead of 'table' 2014-09-19 15:24:59 +00:00
Martin Diehl d07a098724 fixed wrong help introduced with last change on 3Dvisualize 2014-09-19 09:50:26 +00:00
Martin Diehl a7d831de06 forgot to import python module 2014-09-15 10:07:52 +00:00
Martin Diehl 5657119b11 updated post processing test: rotateData is doing something, corrected addDeviator defauls 2014-09-12 14:49:26 +00:00
Martin Diehl f2c4db0bb5 correcting help and default, some comments 2014-09-12 14:46:12 +00:00
Martin Diehl afb9a2186b removed explicit default setting: type='string' and action='store' 2014-09-12 14:14:55 +00:00
Martin Diehl 9ba7851c14 fixed bug in calculation of spherical part. Variables in python functions are intent(inout) in Fortran language! 2014-09-12 13:13:05 +00:00
Martin Diehl 5f986f3d54 updated to contain latest python improvements 2014-09-10 16:14:37 +00:00
Philip Eisenlohr 5a159dcdfa script to add scalar data and/or RGB color tuples to rectilinear VTK file (*.vtr) 2014-09-05 20:28:39 +00:00
Tias Maiti e286cf4c74 fixed bug "theTable" instead of "table" 2014-09-03 14:53:12 +00:00
Tias Maiti b566eed5a8 fixed error in last commit 2014-08-28 18:50:48 +00:00
Tias Maiti 5d96f62b44 fixed bug "theTable" instead of "table" 2014-08-28 17:37:27 +00:00
Martin Diehl 6cdcdecdfa post processing scripts are working again.
@Philip: definining one offset for shiftData and one factor for scaleData for tensor/vector/special>1 seems to be more reasonable than per component
2014-08-25 21:13:39 +00:00
Martin Diehl d93c40a3dd fixed small bug ('theTable' instead of 'table') and simplified 2014-08-25 12:53:11 +00:00
Martin Diehl 1ba7cbb046 fixed small bug ('theTable' instead of 'table') and simplified 2014-08-25 12:39:12 +00:00
Martin Diehl c7837e1f66 changed manual input/output close to class method 2014-08-22 16:58:53 +00:00
Philip Eisenlohr 99e3c9a397 fixed (potentially) buggy rotation of tensors. convention is:
with A v = b
v' = R v
A' = R A R^T
such that
A' v' = R A R^T  R v = R A v (= R b = b', i.e. old result transformed into other coordinate basis)
2014-08-22 15:32:48 +00:00
Philip Eisenlohr df27115472 extended "scalar" capabilities to "special" having arbitrary dimension (defaults to 1, i.e. former scalar case). Breaks backward compatibility since "--scalar" is now "--special". However, "-s" still works as before... 2014-08-22 15:25:51 +00:00
Philip Eisenlohr 9d26bfa375 try to go on despite crappy data (containing dead ends in the segment network) 2014-08-21 17:23:16 +00:00
Philip Eisenlohr 77df55c998 extended "scalar" capabilities to "special" having arbitrary dimension (defaults to 1, i.e. former scalar case). Breaks backward compatibility since "--scalar" is now "--special". However, "-s" still works as before... 2014-08-21 17:16:43 +00:00
Philip Eisenlohr 9aa22d4a08 simplified column key generation 2014-08-21 16:17:23 +00:00
Philip Eisenlohr 96b16dd97b reshape "matrix" input data from (currently wrong) 9x1 to 3x3 layout.
simplified input validity check.
2014-08-21 16:14:06 +00:00
Philip Eisenlohr 0bcd508298 added new option "no-data" to omit output of microstructure data field, i.e. generates plain mesh only 2014-08-21 16:01:11 +00:00
Tias Maiti b573d06c3f fixed bug where initial microstructure array was allocated (factor 2) too large in anticipation of later 2D tiling. 2014-08-18 21:32:53 +00:00
Martin Diehl c6eab9dab7 fixed wrong order in linear interpolation for stress 2014-08-18 20:09:09 +00:00
Martin Diehl e637f6344c added possibility to fit to more than one yield point, now using linear interpolation between around given threshold value 2014-08-18 18:21:36 +00:00
Martin Diehl ad7fe1ecbc fixed bug (wrong index in stress tensor for Hill48) and possible deadlock 2014-08-10 21:22:22 +00:00
Martin Diehl 15a6015bc2 added some more post processing tests
DAMASK env now reports in MiB (GiB is too big for small machines)
2014-08-07 16:51:26 +00:00
Martin Diehl df50707445 fixed some small flaws 2014-08-07 16:16:02 +00:00
Martin Diehl c8f16f16fa fixed bug in hill criterion 2014-08-06 20:07:47 +00:00
Martin Diehl 649e637561 added some more post processing tests and improved output 2014-08-06 19:06:33 +00:00
Martin Diehl 938352d43a fixed calculation of size and dimension in case of 2D (was limited to third dim only)
plus polishing
2014-08-06 15:25:18 +00:00
Martin Diehl cbafad50d0 some more work on the postprocessing scripts, decreased test tolerance because spectral decomposition has rounding errors (depending on machine/python/numpy version) 2014-08-06 13:27:09 +00:00
Martin Diehl 96fe818f5d added more options to command line 2014-08-05 14:29:36 +00:00
Martin Diehl b4b9835d18 some work on the yield surface generator 2014-08-04 21:15:56 +00:00
Martin Diehl a0f9865133 updated to state-of-the art file handling etc 2014-08-04 20:07:20 +00:00
Martin Diehl 0874ebe096 new script to name abaqus output like in for marc.
written by B Bode from University of Kassel
2014-08-04 18:41:44 +00:00
Martin Diehl 7df8f04f65 updated test for postprocessing and improve some of the scripts 2014-08-04 17:53:41 +00:00
Tias Maiti 5556dad13f updated to latest ASCII table handling style 2014-07-28 15:34:11 +00:00
Martin Diehl 0b93e7c5a5 corrected addDivergence script. Restarting still not working for new state, needs further investigations: tightend tolerances again 2014-07-27 09:43:00 +00:00
Tias Maiti e01630e073 fixed bug in tuple assignment 2014-07-25 17:49:22 +00:00
Philip Eisenlohr bee6e0b09b added optional weighting column 2014-07-25 16:38:04 +00:00
Martin Diehl a804b23b7a bugfixing 2014-07-24 22:02:10 +00:00
Martin Diehl d0ecc0943c added addPK2 script to test 2014-07-24 21:42:13 +00:00
Martin Diehl 7954c9a4a3 more and improved tests for add... 2014-07-24 20:21:18 +00:00
Martin Diehl 38048a09f2 introduced use of choice for argparse where applicable 2014-07-24 18:47:09 +00:00
Martin Diehl 42032cbc25 started to restructure fitting to criterion 2014-07-22 21:59:58 +00:00
Martin Diehl e5dc9e79cc some more changes improving the post processing scripts 2014-07-22 14:21:49 +00:00
Martin Diehl e8d2e787bc updated first 9 post processing scripts to latest ASCII table handling style 2014-07-21 19:55:05 +00:00
Martin Diehl c8cd775747 added spectral solver grid location and index function to util library 2014-07-21 17:49:45 +00:00
Martin Diehl 2f0ecdf7e8 improved file handling etc. to follow newest style 2014-07-16 16:41:04 +00:00
Martin Diehl e7c282a02d some further improvements on ASCII table handling 2014-07-10 09:27:51 +00:00
Martin Diehl f72a87f94b polished scripts (option parser, numpy) 2014-07-09 10:07:24 +00:00
Martin Diehl fd2164b391 von Mises fitting seems to work, still needs polishing (adding options etc) 2014-07-09 09:31:26 +00:00
Martin Diehl 5f638a059a corrected string substitution 2014-07-09 07:17:58 +00:00
Martin Diehl fdb4f2ffea now the program flow is working 2014-07-08 16:09:02 +00:00
Philip Eisenlohr 826f3d4dc7 added possibility to rotate primitives.
better help text.
2014-07-07 17:32:37 +00:00
Martin Diehl 7a478d646a added call to DAMASK spectral 2014-07-07 14:17:44 +00:00
Martin Diehl a48b4cfc95 improved dummy yield surface generator 2014-07-04 13:40:15 +00:00
Martin Diehl a68fe7c77b first draft of a script to compute yield surfaces with the spectral solver 2014-07-02 10:42:51 +00:00
Martin Diehl 1ff38b98af fixed error in file handling 2014-06-18 09:00:57 +00:00
Martin Diehl 51b92f3ef9 simplified option parsing (so far, only for addCalculation and addMises) 2014-06-17 07:10:10 +00:00
Luv Sharma 596ee18da9 improved the regex for header reading 2014-06-08 14:43:32 +00:00
Philip Eisenlohr 31aded8311 no scaling of the output by size (seeds files are within 0..1)
plus some polishing here and there
2014-06-08 12:48:32 +00:00
Philip Eisenlohr b0ab048d7b now aware of "origin" keyword in seeds-file 2014-06-07 18:15:08 +00:00
Philip Eisenlohr e3c4e0ecfc added option to override bounding box calculation from data with own geometry. 2014-06-07 18:14:30 +00:00
Philip Eisenlohr 72e9c512bd polishing of variable names, comments, and some of the programming structure. 2014-06-07 18:13:29 +00:00
Philip Eisenlohr 2f249773c9 fixed missing Python module 2014-06-06 15:11:15 +00:00
Philip Eisenlohr 32b315487c removed debug printing 2014-06-06 14:46:41 +00:00
Philip Eisenlohr 59e8cd1d7e new script: Add data in column(s) of second ASCIItable selected from row that is given by the value in a mapping column 2014-06-06 14:35:37 +00:00
Philip Eisenlohr 63c1a0a212 updated to croaking, scriptID, IO-piping. 2014-06-06 09:43:28 +00:00
Pratheek Shanthraj 522efaac92 added immutable option 2014-06-05 17:18:52 +00:00
Philip Eisenlohr 9834c8466c scripts to scale, shift, and rotate scalar, vector, or tensor quantities of ASCIItables (in-place!) 2014-05-27 08:08:10 +00:00
Philip Eisenlohr 3ec323e564 Create seed file by taking microstructure indices from given ASCIItable column. 2014-05-26 14:57:39 +00:00
Philip Eisenlohr f81c6f6890 changed ASCIItable reading from _asArray (deprecated) to _readArray.
observe physical box size.
added compatibility to VTK > version 5.
2014-05-26 14:35:25 +00:00
Philip Eisenlohr 65f1f55a87 added option to pre-rotate orientation (change lab frame) 2014-05-26 14:31:42 +00:00
Philip Eisenlohr 51e7f9eed9 added --reverse option. corrected help hint regarding sorting order 2014-05-23 14:05:58 +00:00
Philip Eisenlohr 06715dc99f added "no data check" and updated script backbone to be consistent with other scripts (croak). 2014-05-19 13:43:26 +00:00
Martin Diehl 89c896678b added printing of cli arguments to seeds_fromRandom, fixed regression in compile_CoreModule and DAMASK_spectral_doxygen 2014-05-15 09:58:31 +00:00
Philip Eisenlohr 8a80f5ec7a fixed typo that prevented selection of "Moore" neighborhood.
made "boundary" and "biplane" synonyms.
adopted more modern treatment of geom-files.
introduced scale for voxel size (independent of physical size and resolution given in geom-file).
2014-05-14 15:26:06 +00:00
Philip Eisenlohr 8b9ed55928 small "beautification" 2014-05-13 15:03:55 +00:00
Philip Eisenlohr 13f1607e15 changed default behavior to (system-provided) random seed instead of fixed "0" 2014-05-03 02:36:23 +00:00
Tias Maiti 0885ea8023 changed variable interpolation to be useable in connection with dictionary definitions for formulas. Slightly less efficient but now much more powerful... 2014-05-02 19:56:56 +00:00
Philip Eisenlohr a8a9c8eef5 added possibility to not sort (--sort none) output by its --separation such that the output can be used in conjunction with the VTK files produced by DAMASK. 2014-04-14 21:45:24 +00:00
Philip Eisenlohr a85ea307f1 changed (with backward compatibility) option "origin" to more suitable name of "center" since it specifies the position of the primitive's center, while "origin" could be mistaken for the lower left corner or such... 2014-04-09 14:22:27 +00:00
Philip Eisenlohr babde13c6a capture missing --vtk option 2014-04-03 01:00:00 +00:00
Martin Diehl 33af5af8cb some small changes on the header/shebang 2014-04-01 19:29:14 +00:00
Martin Diehl 342ca0be47 tested new scripts to update shebang, all files got same shebang (and for python files encoding) 2014-04-01 18:41:14 +00:00
Martin Diehl 782b54a430 more LF, Id, and executable status changes 2014-04-01 17:52:31 +00:00
Claudio Zambaldi 559f14ca35 prepended *draw_manual for faster processing in "new" Mentat, thx Christoph 2014-04-01 17:06:10 +00:00
Martin Diehl 188002f16e more LF, Id, and executable status changes 2014-04-01 16:58:54 +00:00
Martin Diehl c254f87814 now assuming periodic microstructures (was not fully correct before, assuming non-periodicity) 2014-04-01 16:43:39 +00:00
Philip Eisenlohr 16743f8631 explicitly state unbuffered ASCIIoutput 2014-03-28 18:15:37 +00:00
Christoph Kords f19955c84a added options to specify the columns for the grain IDs and segments
improved error handling
2014-03-12 14:26:44 +00:00
Martin Diehl 0363b1fb04 updated reporting (according to addCauchy) 2014-03-10 14:01:39 +00:00
Christoph Kords e10f8f1b5e corrected typo 2014-03-04 16:43:22 +00:00
Philip Eisenlohr 943349fdbb bunch of new scripts:
gwyddion_filter tries to smoothen out Gwyddion data sets.
vtk_fromGwyddion produces vtk mesh from Gwyddion data set.
geom_addPrimitive allows to add box, cylinder, or ellipsoidal blobs to geom file.
2014-03-04 03:34:34 +00:00
Philip Eisenlohr 6fd8407d6e moved "predefined" to colormap init
cleaned interpolate to not change color model

fixed color range cropping issue
2014-02-28 16:09:01 +00:00
Philip Eisenlohr 63569b19b6 added use of "defaultdict" from collections 2014-02-28 15:56:28 +00:00
Philip Eisenlohr fdbde250dc deleted obsolete table.data_rewind to be pipe-safe 2014-02-28 15:55:48 +00:00
Martin Diehl 27c83f60a6 fixed typo 2014-02-26 15:05:34 +00:00
Philip Eisenlohr 7f08c976c3 skip file if mandatory column not found in ASCIItable 2014-02-26 14:56:06 +00:00
Philip Eisenlohr 98a8b47a09 can now read legacy VTK files with unstructured grid data 2014-02-24 19:23:08 +00:00
Martin Diehl 9d402022aa fixed small bug when using renumber option 2014-02-15 10:37:50 +00:00
Martin Diehl 371a027de9 added option '--renumber' to geom_rescale and geom_grainGrowth to renumber microstructures from 1 to N (without gaps), off by default.
added metavar information to some scripts
2014-02-14 13:17:29 +00:00
Philip Eisenlohr a659d071a9 added '--degrees' option to indicate Euler angles unit 2014-02-10 18:01:21 +00:00
Philip Eisenlohr 85e4896478 "--degrees" option to specify Euler angles in degrees (instead of radians) 2014-02-09 20:36:42 +00:00
Philip Eisenlohr ccb950f3d8 checked Unix command piping conformity -- seems to now work:
seeds_fromRandom |
geom_fromVoronoiTessellation |
geom_grainGrowth |
geom_unpack |
geom_pack

However, grainGrowth functionality seems broken...
2014-02-03 23:44:29 +00:00
Martin Diehl f66c0727d0 fixed wrong type for arguments introduced last time (must be string to have multiples) 2014-02-03 20:23:49 +00:00
Martin Diehl 7a9fa061de added --compress option: for ang files filtered to have single orientation in grain (OIM filter), microstructure and texture in material.config are compressed 2014-01-30 12:00:20 +00:00
Philip Eisenlohr 3c2af8e7a6 fixed dropped file handle when flushing closed output... 2014-01-29 21:16:44 +00:00
Philip Eisenlohr 24d7f55f55 check whether output is already stopped (in command piping for instance) 2014-01-29 21:13:36 +00:00
Philip Eisenlohr cd18ec2abf removed unneccesary table.data_rewind, which breaks command piping 2014-01-29 21:03:56 +00:00
Martin Diehl ee99216edc polishing compile_CoreModule, bug fix for Makefile 2014-01-28 07:34:13 +00:00
Philip Eisenlohr 1bd456aa22 corrected options.error --> parser.error 2014-01-27 14:30:37 +00:00
Philip Eisenlohr a1cfc85d74 produce VTK unstructured grid with voxels around all points given in an ASCIItable. 2014-01-27 14:10:29 +00:00
Philip Eisenlohr 13fed38a2f add scalar and RGB tuples from ASCIItable to existing VTK voxel cloud (*.vtu) 2014-01-27 14:05:03 +00:00
Philip Eisenlohr c9c6588f7c renamed seeds file related scripts in a (hopefully) consistent manner 2014-01-23 20:48:33 +00:00
Philip Eisenlohr eda9076157 use existing geom file and produce seed points from each voxel (filtering possible) 2014-01-23 20:43:42 +00:00
Martin Diehl 8b4af554ba added verbosity on help messages 2014-01-20 14:41:56 +00:00
Luv Sharma 649b8b91fe fixed reporting of arguments 2014-01-15 15:10:13 +00:00
Martin Diehl db18b3c77f added missing script arguments in documentation part of the header 2014-01-14 10:53:45 +00:00
Martin Diehl 0f101c8dbf adopted to improved HDF5 format 2014-01-13 16:22:01 +00:00
Martin Diehl aab0208c65 more modifications, only configure needs modifications 2014-01-12 17:29:00 +00:00
Martin Diehl a614e76968 first post processing script for HDF5 output 2014-01-07 20:42:51 +00:00
Philip Eisenlohr 4f30a6e05b now compatible with new table.data_readArray method 2013-12-31 21:06:32 +00:00
Martin Diehl 2f1db8f69a introduced delimiter option (default = tab) for ascii table output, use space for geometry files 2013-12-17 08:16:29 +00:00
Philip Eisenlohr e20ffb379d changed numpy.readtxt logic from "data_asArray" returning a copy to inplace "data_readArray" now directly storing into self.data 2013-12-14 03:51:22 +00:00
Philip Eisenlohr 600389ac44 new script to sort ASCIItable according to (multiple) columns 2013-12-14 03:48:50 +00:00
Martin Diehl 37046cd2ea changed Fortran standard to 2008 2013-12-12 22:30:22 +00:00
Christoph Kords 0f8790c148 clarified help string 2013-12-12 08:48:57 +00:00
Philip Eisenlohr 10c8a1a3ce corrected typo in usage hint 2013-12-12 02:35:01 +00:00
Philip Eisenlohr 894776ca67 fixed stupid bug addressing a dict by dict{key} instead of dict[key] 2013-12-11 14:30:27 +00:00
Philip Eisenlohr 44b3687e7c added option to invert output data range (1.0 -- 0.0 instead of 0.0 -- 1.0) 2013-12-10 00:27:22 +00:00
Philip Eisenlohr e4cea31a9d small bug fix: options.error --> parser.error 2013-12-09 15:58:35 +00:00
Philip Eisenlohr e2d4cc8b3d fixed former nonsense definition of lab frame direction 2013-12-09 15:57:21 +00:00
Philip Eisenlohr 26690859bb deal more gracefully with problematic user input. 2013-12-09 15:54:47 +00:00
Philip Eisenlohr 7fb1a3130a now VTK 6 compatible 2013-12-09 15:41:29 +00:00
Philip Eisenlohr c7ac903dc7 fixed missing comma in script list... 2013-12-09 15:37:36 +00:00
Philip Eisenlohr 090fca8683 deleted left-over debug statement 2013-11-26 20:24:40 +00:00
Philip Eisenlohr d498eca242 deleted left-over debug statement 2013-11-26 20:22:52 +00:00
Philip Eisenlohr b63d2eafe8 new scripts for:
-generating vtk point cloud from x,y,z ASCIItable data
-adding scalar values and color tuples from ASCIItable to vtk point cloud
-permuting data in ASCIItable columns (used to shuffle ordered grain indices)
2013-11-26 20:19:27 +00:00
Philip Eisenlohr a45c7dbb62 new ASCIItable scripts to add
- quaternion and/or Euler representation of lattice orientation (given in rotation matrix, etc.)
- RGB color code of crystal direction in laboratory frame (matching closely the TSL-OIM scheme of inverse pole figures).
2013-11-25 19:11:02 +00:00
Philip Eisenlohr 0337b4f319 added script to produce VTK point cloud from seed file coordinates 2013-11-20 17:33:05 +00:00
Martin Diehl feaccae652 set threshold for values treated as zero to 1.e-12 (was 1.e-15) to avoid flip in strain direction 2013-11-19 19:39:14 +00:00
Martin Diehl e1e76cb257 fixed bug in OIMang_hex2cub.py, added test for correct number of microstructures (should be equal to header info) 2013-11-14 17:37:42 +00:00
Martin Diehl d2cbca35b2 fixed syntax error in last commit 2013-11-13 12:51:48 +00:00
Martin Diehl 9b7007b937 added accidently deleted output of texturei again 2013-11-13 12:46:20 +00:00
Martin Diehl 103ae3cd0d introduced on the fly copying for 2D microstructures in 3 dimension 2013-11-12 17:04:36 +00:00
Pratheek Shanthraj fc8811c07d switched to faster algorithm and removed buggy multi-threading 2013-11-11 13:00:31 +00:00
Martin Diehl 9ac8846e41 compiling with hdf5 is now working for DAMASK (if HDF5=ON) and for playground example in private 2013-11-07 12:52:36 +00:00
Philip Eisenlohr 463ecfd296 switched to damask.ASCIItable parsing, now aware of synonyms in geometry header, and speed-up by some orders of magnitude due to scipy.ndimage.filters use... 2013-11-04 14:12:10 +00:00
Martin Diehl 1ff98296b3 added output of default values, still does not run for my geometry 2013-10-25 11:58:03 +00:00
Philip Eisenlohr 5c1c0028e0 throw error if RCB segment list is not properly connected, i.e., complain about "dead ends" along the segment chain. 2013-10-24 18:55:16 +00:00
Philip Eisenlohr 705d23a5ed fixed bug for non-present "microstructure" info in header. 2013-10-15 12:36:52 +00:00
Martin Diehl 47577e3d11 introduced synonym "grains" for deprecated "grains" to ensure backward compatibility 2013-10-15 09:50:20 +00:00
Philip Eisenlohr 6f467c0789 added "-fPIC" flag to make sure (independent of local f2py settings) that position independent code will be generated for the shared "code" object in DAMASK's python lib 2013-09-23 19:07:12 +00:00
Philip Eisenlohr 9280b0a4e2 fixed bug where configuration wrote floating point numbers for grain IDs and texture IDs. 2013-09-23 18:35:30 +00:00
Martin Diehl 1915215c6f commented out not working use of vtk class 2013-09-20 11:27:11 +00:00
Martin Diehl 3eb8aa1362 checked for python3 compatibility:
use "print('foo')" instead of "print 'foo'"
and "except(error) as e" instead of "except error,e"
2013-09-14 10:52:02 +00:00
Martin Diehl a17b85cba8 deleted wrong colormap script, was there twice. correct one (modified recently by Philip) is called perceptualUniformColormap 2013-09-11 08:15:05 +00:00
Martin Diehl 022696c8f3 fixed output to screen 2013-09-11 07:45:42 +00:00
Philip Eisenlohr 538a471246 updated $Id$ handling.
added (colored) my script's name reporting.
2013-09-09 14:12:00 +00:00
Philip Eisenlohr ec6587e7f5 corrected help message 2013-09-09 14:11:16 +00:00
Philip Eisenlohr f02ee16b3d fixed missing comma in "pre" symlinking list. 2013-09-09 14:09:38 +00:00
Philip Eisenlohr b3463b2ed6 added intel openmp library to linking list. (-liomp5 was necessary when using IMKL...) 2013-09-09 14:08:44 +00:00
Christoph Kords 7bbee3fe60 write size as exponential not float, otherwise small numbers get rounded (to zero) 2013-08-21 15:25:27 +00:00
Franz Roters 4f7cd76b29 renamed texture_rotation into texture_transformation
changed keyword for material.config to axes in line with geom_fromAng.py
former keyword rotation is still recognized for compatibility
2013-07-24 11:09:39 +00:00
Pratheek Shanthraj d2ccc06aee added line break between rotation and euler angle information for correct parsing of config file 2013-07-23 14:33:30 +00:00
Pratheek Shanthraj c8cc397bf4 small bug fix 2013-07-23 12:40:26 +00:00
Christoph Kords 26df077c2a translating scalar data that contain vector components to vector data 2013-07-22 08:24:04 +00:00
Martin Diehl 69b3359047 forgot in last commit 2013-07-18 13:31:40 +00:00
Martin Diehl 2201a73a46 added (?correct and working?) rotation for conversion from ANG and updated bold verbosity of all other scripts 2013-07-18 13:28:54 +00:00
Martin Diehl a39005ef1c added possibility to specify formula with array return type
added support for numpy
2013-07-16 21:48:23 +00:00
Philip Eisenlohr 7d5f1270d5 fixed nasty bug that prevented proper grid rescaling 2013-07-16 21:11:44 +00:00
Philip Eisenlohr cb09c17fa2 simplified $Id treatment.
now reports own name in bold during runtime.
2013-07-10 09:15:42 +00:00
Philip Eisenlohr 31e0469b34 changed key "grains" to "microstructures" to be consistent with .geom description later. 2013-07-10 09:14:53 +00:00
Philip Eisenlohr f75604c235 fixed bug in output of origin (reported size instead) 2013-07-10 09:13:21 +00:00
Philip Eisenlohr fafa69b846 added possibility to have microstructure indices for seed points. Hence, multiple seed points can belong to the same final grain. 2013-07-10 09:12:00 +00:00
Philip Eisenlohr 0fa9f7dc22 can now show data for tables lacking column labels (use option --nolabels) 2013-07-08 11:56:16 +00:00
Pratheek Shanthraj 930e605afc bug fixes and more optimizations 2013-07-03 00:48:21 +00:00
Pratheek Shanthraj 34ef7b0f34 now fully anisotropic grain growth possible by setting up the function "interfacialEnergy" 2013-07-02 04:32:32 +00:00
Pratheek Shanthraj 5ff8a7067e fixed bug and re-reverted to faster version. added python multiprocessing functionality. polishing and renaming 2013-07-01 17:15:24 +00:00
Philip Eisenlohr 89cea68bc5 now using ASCIItable object and numpy array.repeat --> about 50x faster for large geoms (i.e. several mio voxels). 2013-06-30 19:11:16 +00:00
Philip Eisenlohr 39758f5c53 removed twoD option remnants 2013-06-30 19:09:01 +00:00
Philip Eisenlohr 1f891c544d now using ASCIItable object (much faster file writing).
(temporarily) switched back to rev2496 logic...
changed to diffusion distance as command line argument (instead of taking sqrt(time))
2013-06-30 13:51:21 +00:00
Philip Eisenlohr dd3d53e238 simplified grid/size synonyms treatment 2013-06-30 13:47:01 +00:00
Philip Eisenlohr 21c4447955 polishing and code unifications 2013-06-30 12:35:04 +00:00
Philip Eisenlohr 24fc14c2f3 fixed small syntax error introduced in last commit... 2013-06-30 00:46:52 +00:00
Philip Eisenlohr 77aa1c27b0 now based on damask.ASCIItable object
continue with next if one file is broken (used to stop!)
packing of already packed works now
overall speed improvement
standard unpacked output is 2D: use -1/--onedimensional for linear list
2013-06-30 00:39:48 +00:00
Philip Eisenlohr fcc2736431 now based on damask.ASCIItable object
continue with next if one file is broken (used to stop!)
improved index substitution and adopted more numpy functions --> notably faster
2013-06-30 00:37:03 +00:00
Philip Eisenlohr f204c38d4d now based on damask.ASCIItable object
continue with next if one file is broken (used to stop!)
switched to numpy functions for geom reshaping and writing --> 10x faster
2013-06-30 00:34:16 +00:00
Philip Eisenlohr 7d6035dcfa now based on damask.ASCIItable object
continue with next if one file is broken (used to stop!)
2013-06-30 00:31:44 +00:00
Philip Eisenlohr da1b4ff05b now based on damask.ASCIItable object
switched to numpy functions for grid generation --> about 20x faster.
2013-06-30 00:30:06 +00:00
Philip Eisenlohr b2c8a7e345 removed tabs (and extended tab-awareness of pre-commit hook to python scripts) 2013-06-29 21:14:58 +00:00
Martin Diehl e3a1e70542 started to use vtk class for writing results 2013-06-27 18:21:20 +00:00
Pratheek Shanthraj 4537720895 faster version for large number of grains. now performing diffusion on a small window around each grain where window around each grain is obtained cheaply 2013-06-27 16:57:14 +00:00
Philip Eisenlohr 034a6bc926 grid dimension can be changed by factor ("2x"), or left alone with number <= 0.
now understands packed geom structure.
2013-06-27 15:35:49 +00:00
Philip Eisenlohr 5f347648e1 now understands packed geom structure 2013-06-27 15:34:37 +00:00
Harsha Phukan 76171eec15 added possibility for factors---indicated by "x" at the end---and left-alone condition now comprises "0" as well as "negative numbers. understands packed structures, too. 2013-06-27 12:58:12 +00:00
Christoph Kords 13227dff0f corrected calculation of origin 2013-06-22 14:13:29 +00:00
Philip Eisenlohr 8b5ba9f8f0 now understands packed geom-files (much faster processing...) 2013-06-21 21:19:14 +00:00
Philip Eisenlohr 4cf2e75dc1 justification of numbers done with space instead of "0"s 2013-06-21 21:18:10 +00:00
Philip Eisenlohr e53c67f0e0 added black list for immutable microstructures.
now able to parse packed geom-files.
2013-06-21 21:17:03 +00:00
Philip Eisenlohr 3b4573301c removed now obsolete Moore neighborhood array 2013-06-21 19:10:10 +00:00
Philip Eisenlohr 5d15f68914 added help description.
fixed bug for grain index (+1).
renamed some variables and added a few comments.
2013-06-21 19:08:20 +00:00
Pratheek Shanthraj 2e8756b724 faster version of smoother using the scipy gaussian filter to get the diffused microstructure and vectorized sharpening of the diffused microstructure 2013-06-21 16:59:49 +00:00
Philip Eisenlohr 45951e27c5 script to smooth out interface roughness in a (polycrystal) geom 2013-06-20 19:45:25 +00:00
Christoph Kords 0740845d81 allow coordinates to not be in consecutive columns
keep origin of original data set
2013-06-20 07:36:35 +00:00
Christoph Kords e6499e1a39 renamed script in order to distinguish from "add" scripts that act on ascii tables 2013-06-13 09:05:30 +00:00
Ding Wang 920195809c fixed bug in auto determination of size and grid 2013-06-11 10:11:14 +00:00
Martin Diehl becacb675a linear reconstruction no longer needed for odd resolution 2013-06-05 14:05:11 +00:00
Martin Diehl e635b06270 last polishing on preprocessing scripts, documentation and scripts are all up to date.
added addSchmidfactors to post processing scripts
2013-06-04 12:56:57 +00:00
Philip Eisenlohr 32a16f9745 wildcard matching for column headings, e.g. "[159]_p" to extract only the diagonal elements (scalars) of stress, or "[1-9]_p" to extract all nine values.
fixed VTK file format problem where double precision floats were incorrectly interpreted because they were announced as "float" (now "double").
2013-05-29 10:24:00 +00:00
Martin Diehl a21dd816c7 init reporting of constitutive_*.f90 had less/to much spaces, renamed label to LABEL because it is a parameter.
removed debug output of geom_fromEuclideanDistance.py
2013-05-28 17:31:55 +00:00
Christoph Kords 837574278e removed (now) unused function for reading of configFile 2013-05-28 14:47:50 +00:00
Christoph Kords 10a32dc17b use predefined maps in damask.Colormap class; no need for a colorMap config file anymore 2013-05-28 14:18:21 +00:00
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
Pratheek Shanthraj e498719dcf forgot to add to last commit 2012-11-29 21:57:07 +00:00
Pratheek Shanthraj f63bb747c1 script to calculate the euclidean distance map (shortest distance to a grain boundary) of a given geom description using fast marching method (O(N logN) ops). grain boundary extracted using FD stencil. 2012-11-29 21:53:57 +00:00
Philip Eisenlohr f446d4d87e added wildcard matching ( "?", "*", "[(!)sequence_of_characters]" ) for ASCII table labels 2012-11-29 10:42:13 +00:00
Philip Eisenlohr 05507a6240 removed opening of unused _tmp file 2012-11-27 17:59:56 +00:00
Philip Eisenlohr 255af58434 post processing script to add eigenvalues and eigenvectors to tensorial data in ASCII tables. 2012-11-23 21:49:30 +00:00
Martin Diehl 78c22d8449 corrected label in case of divergence of tensor, now using correct notation for scalar: divFFT(data) instead of 1_divFFT(data) 2012-11-21 10:31:52 +00:00
Martin Diehl b5945ced5e changed counting of rows from pythonic (starting at 0) to human way (starting at 1) 2012-11-20 10:27:09 +00:00
Martin Diehl b988caa6ba added script to add deviatoric and hydrostatic part of a tensor to ASCII table 2012-11-14 10:46:51 +00:00
Martin Diehl c3926efd93 introduced logic to use gfortran as default if ifort is not found 2012-11-13 19:12:00 +00:00
Philip Eisenlohr 1df9be233d changed default threshold to 0.0 2012-11-08 17:08:41 +00:00
Philip Eisenlohr 682a98b704 forgot to alter name of 'geom_fromAng' in setup script... 2012-11-08 16:29:26 +00:00
Philip Eisenlohr 025d6c9048 renamed script to new convention
aligned output behavior to that of fromVoronoiTessellation, i.e., standard output is geom, --config gives associated material.config stud
2012-11-08 15:44:51 +00:00
Philip Eisenlohr af2aa8500d added option to specify crystallite index 2012-11-08 15:43:38 +00:00
Philip Eisenlohr c4c27860b2 renamed script
updated to recent standard in io processing
introduced "primitive" bicontinuous structure in addition to "diamond" and "gyroid"
2012-11-07 16:52:10 +00:00
Philip Eisenlohr 7cf2024be3 fixed buggy parameter checking 2012-11-07 16:51:17 +00:00
Philip Eisenlohr e11d107956 fixed reporting to STDOUT/STDERR
fixed buggy parameter checking
2012-11-07 16:49:47 +00:00
Philip Eisenlohr cfc8823328 missed those three in former commit... 2012-11-05 21:28:01 +00:00
Philip Eisenlohr 1bd4262cfb renaming of (loosely related) "spectral" scripts to (more tightly related) "geom" versions. 2012-11-05 21:19:12 +00:00
Martin Diehl 1fc59107fa removed debug statement in averageDown.py, deleted obsolete spectral_iterationCount.py (new solver will report statistics anyway and most probably the current count does not work as the screen output was modified) 2012-10-31 10:06:11 +00:00
Philip Eisenlohr afaf1f4e8c made errors report to STDERR.
maxMicrostructure remains silent if not present.
2012-10-30 16:32:00 +00:00
Philip Eisenlohr f2229883b5 exchanged "maxGrainCount" for "maxMicrostructure", since this is what it really means... 2012-10-30 16:15:10 +00:00
Philip Eisenlohr ff164c9209 changed packing syntax from "N copies of x" to "N of x" (now consistent with IO.f90) 2012-10-30 15:53:46 +00:00
Philip Eisenlohr 2d36d52cf7 changed packing syntax from "N copies of x" to "N of x" (now consistent with geomPack and IO.f90) 2012-10-30 15:47:11 +00:00
Martin Diehl b9aa50c59a improved performance for large packing values 2012-10-26 12:59:43 +00:00
Martin Diehl 868984cb89 import of damask.core will not complain any more if done in setup_processing.py, however setup_processing.py will check if core.so exist after compilation and delete it before compilation 2012-10-25 07:55:27 +00:00
Philip Eisenlohr 17bfc3b284 added explanation of script purpose to its usage output (-h) 2012-10-18 07:24:44 +00:00
Martin Diehl 573c4702eb fixed bug in averageDown.py and added test to check its features 2012-10-17 15:05:26 +00:00
Martin Diehl dcff640926 fixed handling of given resolution and dimension 2012-10-17 10:04:13 +00:00
Martin Diehl 6c7affc43f improved performance (hopefully)
now each new element gets a new ID, running from 1 to N for N elements
2012-10-16 18:06:02 +00:00
Philip Eisenlohr 1004d744f2 output speed-up by *show_table/*show_model masking 2012-10-05 21:49:33 +00:00
Martin Diehl c377dae9a6 added option to create hexagonal grid (2D slices only, according to P. Konijnenbergs experience on 3D ang) 2012-10-05 17:25:54 +00:00
Martin Diehl 124451ac1a added missing comment sign # 2012-10-04 08:42:13 +00:00
Martin Diehl 0a961bef55 made test for spectral packing/unpacking working again, small fixes in the 2 scripts 2012-09-28 14:49:07 +00:00
Martin Diehl 6d97a92913 further improvements on the conversion, seems to work quite good for the 2D case now 2012-09-28 12:10:10 +00:00
Martin Diehl 6619717baf improved the conversion of tables to ang files 2012-09-26 12:20:14 +00:00
Philip Eisenlohr 5dbbb56460 fixed bug in 2D output format alignment. 2012-09-13 12:28:21 +00:00
Martin Diehl 77b2eef269 corrected wrong compiler option for gfortran in setup and updated naming scheme 2012-09-13 12:20:00 +00:00
Philip Eisenlohr b76fee325b script to shift (physical) origin of geometry file and/or shift microstructure indices by fixed amount and substitute individual indices by other ones. 2012-09-13 10:12:00 +00:00
Philip Eisenlohr 66e38606f0 syntax errors in one file terminated the script. now continues with next input... 2012-09-13 10:09:54 +00:00
Philip Eisenlohr 1c0649e17a syntax errors in one file terminated the script. now continues with next input... 2012-09-13 10:08:57 +00:00
Philip Eisenlohr 8078585ce8 removed two left-over debug statements 2012-09-13 08:46:18 +00:00
Philip Eisenlohr 3d14c5b234 functionality now subsumed into geomCanvas 2012-09-13 07:58:29 +00:00
Philip Eisenlohr 4263191423 functionality now subsumed into geomCanvas 2012-09-13 07:57:57 +00:00
Philip Eisenlohr 1fe202fd90 added $ID and line endings. 2012-09-13 07:56:45 +00:00
Philip Eisenlohr 4f6e0eda32 splitter geom-file un/packing into two separate scripts. 2012-09-05 15:15:11 +00:00
Philip Eisenlohr dc55e30cf1 added "startingIncrement" to spectralOut result interpretation 2012-09-05 15:14:36 +00:00
Martin Diehl b7dc9f9944 renamed spectral_buildElements.py to nodesFromCentroids.py and added first simple version of an ascii table to ang converter 2012-08-30 17:01:46 +00:00
Martin Diehl 73349d02f5 merged precision info into the file prec.f90 and removed prec_single.f90
precision information is now parsed as a makro, defined by the compiler, eg. -DFLOAT=8 for 8 byte long floats or -- in case no values is given -- for the FEM wrapper by the interface files.

Please don't forget to run setup_code.py  !!!!!!!!!!!

abaqus_v6.env is adjusted to specify the standard precision (float=8, int=4) and got some extra compilation options, some deprecated warning supressors are removed

Optional Marc modification will follow that allow automatic selection of suitable precision
2012-08-28 16:08:17 +00:00
Martin Diehl 3f99d2bb65 further improved prefix handling 2012-08-27 09:39:57 +00:00
Martin Diehl 96ba5ecae4 moved some more 'mesh related' functions for post processing from math.f90 to mesh.f90
f2py functions remaining in math.f90 now uses assumed size arrays in order to have simpler interfaces. This is only working with python 2.7!
changed python pre- and postprocessing scripts.
If you encounter any problems whith core modules, try to remove the old core.so in the lib/damask
2012-08-27 08:04:47 +00:00
Mahesh Balasubramaniam 975c3437ac added possibility to use comma in functions, to prevent splitting substituted by ';'. Eg. round(4.021,1) becomes round(4.021;1) in command line call 2012-08-22 17:47:34 +00:00
Christoph Kords 4cfc302cdd put prefix in front of the filename, not the directory name 2012-08-03 13:14:51 +00:00
Mahesh Balasubramaniam 3d7bc40520 added output of defaults for mesh, points, and box to help 2012-08-02 13:22:57 +00:00
Martin Diehl a94b089aaa removed old fortran brute force based tessellation 2012-07-26 09:07:24 +00:00
Martin Diehl 13caf2d389 made linear shape reconstruction working again, pretty similar results like corrected FFT reconstruction 2012-07-18 18:39:59 +00:00
Martin Diehl 95d292b286 2012-07-18 12:31:07 +00:00
Martin Diehl 117d06404d cleaned up the script for setting up the postprocessing tools 2012-07-17 13:23:39 +00:00
Philip Eisenlohr b30584b8d7 added "()" to file.close command 2012-07-03 12:33:11 +00:00
Philip Eisenlohr 783e1b50e2 condensed info parsing.
added info to report new origin of grid (based on --offset).
2012-06-26 18:08:50 +00:00
Philip Eisenlohr fd3d592333 added capability to respect "origin" information in header 2012-06-26 18:07:38 +00:00
Philip Eisenlohr cd04f990c5 added $id$ property and LF ending 2012-06-26 17:20:16 +00:00
Philip Eisenlohr 9041c5de39 fixed help texts
killed full number range output option (use spectral_geomPack if needed)
2012-06-26 14:41:25 +00:00
Martin Diehl 2b5ff6a456 2 small corrections for header of geom file 2012-06-26 10:41:22 +00:00
Martin Diehl 9b76b47ef9 added missing extension causing invalid symlinking 2012-06-26 10:25:39 +00:00
Martin Diehl baacbe3b11 added ifort as standard compiler, compilation is now done in DAMASK_ROOT 2012-06-25 09:06:09 +00:00
Pratheek Shanthraj 77ee33ec1f script to changes the (three-dimensional) canvas of a spectral geometry description 2012-06-21 12:57:14 +00:00
Philip Eisenlohr 06bfce0cd3 forgot to add the updated spectral_geomMultiply... 2012-06-20 17:06:28 +00:00
Philip Eisenlohr 01a9290567 deleted old incarnation...
new script follows established option parsing.
can rescale (increase only) the number of grid points in any dimension (with or without concurrent dimension scaling).
2012-06-20 16:00:48 +00:00
Philip Eisenlohr 1105824562 new option to not rescale patch (set size = 0)
added "3 header" to file output

will now extrude for spectral grids
2012-06-20 15:58:43 +00:00
Philip Eisenlohr 925759000c added option to select data separation character from a choice of:
newline
tab (default)
space
2012-06-19 16:00:59 +00:00
Philip Eisenlohr 376ec2cd94 add option to output double, triple, and quadruple scalars 2012-06-19 15:30:16 +00:00
Krishna Komerla c36a73c142 added include path for library files 2012-06-18 12:18:06 +00:00
Martin Diehl a02dc204cc added identifier for spectral solver when compiling post processing tools to setup/setup_processing.py
test with intel compiler now uses ikml
2012-06-13 17:45:18 +00:00
Philip Eisenlohr dfc8606207 boundary conditions now consider patch dimension along pulling direction (used to be orthogonal to that..!) 2012-06-13 09:28:59 +00:00
Taymor El Achkar 98b790004a Adding Second Piola-Kirchhoff data Coloumns (addPK2).
Integrating Stress-Strain table Data numerically (integrate.py).
2012-06-12 14:09:16 +00:00
Taymor El Achkar 1c427e8642 loop corrected 2012-05-14 07:58:21 +00:00
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