Commit Graph

558 Commits

Author SHA1 Message Date
Martin Diehl d68a3d1869 added LF=UNIX to a bunch of files 2012-02-22 13:30:00 +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
Martin Diehl 8d5dcc97bd added geomCrop to crop a box out of a geom file 2011-12-20 13:33:16 +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 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
Claudio Zambaldi 06176873e4 after a somewhat lengthy discussion with Philip about usability and developability and general file-naming philosophy we think that we found a compromise on the "to-dot-py or not-to-dot-py" issue:
symlinks in DAMASK_ROOT/bin do not carry the extension, but the source files do.
Hope that results in the maximum number of happy developers and users.
2011-11-09 15:37:45 +00:00
Philip Eisenlohr 9e3d7d7d6c made $DAMASK_ROOT definition optional 2011-11-03 13:51:54 +00:00
Philip Eisenlohr aba7937845 now uses msc_tools method to figure out Mentat path 2011-11-03 13:16:00 +00:00
Philip Eisenlohr db12869c16 shifted back to main folder. small polish. 2011-11-03 12:18:07 +00:00
Philip Eisenlohr b847db969a changed "texture" to more correct "structure" 2011-11-03 12:07:41 +00:00
Martin Diehl 680ba9082f removed deadlock when calling IO_warning(33)
polished IO_error and IO_warning
checked OpenMP critical statements in DAMASK_spectral.f90
corrected writing of headed in DAMASK_spectral.f90
2011-11-02 14:38:42 +00:00
Philip Eisenlohr 96223ddf39 corrected for-loop index bug. two-dim output is now optional. 2011-10-14 23:43:45 +00:00
Philip Eisenlohr 708b4d2eca seed-file header format corrected, setup script now contains minimalSurface and vicinityOffset. removed .exe from compile output 2011-10-14 22:39:58 +00:00
Philip Eisenlohr ba0488638b alter a spectral geom file such that any voxel that sees within a given vicinity a different microstructure than itself gets offset by a given value. this allows to identify/isolate grain boundary regions... 2011-10-11 17:35:53 +00:00
Philip Eisenlohr 98c9bf9c15 generates spectral geom file for (currently) gyroid or diamond minimal surfaces. Inside and outside of a given threshold value are distinguished by microstructure 1 and 2. 2011-10-11 17:30:55 +00:00
Philip Eisenlohr ffc6442098 can now deal with arbitrarily long lines for microstructure definition. useful for 2D ASCII representation of grain morphology in the geom file.
additional internal code reworking.
2011-10-11 17:25:22 +00:00
Martin Diehl d235de1aa5 added two small (quick and dirty) tools to convert data from EBSD to input files for spectral method, put them together with patchFromReconstructedBoundaries into new folder. 2011-09-13 15:46:44 +00:00
Philip Eisenlohr 48ac3956ce added '\n' escaping of ID string in VTK header 2011-09-05 13:38:10 +00:00
Philip Eisenlohr f458f026db forgot to include string module, too 2011-09-05 08:54:29 +00:00
Philip Eisenlohr 0ac5109c94 forgot to include string module 2011-09-05 08:50:36 +00:00
Martin Diehl 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 483234047c renamed to be consistent with other file names 2011-08-19 07:53:35 +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 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
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 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
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
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 9f5c9142e5 generate ParaView mesh from spectral geometry (*.geom) description file to check for correct grain assignment 2011-06-01 08:44:14 +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 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
Philip Eisenlohr 874d5067c7 switches drawing of servo links temporarily off to speed up processing. 2011-02-11 11:29:58 +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 ee7a8ad52a general speed up
spectral format records physical coordinates
tessellation now based on phys coords instead of discretization.
2011-01-24 16:21:17 +00:00
Philip Eisenlohr e721f2b654 sight restructuring of algorithm -- same functionality 2011-01-20 19:22:22 +00:00
Martin Diehl 52f06009be rewrote voronoi tessellation. the VE generation is now divided into two parts:
-generation of random positions (in a 1x1x1 parameter space) and random angels
-actual voronoi tessellation
for the generation of the positions, a resolution can be specified to ensure that the tessellation works at that resolution. The tessellation will always work on larger resolutions but not necessarily at smaller ones.
2011-01-20 17:21:38 +00:00
Philip Eisenlohr 5990d94ca3 added description and $ID$ 2011-01-19 15:14:05 +00:00
Martin Diehl 322cbd2597 changed tools for voronoi tessellation to match new specification (file extension and resolution). Also renamed the files, because the space characters cause trouble
improved reconstruct.f90 and spectral_post.py, both files work now under linux

added make_reconstruct.py, small shell script for using f2py
2011-01-07 14:37:05 +00:00
Martin Diehl 9d32bc7ae6 added output of complete mesh to voronoi fast.f90
first version of post processing for spectral method: spectral_post.py
2010-11-29 10:08:53 +00:00
Martin Diehl e80e055c75 added three small programs useful for spectral method (fortran sourececode)
voronoi fast.f90 and voronoi small memory.f90 are two variants to do a voronoi tessellation and write the result to a mesh file that can be interpreted by mpie_spectral.f90. Difference is the memory management resulting in one faster and one memory saving version. voronoi fast.f90 has also the ability to write out a file for Ricardo Lebensohns spectral code.
colormap.f90 is a simple code that can be used to generate colormaps for gmsh.
2010-10-31 16:06:10 +00:00
Philip Eisenlohr 74743c0856 little typo fixed... 2010-10-26 18:26:04 +00:00
Philip Eisenlohr 487466dd88 scripts are now aware of symbolic links to themselves... 2010-10-26 16:26:55 +00:00
Philip Eisenlohr 5be6604fd6 included definitions of "material" and "geometry" properties after mesh generation... 2010-10-26 13:45:23 +00:00
Philip Eisenlohr d965f14f90 generate hexahedral mesh in Mentat based on a data file of Ricardo Lebensohn's "txfft" format (phi1, Phi, phi2, x, y, z, grainId, phaseId)
Only grainId is used, physical dimension and subdivisions need to be provided on command line.
improvement possible by parsing x, y, z columns to get those directly.
2010-10-25 17:57:57 +00:00
Philip Eisenlohr 3a4743f1d3 fixed bug in grain naming scheme. occurred for gaps in consecutive numberings... 2010-09-28 16:56:49 +00:00
Philip Eisenlohr 23746e7e78 chopped line beginnings
introduced check for PIL, if this fails, no image will be output
2010-09-23 07:59:52 +00:00
Philip Eisenlohr 4a31b175da 1) introduced default colors
2) complaints are more verbose
2010-09-06 16:51:11 +00:00
Philip Eisenlohr 3b671faae7 added some flexibility (and bug-fixing) to the pre/post processing. the file 'MSCpath' contains the LOCAL path to the MSC installation (/msc in our case) 2010-08-17 18:21:22 +00:00
Philip Eisenlohr 94efd57663 started to put Marc/Mentat related scripts to corresponding post/pre processing folders. We should move development from my Code folder to here (sorry, lost history then...) 2010-08-16 20:47:27 +00:00