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
Philip Eisenlohr
ff4c281ed2
fixed whitelist/blacklist behavior (blacking out overrides whitelisting)
...
now broken pipes stop script's outputting.
2012-02-16 18:47:07 +00:00
Philip Eisenlohr
a994b4bcc9
fixed problem when condition was empty
2012-02-16 18:00:40 +00:00
Martin Diehl
f2729255f8
changed name in install script, small corrections on regex
2012-02-16 15:15:43 +00:00
Philip Eisenlohr
1bad5bf3c7
removed --count option. introduced 'internal' column #_row_#. adopted polished column head identification developed in filterTable. wiki updated.
2012-02-16 11:56:16 +00:00
Martin Diehl
9f45cb3745
new option: -c --count: count rows in ascii table and add column "row" with row number
2012-02-16 11:16:36 +00:00
Philip Eisenlohr
edd5adafd0
now with ID and correct line endings...
2012-02-16 08:58:07 +00:00
Philip Eisenlohr
37bd65ea34
script to filter an ASCIItable by condition. each row is evaluated against the condition, columns can be black- or white-listed (white wins)...
2012-02-16 08:36:35 +00:00
Martin Diehl
11d3c7a317
new spectra_parseLog searches through spectral log file and parses all possible output to an ascii table
2012-02-15 20:08:35 +00:00
Martin Diehl
b153a762cb
now using damask.core.math
2012-02-15 19:34:43 +00:00
Christoph Kords
bd32f1bf1a
adapting to current format of spectral out file
...
now using regular expressions to match "magic" lines
2012-02-15 12:07:00 +00:00
Philip Eisenlohr
8671b8ed38
script to delete existing columns from ASCIItable
2012-02-14 12:04:37 +00:00
Martin Diehl
156ec4582a
polishing, adding _pInt etc. where applicable
...
post_results now handels zero increment different (like FEM, it is always there even if it is not counted)
2012-02-13 14:18:07 +00:00
Philip Eisenlohr
3228cf563c
fixed bug when column was referenced multiple time in a formula.
...
changed column tagging character to '#' ('$' gave some trouble on the shell...)
2012-02-09 15:46:25 +00:00
Martin Diehl
a329a9b91d
added flags for ifort and gfortran to use preprocessor
2012-02-09 13:30:59 +00:00
Philip Eisenlohr
0f7c74e02d
set ID flag and line endings
2012-02-09 13:06:22 +00:00
Philip Eisenlohr
5a6cd1fc8f
slightly prettified handling of finite difference accuracy requesting
2012-02-08 12:01:38 +00:00
Philip Eisenlohr
56ce779f57
generalized slip system idea of Christoph to field data of "special" dimension (i.e. not 3 or 9).
...
dropped "norm"-suffix from input names of norms.
ASCIItable output is now called "normType" with type being Abs, Frobenius, or Max...
2012-02-08 12:00:31 +00:00
Philip Eisenlohr
282e4a0360
scripts now figure out dimension and resolution on their own...
2012-02-08 11:18:15 +00:00
Philip Eisenlohr
9c35e4e148
small polishing of help output.
2012-02-08 09:12:08 +00:00
Christoph Kords
51e8981ba3
not specifying the location of python executable directly, but rather getting it from $path, otherwise the scripts won't work on every machine
2012-02-07 13:09:10 +00:00
Christoph Kords
2f07faa0e2
norm capable of using different p-norms (abs norm, frobenius norm, and max norm). also able to handle "slipsystem" outputs (use option -s). number of slip systems can be set by option -i, if not 12 is default.
2012-02-07 13:02:56 +00:00
Philip Eisenlohr
bffc22fbe1
major restructuring. packing stencil can be shifted to allow for element or nodal value averaging.
2012-02-02 17:12:48 +00:00
Christoph Kords
9b679c3c0b
switched to damask include instead of outdated damask_tools
2012-01-31 13:08:25 +00:00
Martin Diehl
27a976c04f
changed to new structure (using damask module)
2012-01-26 12:46:38 +00:00
Martin Diehl
becb863110
added test for gfortran and gfortran vs intel, renamed intel test to new numbering scheme and changed to new div criterion
...
introduced "try" statement in lib/damask/test/test.py to avoid crash if a test variant fails
2012-01-25 15:14:31 +00:00
Philip Eisenlohr
7869379d38
output directory (--dir) can now cope with absolute path...
2012-01-20 19:53:56 +00:00
Philip Eisenlohr
076fef3323
now fully supports output of vector fields (needs POINT data for useful visualization!!)
2012-01-19 20:42:50 +00:00
Philip Eisenlohr
b134ec7a39
adopted ASCIItable class and checked correctness of results.
2012-01-19 20:41:56 +00:00
Philip Eisenlohr
acf7c86531
respect existing symbolic link to core.so (necessary since different workstation have different system setup..!)
2012-01-19 20:41:08 +00:00
Philip Eisenlohr
ae6abedee7
set makefile line endings.
...
small output polish in patchFrom...
2012-01-16 16:06:41 +00:00
Philip Eisenlohr
447e181f55
fixed rounding problems with nodal coordinates
2012-01-16 16:05:02 +00:00
Philip Eisenlohr
7ed2c19d0f
switched importing from "msc_tools" to "damask"
...
patchFrom... now skips blank lines, has more commenting, treats (artificial) bi-crystal (somewhat) gracefully.
2012-01-16 09:32:36 +00:00
Philip Eisenlohr
8584532205
corrected '-o <file>' syntax: now with space in between.
2012-01-12 13:46:35 +00:00
Philip Eisenlohr
55639f3362
added log time scale capability for spectral results
2012-01-12 08:06:25 +00:00
Philip Eisenlohr
6163896531
$ID$ was not active so far...
2012-01-11 20:18:47 +00:00
Martin Diehl
9abf5a110d
changed from old DAMASK (f2py) module to new integrated damask tools
2012-01-06 10:41:23 +00:00
Pratheek Shanthraj
159c8cad89
corrected directories for linking
2012-01-06 10:41:01 +00:00
Pratheek Shanthraj
8b572ff4c5
translating command line options for compiler name to actual name of executable
2012-01-06 10:00:22 +00:00
Martin Diehl
dd1e968908
setup_processing.py uses damask module but builds the core part of it, therefore made the use damask.core optional by setting a try statement in __init__.py and a "from damask import xxx"
2012-01-04 11:06:24 +00:00
Philip Eisenlohr
fbe908ccd2
now uses damask.core.math package
2011-12-22 10:42:24 +00:00
Philip Eisenlohr
35bd460e39
added "core" package capability to processing
...
(renamed former f2py modules)
reverted pathinfo...
2011-12-22 10:36:59 +00:00
Krishna Komerla
f463c2da70
added addCurl.py, not sure if it works correctly. still in old (eq. to addDivergence.py) style
2011-12-21 17:25:31 +00:00
Martin Diehl
3706bcbc3e
fixed bug
2011-12-20 14:19:01 +00:00
Martin Diehl
8d5dcc97bd
added geomCrop to crop a box out of a geom file
2011-12-20 13:33:16 +00:00
Philip Eisenlohr
1194deff54
corrected leftover mistake (items --> table.data)
2011-12-15 10:53:20 +00:00
Philip Eisenlohr
fb7adf7b89
adopted use of general damask package
2011-12-15 08:53:18 +00:00
Christoph Kords
609175318e
added option for output of colormap palette also as float values 0.0-1.0
2011-12-08 10:02:48 +00:00
Philip Eisenlohr
2ceb78c337
introduced new damask_tools method "relPath" and adopted it in setup_processing.py and setup_code.py
2011-12-06 18:38:03 +00:00
Martin Diehl
ea0fe7b406
corrected 3D visualize (math.f90 part was not working)
...
small polishing of voronoi_tessellation.f90
2011-12-06 17:46:33 +00:00
Martin Diehl
5ebeb96e85
made DAMASK to work with gfortran:
...
-removed to long lines
-restructured f2py modules and merged make_DAMASK2Python into setup processing
-setup_code.py now sets library path in makefile and asks for compile switches for spectral code
-substituted \ in format strings with $
restructured DAMASK_spectral:
-more logical output and structure of code
-better input for spectral debug parameters
2011-12-06 16:58:17 +00:00
Philip Eisenlohr
9d3f7b8d3d
adopted ASCII_TABLE class
2011-12-04 09:57:13 +00:00
Christoph Kords
42c3074821
mini calculator for column-column arithmetic
2011-12-02 15:15:36 +00:00
Martin Diehl
148f57b86d
changed it to work with changes in last commit
2011-12-01 12:02:36 +00:00
Martin Diehl
ace6851389
moved all routines from postprocessingMath to math.90, renamed the module to DAMASK, changed scripts and interfaces accordingly.
...
polished math.f90 (mainly added _pInt/_pReal and intent(in/out))
curl_fft is still a dummy function
2011-12-01 12:01:13 +00:00
Philip Eisenlohr
e98590d850
adopted ASCII_TABLE class
2011-11-24 17:10:50 +00:00
Philip Eisenlohr
18a09d7cff
corrected handling of STDIN|STDOUT
...
adopted ASCII_TABLE class
2011-11-24 14:48:02 +00:00
Martin Diehl
267b8ac30c
started to add curl calculation to postprocessingMath.f90
...
restructured colormap calculation. Algorithm is working now, but input/output still has to be done
2011-11-23 20:08:48 +00:00
Philip Eisenlohr
48f8d4ccb5
exchanged logic now using ASCII_TABLE class...
2011-11-23 14:54:53 +00:00
Philip Eisenlohr
f685bbba0e
exchanged location of "graincount" in user block.
...
now matches wiki entry:
1. homogenization block
2. grain block
(grain count
sub-block[s] of crystallite and constitutive)
2011-11-23 09:09:00 +00:00
Philip Eisenlohr
e8f5996a96
renamed MSC_TOOLS.library_paths to libraryPath, since only single string is returned
2011-11-23 08:25:52 +00:00
Philip Eisenlohr
21fcd0357e
now subsumed into general postResults functionality
2011-11-22 19:43:37 +00:00
Martin Diehl
75e20dffb7
corrected version conflict
2011-11-17 21:36:56 +00:00
Martin Diehl
09799b5b58
compile test is now at least compiling. still comparison to reference results has to be done
2011-11-11 15:06:33 +00:00