Martin Diehl
fdd3bd1262
polishing
2018-06-11 00:16:48 +02:00
Martin Diehl
e0a6b79b14
trying to have descriptive names
2018-06-10 23:38:16 +02:00
Martin Diehl
a1fdbd1d5e
most IO related variables not needed any more in material
2018-06-10 18:38:31 +02:00
Martin Diehl
91d9c11612
material.config is read in centrally
...
moving data from material to config_material. use statements need to
change. All aspects of reading from file will be removed from the
individual modules
2018-06-10 18:01:52 +02:00
Martin Diehl
f8ae0ec925
list does tokenizing automatically
2018-06-10 11:07:17 +02:00
Martin Diehl
08a4da01e0
IO_stringPos failed when parsing trimmed string
2018-06-10 11:03:34 +02:00
Martin Diehl
73e915c35a
wrong dependencies cause failure during compilation
2018-06-10 07:05:25 +02:00
Martin Diehl
cb0cb29393
reading in done by one function
2018-06-09 13:48:37 +02:00
Martin Diehl
11ab56e5d1
migrating reading in of material.config to own module
2018-06-08 21:01:58 +02:00
Jaeyong Jung
81dffef21c
Merge branch 'development' into 23_BasticPETSc_2_PETSc
2018-06-04 17:03:13 +02:00
Vitesh Shah
c903880d19
using on unitialized error caused segfault in some cases
2018-06-04 12:38:28 +02:00
Martin Diehl
ab4f5413c6
line should have the correct return value
2018-06-03 14:27:43 +02:00
Martin Diehl
b055416026
also parsing texture only once
2018-06-03 10:44:20 +02:00
Martin Diehl
e7d27a3991
function to return plain strings (in case they have a different syntax)
2018-06-03 10:43:43 +02:00
Martin Diehl
5b5f10aecf
parsing homogenization-related data
2018-06-03 00:36:34 +02:00
Martin Diehl
1e5106f601
return empty string array if nothing found (plasticity detect changes failed)
2018-06-02 23:10:38 +02:00
Martin Diehl
5ec98f65b4
wrong intialization, homogenization test failed
2018-06-02 23:10:08 +02:00
Martin Diehl
e93e380ad3
output tag was empty:
2018-06-02 21:00:47 +02:00
Martin Diehl
3fec2c960d
missing initialization caused problems
2018-06-02 21:00:26 +02:00
Martin Diehl
db32bd1fd6
initializing lattice after materials allows to use the pre-parsed material.config
2018-06-02 20:59:30 +02:00
Martin Diehl
142ce51c9c
homogenization and crystallite use new structure
...
math_transpose33 has no advantage over transpose intrinsic
2018-06-02 19:28:08 +02:00
Martin Diehl
4fd2338d35
added parsing of homogenization and workaround for gfortran
2018-06-02 19:27:03 +02:00
Martin Diehl
c2d30aec43
gfortran has issues with zero-sized string arrays:
2018-06-02 19:24:53 +02:00
Martin Diehl
fdf8833c36
debug output not needed any more
2018-06-02 13:31:21 +02:00
Martin Diehl
bc03b8670a
parsing microstructure, phase, and crystallite in one loop
2018-06-02 13:23:42 +02:00
Martin Diehl
69aee3ccdd
read phase part in material.f90 only once and operate then on data in main memory
2018-06-02 09:39:05 +02:00
Martin Diehl
bf43156112
search for global tags can stop once first section is found
2018-06-02 06:32:16 +02:00
Martin Diehl
4b5401e10c
Merge branch 'release_bugfix' into 'development'
...
Improve error reports in CMake script
See merge request damask/DAMASK!26
2018-06-01 23:34:28 +02:00
Martin Diehl
8e0a3ff389
arrays have no variable length, need to check for empty string
2018-06-01 23:14:43 +02:00
Martin Diehl
70166657a9
FILEUNIT still needed
2018-06-01 21:25:08 +02:00
Martin Diehl
cd9fb1c544
adjusting variable names in isotropic to DAMASK paper
2018-06-01 21:23:25 +02:00
Martin Diehl
64270f6c95
no need to store trailing whitespace
2018-06-01 21:22:19 +02:00
Martin Diehl
f843254233
Noutput not needed, using size ensures consistency
2018-06-01 20:54:40 +02:00
Martin Diehl
c8cec5a121
some more functions to parse material.config from memory
2018-06-01 14:14:53 +02:00
Martin Diehl
cfefcaebb8
simplifying
2018-06-01 11:33:13 +02:00
Martin Diehl
48851c00f6
sizePostResults not needed, transpose33 has no advantage over transpose:
2018-06-01 11:24:00 +02:00
Martin Diehl
5de4b47438
plastic isotropic parses material.config from main memory, not from file
2018-06-01 10:24:42 +02:00
Martin Diehl
052a0af2ac
storing phase part of material.config per section in chained list
2018-06-01 10:14:46 +02:00
Martin Diehl
8867322713
data structure to store material.config
...
chained list data structure to store string and stringPos.
Performance-wise not 100% optimal as searching requires to parse all elements in the list.
However, secions are typically rather small (usually Order 1 to 3) and parsing from file is much slower.
Also, only the actual length of the array is stored (thats wy I preferred the list over a 2D array)
2018-06-01 10:14:12 +02:00
Martin Diehl
277cc59069
Merge branch 'development' into 20-NewStyleDislotwin
2018-05-31 17:07:38 +02:00
Sharan Roongta
1a5ed20708
outputID is part of param(instance) array, reading in of output made consistent with kinematic hardeing law/outputtag not needed
2018-05-29 18:29:38 +02:00
Martin Diehl
60e30e4a64
Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development
2018-05-28 07:03:56 +02:00
Martin Diehl
e661a42a4c
citation block should be separated by empty lines
2018-05-28 07:01:50 +02:00
Martin Diehl
715f2a59d0
Merge branch 'development' into release_bugfix
2018-05-27 14:10:38 +02:00
Martin Diehl
87a16b775e
function to change working directory
2018-05-27 14:08:23 +02:00
Martin Diehl
39e2e8a305
len is length of string, here size is required
2018-05-27 14:07:34 +02:00
Martin Diehl
e0e97abda4
citation does not match
2018-05-27 08:16:05 +02:00
Martin Diehl
60cdffacd6
integer kind need to match for array constructor
...
hence, a=[a,b] requires a and b of the same kind
2018-05-27 08:09:32 +02:00
Martin Diehl
466cb57d7c
Merge branch 'development' into release_bugfix
2018-05-26 16:37:39 +02:00
Martin Diehl
6891a48c82
wrong label
2018-05-26 12:35:02 +02:00
Martin Diehl
896a502099
Merge branch 'development' of magit0.mpie.de:damask/DAMASK into development
2018-05-26 12:09:09 +02:00
Martin Diehl
0172987115
forgot to update default
2018-05-26 12:08:28 +02:00
Martin Diehl
bcaab1c068
restored working behavior
2018-05-26 12:07:13 +02:00
Martin Diehl
2fbe60b949
anticipate (proper) change in 23_BasticPETSc_2_PETSc as PRIVATE repository is ahead
2018-05-26 09:54:50 +02:00
Martin Diehl
c7c39922f0
pointer assignment was done twice
...
pointer is re-assigned automatically, but I found it confusing.
Also using automatic left hand side reallocation to simplify handling of outputID
2018-05-26 09:44:14 +02:00
Martin Diehl
8184d51a99
following style of more complex constitutive laws
...
offset for different states needs to be computed, so it makes sense to define global and local aliases together.
no need to introduce variables for state0 and aTolstate, they are only used once
2018-05-26 09:31:36 +02:00
Eureka Pai
c09a7fd157
replaced param(instance) with p => pointer, corrected errors
2018-05-24 18:31:32 -04:00
Eureka Pai
982c0fb90a
replaced param(instance) with p => pointer, corrected error
2018-05-24 18:24:58 -04:00
Eureka Pai
f97800658f
replaced param(instance) with p => pointer
2018-05-24 17:56:09 -04:00
Sharan Roongta
7321a36770
plastic_dislotwin_outputID can be renamed to outputID, default case for output added
2018-05-24 17:10:21 +02:00
Jaeyong Jung
c79a0d39c0
Merge branch 'development' into 23_BasticPETSc_2_PETSc
2018-05-24 15:53:00 +02:00
Martin Diehl
5bf6ede661
polishing
2018-05-24 07:57:10 +02:00
Martin Diehl
1bad719abe
undefined variables can be removed, style as in other plastic modules
2018-05-24 07:51:43 +02:00
Martin Diehl
f0309ac4dd
Bessel functions not used
2018-05-24 07:51:16 +02:00
Martin Diehl
1c75a2e9cd
using syntax with better error handling
2018-05-24 07:13:12 +02:00
Martin Diehl
175bab4073
1e-6 seems to be a more reasoable absolute tolerance for accumulated shear
2018-05-24 00:25:29 +02:00
Martin Diehl
0ee34d608c
fixing all appaerances
2018-05-24 00:06:03 +02:00
Mingxuan Lin
bf7efad250
Fix errors in CMake script
2018-05-23 21:46:03 +02:00
Sharan Roongta
9fc334afd1
syntax errors detected by new GNU compiler
2018-05-22 19:59:05 +02:00
Sharan Roongta
989701aebd
Merge branch 'development' into 20-NewStyleDislotwin
2018-05-22 19:34:28 +02:00
Martin Diehl
30fe87a88a
post-release cleaning
2018-05-22 19:16:12 +02:00
Philip Eisenlohr
324df2eeba
Merge branch 'PETSc3.9' into 'development'
...
PETSc 3.9 working
See merge request damask/DAMASK!25
2018-05-19 17:39:26 +02:00
Martin Diehl
5187ee25b6
destroying unused object causes problem with PETSc 3.9
...
not clear, why destroying at the end of the program is anyway needed, so removed it
2018-05-19 11:20:04 +02:00
Philip Eisenlohr
d79d366355
Merge branch '20_modify_RGC' into 'development'
...
20 modify rgc
See merge request damask/DAMASK!24
2018-05-18 00:15:47 +02:00
Sharan Roongta
e107a5e004
exception in function math_expand in module math.f90
2018-05-17 19:46:38 +02:00
Sharan Roongta
8d2c0ec857
stateinit and atolState not needed
2018-05-17 19:32:41 +02:00
Arka Lahiri
c45d9f9ee9
Deleted performance profiling code
2018-05-17 16:33:35 +02:00
Jaeyong Jung
6800e779cb
second try!
2018-05-17 16:27:36 +02:00
Martin Diehl
537bb8df48
employing use statements (almost no external functions anymore)
...
adopted function calls to newer PETSc versions
2018-05-17 12:04:21 +02:00
Martin Diehl
8193e27e8d
line break looked strange
2018-05-16 18:34:49 +02:00
Martin Diehl
31311d63db
gfortran 8 was complaining, asigned pointer is not contiguous
2018-05-16 00:09:33 +02:00
Jaeyong Jung
a65e4bdad4
first modification. compile succeeded
2018-05-14 15:45:12 +02:00
Arka Lahiri
4d393518ac
did only compile with BUILD_TYPE=DEBUG
2018-05-09 16:54:06 +02:00
Arka Lahiri
90e9b98584
performance profiling should not be part of the source code
2018-05-09 16:35:09 +02:00
Sharan Roongta
12a0125121
Error caused by Ntslip,Ntwin and Ntrans removed by reverting it back to original form - a 2 D array and not in the blackbox(param)
2018-05-08 16:26:49 +02:00
Martin Diehl
6b27460a3b
Merge branch 'development' into 12-fixOrientationSampling
2018-05-05 19:03:51 +02:00
Martin Diehl
9072179c61
Merge branch 'development' into 3-adding-plastic-constitutive-law-with-kinematic-hardening
2018-05-04 16:07:15 +02:00
Jaeyong Jung
3f71288e0a
Now, homogenization_RGC is fixed!
2018-05-04 14:09:49 +02:00
Zhuowen Zhao
76e6fa24fb
added check to the "Plasticity_DetectChanges" test and removed commented-out parts for kinematic hardening
2018-05-03 22:39:49 -04:00
Sharan Roongta
7c3b63ba7d
Two statements that are repeated while reading the file - in "the output case"-is placed properly
...
plastic_dislotwin_Noutput(instance) = plastic_dislotwin_Noutput(instance) + 1_pInt ,
& plastic_dislotwin_output(plastic_dislotwin_Noutput(instance),instance) = IO_lc(IO_stringValue(line,chunkPos,2_pInt))
2018-05-03 18:05:59 +02:00
Sharan Roongta
5ba11a796d
Simplified storage of internal constitutive parameters
2018-05-03 17:25:56 +02:00
Sharan Roongta
803519c740
simplified reading in and initialization of internal constitutive parameters
2018-05-03 13:43:19 +02:00
Sharan Roongta
03552b50b7
Prefix not needed for private variables
2018-05-03 11:08:51 +02:00
Sharan Roongta
a24940e7c7
Simplified storage of parameters for CAtomicVolume, D0 and Qsd
2018-05-02 19:30:27 +02:00
Jaeyong Jung
4c42510ad6
compiles without AL solver
2018-04-26 14:11:45 +02:00
Zhuowen Zhao
65f17f4166
merge development into kinematic-hardening branch
2018-04-25 14:14:17 -04:00
Zhuowen Zhao
7bc736aad7
killed modification not relevant to kinematic hardening
2018-04-25 13:26:38 -04:00
Yi-Chin Yang
35a4fdc358
"et al." instead of "et. al" abbreviates "et alii", meaning "and others"
2018-04-22 10:07:49 +02:00
Yi-Chin Yang
e90861956d
"et al." instead of "et. al" abbreviates "et alii", meaning "and others"
2018-04-22 09:32:59 +02:00
Sharan Roongta
488ff6bb2d
Rectifying a typo
2018-04-18 15:30:54 +02:00
Sharan Roongta
71d23274e7
A citation on twinning was missing
2018-04-18 15:22:19 +02:00
Sharan Roongta
451e9f245a
Removing some typos in citations
2018-04-18 15:01:03 +02:00
Sharan Roongta
90a1af5096
Cited HybridIA algorithm
2018-04-18 14:18:48 +02:00
Sharan Roongta
e77e0b6f20
Merge branch '17-citations-in-source-code' of magit1.mpie.de:damask/DAMASK into 17-citations-in-source-code
2018-04-17 15:54:20 +02:00
Sharan Roongta
3fca8da6aa
Citations in plastic_twin
2018-04-17 15:51:59 +02:00
Yi-Chin Yang
4f5b5d9d4a
Merge branch '17-citations-in-source-code' of magit1.mpie.de:damask/DAMASK into 17-citations-in-source-code
2018-04-17 15:42:45 +02:00
Yi-Chin Yang
b7d622c32d
No tab allowed
2018-04-17 15:39:08 +02:00
Yi-Chin Yang
258be943c7
No tab allowed
2018-04-17 15:25:27 +02:00
Yi-Chin Yang
fc3abd4f39
References for spectral solvers
2018-04-17 15:22:18 +02:00
Yi-Chin Yang
41967da684
edit
2018-04-17 15:09:12 +02:00
Yi-Chin Yang
d6d9d6e1bb
edit
2018-04-17 15:07:16 +02:00
Yi-Chin Yang
86683674c0
mod
2018-04-17 14:52:50 +02:00
Sharan Roongta
3bd09fe837
fixed typo
2018-04-17 14:43:38 +02:00
Yi-Chin Yang
afcaafa798
Reference for homogenization_RGC added
2018-04-17 08:20:41 +02:00
Yi-Chin Yang
0701b535fc
DAMASK overview reference independently of selected solver
2018-04-16 16:16:10 +02:00
Martin Diehl
ea9434432e
added reference for the tungsten model
2018-04-09 15:04:58 +02:00
Martin Diehl
8509b13f16
avoid numerical noise
2018-03-13 09:21:41 +01:00
Martin Diehl
302a5017d4
Merge branch 'development' into 12-fixOrientationSampling
2018-03-13 04:12:03 +01:00
Martin Diehl
2ceb3aeea0
not all variables were consistently renamed
2018-03-13 03:56:02 +01:00
Martin Diehl
44e5644e78
fixed random Gaussian sampling
...
sampling needs to be performed from unfiform misorientation, NOT uniformly distributed rotations
for Fiber, compute uniform tilt of Fiber axis
2018-03-13 03:36:24 +01:00
Zhuowen Zhao
361cf680a5
merged more recent development
2018-03-09 18:19:41 -05:00
Zhuowen Zhao
f26fd1d1dc
Fixed a physics issue: sense change with respect to difference between resolved stress and backstress
2018-03-09 18:01:09 -05:00
Martin Diehl
0ccce7facc
fixed missing angle initialization, simplified and commented
2018-03-08 17:33:54 +01:00
Philip Eisenlohr
88c46d500e
Merge branch '13-higher-order-thermal-expansion' into 'development'
...
Resolve "higher-order thermal expansion"
Closes #13
See merge request damask/DAMASK!19
2018-02-28 21:08:01 +01:00
Martin Diehl
e716441787
indexing now follows description
2018-02-26 20:18:38 +01:00
Martin Diehl
cd4115bada
now using the correct rotation formula
2018-02-26 11:14:02 +01:00
Martin Diehl
e1c4c7e6e8
wrong indices in matrix rotation
...
fixing this resolves issue 14: "Poor performance after load case rotation"
now inline with http://www.continuummechanics.org/rotationmatrix.html
C'_mnop = R_mi R_nj R_ok R_pl C_ijkl
2018-02-25 21:01:23 +01:00
Philip Eisenlohr
bc998846ab
thermal expansion coefficient alpha = a + b(T-T_0) + c(T-T_0)^2
2018-02-25 14:14:03 -05:00
Martin Diehl
c2ced6a274
not needed anymore
2018-02-25 14:45:35 +01:00
Martin Diehl
d5d71d2321
math_transpose33 has no benefit here
2018-02-25 13:42:02 +01:00
Martin Diehl
42500eabff
simplified (math_transpose33 does not provide any benefit here)
2018-02-25 12:48:58 +01:00
Martin Diehl
eedec74a6a
correct debug reporting
2018-02-25 12:31:23 +01:00
Martin Diehl
86768c38d9
source code should not be executable
2018-02-25 10:16:27 +01:00
Martin Diehl
4f4fa5daf8
simplified
2018-02-22 14:54:49 +01:00
Martin Diehl
e51de7ffd8
explicitly select halton bases in call
2018-02-22 14:16:36 +01:00
Martin Diehl
c6c66bb653
using proper Gauss sampling also for the fiber components
...
function most probably still contains a bu
2018-02-22 00:42:06 +01:00
Martin Diehl
5c908e44ec
correct scaling for FWHM
...
FWHM was wrong by a factor of approx 2.
Analytic expression can be found in https://en.wikipedia.org/wiki/Gaussian_function
2018-02-22 00:10:38 +01:00
Martin Diehl
9173d12d14
correct algorithm for sampling of uniform orientations and fix for Halton series
...
Halton series gives strange results for large prime numbers, now always starting with 2 for first dimension, 3 for second etc.
Consecutive Halton numbers for rejection sampling seem to cause problems (i.e. introduce patterns).
Algorithm for uniformly distributed orientations with FWHM specified is taken from https://math.stackexchange.com/questions/131336 .
WIP: Gauss filtering is currently not implemented!
2018-02-21 20:32:52 +01:00
Martin Diehl
ae27660e86
simplified halto procedure (still needs testing)
2018-02-21 18:47:39 +01:00
Martin Diehl
98df2d1427
better description and names
2018-02-21 16:49:29 +01:00
Martin Diehl
a52f54a9a0
fixed typo in prime number list and extended to 1600 values
...
source https://people.sc.fsu.edu/~jburkardt/f_src/halton/halton.f90
2018-02-21 14:37:02 +01:00
Martin Diehl
6b1c1af609
no early return required here
2018-02-21 08:55:33 +01:00
Martin Diehl
051f3592ea
Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development
2018-02-21 07:53:00 +01:00
Philip Eisenlohr
ad1179117d
modified meaning of restart increment to "restart from" instead of "restart at"
2018-02-16 16:41:07 -05:00
Philip Eisenlohr
0a763ff116
included changes to correct cutback issue of spectral solver
2018-02-16 09:36:18 -05:00
Martin Diehl
9b1e72e7bc
more sensible cutoff for scatter
2018-02-15 11:26:19 +01:00
Martin Diehl
230ffe8f35
Bessel functions for Gaussian scatter
2018-02-14 13:03:50 +01:00
Martin Diehl
c544fa1b34
typo, cause wrong finalization sequence
2018-02-12 15:03:35 +01:00
Martin Diehl
fe07a34c69
source code should not be executable
2018-02-12 12:42:18 +01:00
Martin Diehl
4e62d7793a
more detailed comments
2018-02-12 11:46:01 +01:00