Philip Eisenlohr
0ac5109c94
forgot to include string module
2011-09-05 08:50:36 +00:00
Martin Diehl
4eb8e25b6d
no fitting recent file renames
2011-08-26 12:25:11 +00:00
Philip Eisenlohr
f3c2547fba
name change to better reflect what happens: comparison between local deformation field and a (necessarily compatbile) geometry reconstructed from the whole deformation field.
2011-08-26 07:17:35 +00:00
Martin Diehl
eb0ce3992b
debugging of addDebugInformation (now working, but not tested in detail)
...
Added Id to postprocessingMath
2011-08-25 18:18:38 +00:00
Philip Eisenlohr
7aba05ed9f
reworked to match former script layouts and logics. (not yet tested, use at your own risk)
2011-08-25 17:55:36 +00:00
Martin Diehl
282d2d7b97
corrected wrong Id tag
2011-08-25 16:47:12 +00:00
Martin Diehl
bbee6c4658
forget to check in addDebugInformation
2011-08-25 16:44:36 +00:00
Martin Diehl
a5f176cf18
put divergence calculation using FDM to postprocessingMath, added divergence calculation using differentation in Fourier space to postprocessingMath
...
added functions to calculate the shape and volume mismatch of compatible and non-compatible geometry reconstruction to postprocessingMath. They can be accessed using addDebugInformation
2011-08-25 15:31:05 +00:00
Martin Diehl
cc3bc4a216
made handling of unknown dimension (i.e. resolution ==1) the same as for preprocessing (last commit)
2011-08-25 15:28:33 +00:00
Martin Diehl
272f7cc655
added auto scaling of dimension to voronoi_tessellation.f90. If dimension(i) == 0, it will get the smallest step of the remaining dimensions in that direction. Same is now done by patchFromReconstructedBoundaries
...
setup_processing.py now gives executables the extension *.exe and removes the old executables before compiling
2011-08-25 12:16:06 +00:00
Martin Diehl
39b97f7b67
added new script "spectral_scaleGeom"
2011-08-19 13:32:27 +00:00
Philip Eisenlohr
2dd8a353bb
now also works for single stepped loadcases, too
2011-08-19 10:03:42 +00:00
Martin Diehl
483234047c
renamed to be consistent with other file names
2011-08-19 07:53:35 +00:00
Martin Diehl
878ea443d6
added options to control written output (mesh(default), box, points) and to control reconstruction. --undeformed does not calculate average deformation of ve, --scaling controls the scaling of the fluctuation. Default is 1.0, with 0.0 no fluctuations are shown
2011-08-19 07:33:22 +00:00
Martin Diehl
589666d19e
added python script to simply (without antialising) scale a given *.geom file
2011-08-19 07:29:50 +00:00
Philip Eisenlohr
def056f30f
added $Id$ escaping
2011-08-18 08:00:19 +00:00
Philip Eisenlohr
10493ea8b0
added $Id$ login name escaping
2011-08-18 07:53:07 +00:00
Philip Eisenlohr
164da22730
added some warnings if Mentat or PIL cabability missing
2011-08-18 07:52:07 +00:00
Martin Diehl
ff3bac2496
does not double size of 2D data for spectral method any more
2011-08-17 16:06:50 +00:00
Nan Jia
3298e6821b
added forgotten "averageDown" script to list of shortcuts
2011-08-16 18:20:52 +00:00
Philip Eisenlohr
bedce496a8
deleted unused option "dimension" since this is figured out by parsing the respective spectral or geom input files anyway.
2011-08-15 08:34:55 +00:00
Philip Eisenlohr
e851c934ee
interrogate output from DAMASK_spectral for "error divergence:" evolution.
...
results in an ASCII datafile containing the increment counter with corresponding divergence value. the evolution within an increment i is stretched between i and i+1 (and likely jumps then for the next increment i+1 at the value i+1)
2011-08-14 10:44:15 +00:00
Philip Eisenlohr
a58158fc7c
bug fix related to hash key error when requesting --increments range
2011-07-25 12:53:54 +00:00
Onur Guevenc
8cb8637d41
fixed running with default --range & using --separation options.
2011-07-22 11:59:03 +00:00
Onur Guevenc
105a09f3df
only consider increments actually present in (spectral) result
...
added switch to change from range of positions to range of increments
polished help output
2011-07-21 15:45:41 +00:00
Christoph Kords
cb96559d99
mappings should rather be called "sumabs" and "avgabs" than "abssum" and "absavg"
2011-07-15 11:27:47 +00:00
Christoph Kords
63451f6edf
added "absavg" (=average of the absolute values) to the predefined mappings
2011-07-15 08:07:33 +00:00
Philip Eisenlohr
b252b467e8
moved useful ASCII post processing scripts from my Code repository into the DAMASK post-proc.
2011-06-21 16:25:48 +00:00
Onur Guevenc
daa45306f2
fixed a nasty bug in reading the header of spectral files
...
file type is guessed from extension
script tries to gracefully continue when data is missing but not crucial
ASCII file splitting now has correct increment (not position) in its name: poop_inc123.txt refers to true increment 123 not to position 123 in the result file anymore...
2011-06-21 12:38:58 +00:00
Philip Eisenlohr
b6b02f6cf9
now reports over all loadcases present in the output file, not just a selected one...
2011-06-15 18:14:05 +00:00
Philip Eisenlohr
dd11ef3072
added capability to deal with (Marc, spectral) output files that have less than every increment stored.
2011-06-15 17:49:59 +00:00
Philip Eisenlohr
4d2f6782e7
removed "error" msg about missing /msc directory. if not present, now silently ignored (together with any requests for Mentat interaction).
2011-06-09 12:52:54 +00:00
Onur Guevenc
d52fb1666e
"step" header is modified to "inc" to be consistent with postResults outputs.
2011-06-09 12:39:08 +00:00
Philip Eisenlohr
a72a97f0ba
added nodalScalar capability.
...
--ns 'elements' reports the nodal connectivity (list of elements touching a node)
--prefix allows to prefix the output filename
2011-06-08 16:54:46 +00:00
Franz Roters
f2c41aac83
do not use pwd library as it is unix only
...
due to the above path to subroutine is no longer set in mentat
spectral output uses different "grain numbers" for x-margin, y-margin, and margin edge
2011-06-08 15:06:37 +00:00
Christoph Kords
5740e13485
added new predefined mapping "abssum", which returns the sum of all absolute values
2011-06-08 14:07:15 +00:00
Christoph Kords
2cbfb69235
user defined mapping didn't work because of misspelled variable in "mapIncremental"
2011-06-08 13:56:21 +00:00
Franz Roters
7aed307bfc
removed obsolet option --frame
...
renamed texture component frame to margin
2011-06-08 06:47:23 +00:00
Philip Eisenlohr
8921f29dce
merged imaging, Mentat, and spectral versions of generating a patch of grains from a reconstructed boundary file into one script.
2011-06-07 19:15:34 +00:00
Philip Eisenlohr
9370d9a049
added 'spectral_geomCheck' to symlink table
2011-06-06 15:29:14 +00:00
Philip Eisenlohr
9f5c9142e5
generate ParaView mesh from spectral geometry (*.geom) description file to check for correct grain assignment
2011-06-01 08:44:14 +00:00
Philip Eisenlohr
4a2078e965
produces two-column data of step | iteration at which convergence was reached (or aborted). Source file is the redirected STDOUT of DAMASK_spectral
2011-05-31 12:31:35 +00:00
Franz Roters
ac3a2ee4e1
alll grain have the same phase now
...
corrected small bug when Image library is not available
2011-05-28 09:48:39 +00:00
Philip Eisenlohr
5e6de13962
removed useless grain selection option (--grain)
...
escaped MPIE\n.... in $ID$
fixed problem when writing output files into subdirectories
2011-05-26 09:44:10 +00:00
Philip Eisenlohr
96a4d83b9b
fixed bug in user mapping function.
...
corrected examples and added incremental mapping explanation to usage hint.
2011-05-26 09:41:53 +00:00
Nan Jia
3ae8b0f732
dropped grain index from output header (did not work anyhow)
...
introduced string escape for the likes of MPIE\n.jia to prevent newline literal
2011-05-24 17:23:22 +00:00
Nan Jia
73b1dbc5f7
corrected printing bug
2011-05-23 15:11:01 +00:00
Philip Eisenlohr
6daa8b710b
shortened output header to contain only one description line that includes the command line switches passed to postResults
2011-05-23 07:13:28 +00:00
Philip Eisenlohr
2a8dc1bff1
Fixed a bug introduced in the last revision. Datatype keywords (SCALARS, VECTORS, ...) were not written in plural form into VTK file, thus had not been recognized by ParaView.
2011-05-22 14:01:18 +00:00
Philip Eisenlohr
8879e03a60
better reporting and fixed a bug when requesting non-existing data
2011-05-21 21:43:40 +00:00
Philip Eisenlohr
25e3c4baf8
nicer STDOUTput and can now properly deal with resolutions of 1
2011-05-13 16:53:27 +00:00
Philip Eisenlohr
4658190951
now reports command line switches used in generating output files
2011-05-12 09:53:44 +00:00
Philip Eisenlohr
25bf6bf7dd
reports command line switches used in generating output files
2011-05-12 08:25:34 +00:00
Philip Eisenlohr
0a5e151699
extension to make content clear
2011-05-11 17:10:12 +00:00
Christoph Kords
1928fa816c
output now contains both node and ip number
...
relation between node and ip numbering is given in new function ipIDs
2011-05-06 10:00:27 +00:00
Christoph Kords
56b2b3e572
* quick fix in order to make it work for elements of type 57 (quadratic with reduced integration)
...
* length for results of type "elemental tensor" is exactly 7
2011-05-05 09:16:29 +00:00
Philip Eisenlohr
2fa4a344b9
added sloppy option to circumvent increment range check. that is useful to reach the last inc in former FFT sim results, which have a wrong inc count in their header
2011-05-02 16:10:18 +00:00
Philip Eisenlohr
97185fb30b
removed debug printing...
2011-04-14 14:03:06 +00:00
Philip Eisenlohr
f598e3b6ed
corrected mixup of Fortran (1,2,3,...) indexing to Python (0,1,2,...) style.
...
fixed erroneous array indexing in neighborhood calculation.
2011-04-14 10:11:23 +00:00
Philip Eisenlohr
2a04bfdbba
fixed error concerning mixed-up index starts (0 vs 1)
...
"illegal" mapping functions are not checked anymore, i.e., if you want to average Euler angles you get it..!
sorting is now "natural", i.e., separating or sorting for "x,y,z" returns x varying fast and z slow. "--sort" overrides "--separate" in terms of output sorting (as expected...)
2011-04-13 16:31:44 +00:00
Philip Eisenlohr
482be626e0
major recoding.
...
now with tiny memory footprint and better guessing of remaining time.
2011-04-12 17:46:35 +00:00
Nan Jia
e4cbdc5743
now also works for 2D quadratic triangular element type 125
2011-04-06 13:11:25 +00:00
Philip Eisenlohr
a989aa979e
corrected increment offsetting for spectral file type. should now be consistent with new (0+N) mpie_spectral output scheme
2011-04-06 10:00:19 +00:00
Philip Eisenlohr
fffff202b0
2D mesh option now also alters corresponding job option
2011-04-04 15:47:09 +00:00
Philip Eisenlohr
73accf79b6
added option for 2D mesh (3D extrusion step is skipped)
2011-04-04 12:12:01 +00:00
Philip Eisenlohr
a546f8dbd2
changed wording of input queries to (hopefully) clearer statements
2011-03-30 15:48:18 +00:00
Franz Roters
8467c91dab
moved setup scripts back to subdirs where they are needed
2011-03-22 15:42:53 +00:00
Philip Eisenlohr
6ac2b4cf88
deleted useless storage of data resulting in partial speed-up.
...
large datasets (>1 mio elements) cannot be processed at the moment---investigation required, why each element eats about 20kB of memory?
2011-03-11 16:32:01 +00:00
Philip Eisenlohr
1f0569230b
new installation/setup dir to hold all top-level make_*-scripts
2011-03-11 09:20:37 +00:00
Philip Eisenlohr
621c1198a4
Marc/Mentat related things are only executed for filetype marc. this has been too lax before, causing trouble.
...
filetype is now lowercased right from the start, keeping effort low downstream...
2011-03-10 09:45:57 +00:00
Christoph Kords
6b63d488cb
need py_post, not py_mentat
2011-02-28 10:00:08 +00:00
Philip Eisenlohr
9312aed545
set executable bit
2011-02-27 21:51:56 +00:00
Martin Diehl
8cae4d609a
some polishing for single precision version.
...
Now only prec and mpie_spectral are needed in different versions
2011-02-25 12:41:46 +00:00
Martin Diehl
cd5407b08b
removed all math functions only for double precision by the more flexible counterpart, e.g. "dsqrt --> sqrt", "dsin --> sin". Should not cause any harm, as long as "implicit none" is used.
...
Now it is possible to compile a single precision spectral solver/crystal plasticity by replacing mesh.f90 and prec.f90 with mesh_single.f90 and prec_single.f90.
For the spectral method, just call "make precision=single" instead of "make". Use "make clean" evertime you switch precision
2011-02-25 09:25:53 +00:00
Martin Diehl
f525c02ded
added single precision libraries for FFTW
...
First try of implement single precision crystal plasticity, not working yet.
polishing text about geometry construction.
polishing postResults, still having problems concerning machines without MSC installation
2011-02-24 18:39:57 +00:00
Martin Diehl
3c944e79fa
did some things Philip told me to do (postResults for spectral files is now working without MSC installation)
2011-02-22 16:18:47 +00:00
Philip Eisenlohr
003b0def46
fixed a stupido error
2011-02-22 16:06:24 +00:00
Martin Diehl
333445be8b
changed meshing routine from python to fortran (f2py)
2011-02-22 16:00:22 +00:00
Philip Eisenlohr
2dc3b35725
no need anymore for msc python interface when dealing with spectralOut files
2011-02-22 15:57:27 +00:00
Martin Diehl
8a5e28d5a6
now using fft reconstruction in 3Dvisualize, linear python code for reconstruction is removed
2011-02-21 21:03:21 +00:00
Martin Diehl
c399a06c97
tried to implement an inverse reconstruction, meaning to calculate an average deformation gradient from the 8 cornes of a node in reference and current configuration. Not working yet.
...
polishing, mainly in fft reconstruction.
added fftw library file and fortran file for type specification
added folder references with literature for visualization/geometry reconstruction
2011-02-21 16:30:18 +00:00
Philip Eisenlohr
34336bc659
fixed bug when no argument was supplied
2011-02-18 09:02:29 +00:00
Martin Diehl
438bf95105
added ft-based reconstruction of deformed configuration to postprocessingMath.f90 and postprocessingMath.pyf
...
also added function to calculate average of tensor
some polishing in mpie_spectral.f90, added sanity check to see im resolution is power of 2
2011-02-14 17:21:31 +00:00
Philip Eisenlohr
874d5067c7
switches drawing of servo links temporarily off to speed up processing.
2011-02-11 11:29:58 +00:00
Martin Diehl
3d7fad6ba9
mpie_spectral.f90: changed fourier transormation, now using the advanced interface to do the tranformation both ways with just one call. now also using the same variable for pk-stress in both domains and the change of deformation gradient in both domains.
...
postprocessing: renamed name of python/f2py modul from "reconstruct" to "postprocessingMath", added some numerical operations to use for postprocessing.
2011-02-09 17:47:28 +00:00
Philip Eisenlohr
65ae7de42b
fixed bug for missing file name
2011-02-09 09:18:21 +00:00
Martin Diehl
7a7ca1aab7
mpie_spectral and mpie_interface: changed workingdir from pathToLoadFile to pathToGeomFile
...
mpie_spectral and numerics: added switch to prevent pre calculation of gamma_hat. slower, but saves memory
3Dvisualize: started to add support for gmsh (not fully working yet)
reconstruct: new version of f2py/Fortran subroutines for output of results from spectral method
2011-02-07 14:35:42 +00:00
Philip Eisenlohr
6511b4b5a2
added possibility to select predefined colorscheme from config file
2011-02-04 09:36:26 +00:00
Philip Eisenlohr
05350d573e
fixed a bug in new --sort
...
--separation option now keeps data point location as intact as meaningful after applying averaging
2011-02-01 18:32:20 +00:00
Martin Diehl
669893b397
binary \n will not longer cause problems
2011-02-01 18:25:40 +00:00
Philip Eisenlohr
14d3d0ba99
less output but can now handle 'n/a' in data files without crashing
2011-02-01 16:43:00 +00:00
Philip Eisenlohr
ebf201e89c
sorry---wrong file version uploaded before.
...
now correct: added "--sort" option extending the existing sorting according due to "--separation". This is, for instance, useful for separating /elementhomogeneous/ results by element and later listing the results along x,y,z...
slight improvement in file-error reporting
2011-02-01 13:24:19 +00:00
Philip Eisenlohr
958c51fc26
added "--sort" option extending the existing sorting according due to "--separation". This is, for instance, useful for separating /elementhomogeneous/ results by element and later listing the results along x,y,z...
2011-02-01 13:13:05 +00:00
Philip Eisenlohr
d6edb64929
produce VTK visualizations from postResults files
2011-02-01 10:48:44 +00:00
Martin Diehl
fec2c14a4e
removed hard-coded tolerances from mpie_spectral and put them to numerics/IO
...
removed storage of full cauchy stres field from mpie_spectral.f90, only average is stored now
added cauchy stress and von mises equivalent calculation to spectral post.
2011-01-31 17:07:42 +00:00
Philip Eisenlohr
0cf1404db0
changed from element 117 (hexahedral with reduced integration) to element 7 (hexahedral with full integration). one-IP elements give trouble in the ping-pong scheme by being frequently/always outdated. this is likely connected to their finite element technology such that even high stiffness values do not prevent the solver from altering displacements in subsequent cycles. remedy is to go for full integration combined with /elementhomogeneous/ phase...
2011-01-27 14:32:29 +00:00
Philip Eisenlohr
f84ac44f9a
now compiles Fortran sources on the fly
2011-01-26 15:17:03 +00:00
Martin Diehl
17b8205e3f
reconstruction of geometry is now working. It is directly implemented in python (file spectral_post.py).
...
reconstruction in fortran is not working (file reconstruct.f90) due to some problems with f2py
2011-01-26 12:56:52 +00:00
Philip Eisenlohr
38409ebc71
included both new voronoi_xxx scripts
2011-01-24 16:21:49 +00:00
Philip Eisenlohr
ee7a8ad52a
general speed up
...
spectral format records physical coordinates
tessellation now based on phys coords instead of discretization.
2011-01-24 16:21:17 +00:00