Commit Graph

3904 Commits

Author SHA1 Message Date
Martin Diehl 7daef03e65 new multiphyics notation 2021-07-03 22:50:14 +02:00
Martin Diehl 8acecc1306 preparing standard multiphysics notation 2021-07-03 22:41:34 +02:00
Martin Diehl f69f61dcb7 avoid duplication 2021-07-03 22:30:06 +02:00
Martin Diehl a0ffbc5f17 little polishing
- same names as for grid
- 'local' naming misleading here (probably for x_local etc also not a
  good choice)
- following names in PETSc notation (https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DMPLEX/DMPlexGetPointLocal.html)
- using allocation with bounds to simplify access
- NOTE: The nodal coordinates are not what damask.Result expects except
  for simple, 1 IP elements!
2021-07-02 23:49:06 +02:00
Martin Diehl 1516ded71b Merge remote-tracking branch 'origin/development' into write_displacements 2021-07-02 23:07:51 +02:00
Martin Diehl 7745640393 consistently use prefix as modifier 2021-06-28 23:41:50 +02:00
Martin Diehl f2a359bea1 relaxing tolerances
allowed for simplified cases (no temperature dependency/friction)
2021-06-28 23:28:41 +02:00
Martin Diehl 5973ef5b13 Merge remote-tracking branch 'origin/nonlocal-examples' into preparing-alpha4 2021-06-28 23:22:16 +02:00
Martin Diehl 6651656903 isoductile is not working 2021-06-28 23:13:56 +02:00
Martin Diehl b1f4c06f9c takeover from Christophs thesis 2021-06-26 13:25:13 +02:00
Abisheik Panneerselvam b322ed3e03 feauture to write nodal displacements to hdf5 file added 2021-06-25 20:46:21 +02:00
Martin Diehl ab0e65c6bc systematic names and sensible defaults 2021-06-25 15:12:54 +02:00
Martin Diehl 06e76c1a81 consistent default absolute tolerances
better use conservative values, users can easily relax if needed
2021-06-25 10:13:03 +02:00
Martin Diehl a9f5dcfbf1 avoid allocate based on random value in sum_N_sl 2021-06-24 23:35:14 +02:00
Martin Diehl 106fec92d7 C is the common symbol 2021-06-24 19:14:19 +02:00
Martin Diehl 8f5a370388 bugfix: update compatibility for nonlocal
intent(out) resulted in setting nonlocal = .false.
now using plasticState%nonlocal consistently
2021-06-24 18:59:52 +02:00
Martin Diehl f42157c076 consistent names 2021-06-24 16:31:07 +02:00
Martin Diehl f834a1534e simplified 2021-06-24 16:07:54 +02:00
Martin Diehl 12ca7428cf cleaning 2021-06-24 15:25:43 +02:00
Martin Diehl ae9a48c124 polishing 2021-06-24 15:23:24 +02:00
Martin Diehl b4265149c8 simplified 2021-06-24 15:08:31 +02:00
Martin Diehl 95c9434a21 bugfix: enable local simulations 2021-06-24 15:01:32 +02:00
Martin Diehl 8c06e7a4ff generic and extendable multiphysics notation 2021-06-24 14:49:09 +02:00
Martin Diehl c49ba5419b sign-transfer done right 2021-06-21 23:26:17 +02:00
Martin Diehl 4b82cb4c14 extra parameter needed
Hardening parameters determine rate of hardening in phenopowerlaw.
This flexibility is also needed in J2.
2021-06-21 23:22:51 +02:00
Martin Diehl 27431bd60c avoid division by M gives better agreement with phenopowerlaw 2021-06-21 23:11:09 +02:00
Martin Diehl ea4867770f avoid error due to limited floating point accurary 2021-06-21 16:15:40 +02:00
Martin Diehl 38e4802867 3.15.1 works (3.15.0 has a bug) 2021-06-21 06:53:17 +02:00
Martin Diehl 0a22916aba not a double subscript 2021-06-19 15:13:27 +02:00
Abisheik Panneerselvam 8bba021fe1 Merge remote-tracking branch 'origin/development' into mesh_test 2021-06-18 19:23:20 +02:00
Abisheik Panneerselvam 36bf68b336 Out of plane coordinates for 2D elements are updated with dummy values 2021-06-17 20:26:37 +02:00
Abisheik Panneerselvam b9d4217d86 permutationStar111 for 4th order integration is updataed 2021-06-16 14:58:26 +02:00
Martin Diehl 1bfbd30ae2 polishing 2021-06-15 19:53:05 +02:00
Martin Diehl 218e6a79a8 VTK image data is the appropriate type, not VTK rectilinear grid
FFTs require constant spacing in all three directions, this is
guaranteed by the vtkImageData but not by vtkRectilinearGrid
2021-06-15 19:02:26 +02:00
Martin Diehl e10701b32a easier to understand 2021-06-14 15:21:10 +02:00
Sharan Roongta 5f01b076d2 This change makes the test work for GNU too
Probably something was uninitialized and GNU was accessing unallocated memory
2021-06-14 14:58:14 +02:00
Sharan Roongta c64f9eb805 hardcoding '3' is an issue for 2d simulations 2021-06-11 20:42:31 +02:00
Martin Diehl 3705f1d3a2 F,P, ... in loadcase are 2nd order tensors 2021-06-03 08:21:16 +02:00
Sharan Roongta 6cd0d79c61 old merge not reflected 2021-06-02 14:08:12 +02:00
Sharan Roongta 39c2506b8d Merge branch 'Fortran-cleaning' into 'development'
Separating functionality

See merge request damask/DAMASK!396
2021-06-02 09:24:47 +00:00
Martin Diehl fada9a7f6c more meaningful order 2021-06-01 17:05:13 +02:00
Martin Diehl 5d0fc4fca3 more meaningful order
and intent(out) variables for read are at the front
2021-06-01 16:46:24 +02:00
Martin Diehl 569b1fc563 not needed (duplicated code) 2021-06-01 11:09:02 +02:00
Martin Diehl 6f9e521cdb Merge branch 'HDFgeometryupdate' into 'development'
HDF geometry update

See merge request damask/DAMASK!395
2021-06-01 08:01:53 +00:00
Martin Diehl 431416b5ba Separating functionality
lattice should become a module with static data and functions
2021-06-01 07:56:55 +02:00
Martin Diehl 91015fd07c write out undeformed configuration 2021-05-31 19:41:22 +02:00
Abisheik Panneerselvam 650fbd7509 Initial nodal and ip coordinates added to the HDF5 output file 2021-05-31 15:01:42 +02:00
Abisheik Panneerselvam 718880f177 Initial nodal and ip coordinates added to the HDF5 output file 2021-05-31 14:09:11 +02:00
Sharan Roongta d1a6607782 Merge branch 'load2Dtensor' into 'development'
support for 2D tensor in load case

See merge request damask/DAMASK!391
2021-05-29 13:21:47 +00:00
Sharan Roongta 77a0d5999b not needed 2021-05-28 19:24:38 +02:00
Sharan Roongta 4669c289c7 Merge remote-tracking branch 'origin/development' into Fortran-cleaning 2021-05-28 15:00:06 +02:00
Martin Diehl 0240bec5b3 consistent reporting 2021-05-27 08:25:48 +02:00
Martin Diehl bdb4029fb5 tI symmetry of 2nd order tensor is equivalent to hP 2021-05-26 22:49:53 +02:00
Martin Diehl 16128c257a Merge branch 'development' into fix-thermalexpansion 2021-05-26 22:49:39 +02:00
Martin Diehl 95f7f3c6ed Merge remote-tracking branch 'origin/development' into simplify-cmake 2021-05-26 19:11:20 +02:00
Martin Diehl adb1e51e24 support for 2D tensor in load case
currently optional, but should become mandatory after a transition
period
2021-05-26 08:04:14 +02:00
Martin Diehl 019159d328 WIP 2021-05-26 06:31:11 +02:00
Martin Diehl 24e862105c ensuring correct lattice symmetries 2021-05-25 06:05:51 +02:00
Martin Diehl 299c47fd6f prepare for varying C66
- check structure centrally
- pure function with guaranteed return/no stop
2021-05-24 20:33:50 +02:00
Martin Diehl f525999f52 updated tests 2021-05-24 20:12:34 +02:00
Martin Diehl f44edb31fc polishing 2021-05-24 17:20:33 +02:00
Martin Diehl fe281f4592 only Hooke as model
and this model should take care of the elastic constants, not lattice
2021-05-24 17:19:38 +02:00
Martin Diehl 0d0bc188eb potentially less error prone (and easier to read) 2021-05-24 17:17:27 +02:00
Martin Diehl 40698740aa fixed symmetry handling
- ort not tested, no examples, no documentation => removed
- aP is the opposite of isotropic => removed

isostropic materials can be easily specified as cI or cF, using C_44 =
1/2 * (C_11 - C_12). Acceptable extra effort for special use case

orthorhombic can be easily implemented if needed, but needs test,
documentation, and examples
2021-05-24 15:45:25 +02:00
Martin Diehl ab070a3c13 data for thermal expansion 2021-05-24 10:31:56 +02:00
Martin Diehl b0f4ea45a4 Merge branch 'simplify-cmake' into fix-thermalexpansion 2021-05-23 22:07:58 +02:00
Martin Diehl 4d889e0b1b Merge remote-tracking branch 'origin/development' into Fortran-cleaning 2021-05-23 21:24:53 +02:00
Martin Diehl 78799f9794 fix for openMP 2021-05-23 18:44:24 +02:00
Martin Diehl 7afb1d28cc easier to read 2021-05-23 15:04:55 +02:00
Martin Diehl 4713e0e85d new names and mappings 2021-05-23 13:14:57 +02:00
Martin Diehl 62c9761a05 Merge remote-tracking branch 'origin/development' into simplify-cmake 2021-05-23 12:31:42 +02:00
Martin Diehl c4d1969150 easier to read
and faster for multiphase materials
2021-05-23 09:15:03 +02:00
Martin Diehl 8dcf4354e1 more logical structure 2021-05-23 08:19:43 +02:00
Martin Diehl 72ab936ec3 cleaning 2021-05-23 00:12:55 +02:00
Martin Diehl af9fa9e9a1 using current naming scheme 2021-05-23 00:04:12 +02:00
Martin Diehl ee80efd705 using new mappings 2021-05-22 22:52:05 +02:00
Martin Diehl 0b80252d97 Merge remote-tracking branch 'origin/123_bccSlipSystem' into development 2021-05-22 22:40:33 +02:00
Martin Diehl d41f3a5490 consistent data structure 2021-05-22 21:53:39 +02:00
Martin Diehl 6d31f77deb natural data structure 2021-05-22 17:54:42 +02:00
Martin Diehl 212c4296cf need to loop over ip, el 2021-05-22 16:45:49 +02:00
Vitesh Shah cc9a0e4865 Merge branch 'development' into fix-Intel2021 2021-05-22 14:51:25 +02:00
Martin Diehl fc4bdfb374 simplified 2021-05-22 12:03:13 +02:00
Martin Diehl d2855913b5 new mappings 2021-05-22 11:48:42 +02:00
Sharan Roongta 7440cc32a0 Merge branch 'internal-restructure' into 'development'
Internal restructure

See merge request damask/DAMASK!384
2021-05-22 09:38:33 +00:00
Martin Diehl 77d1ed465e divide and test 2021-05-22 11:09:50 +02:00
Martin Diehl 00fcf069fb clearer names and reporting 2021-05-22 09:33:58 +02:00
Martin Diehl 37d511062d simplified (using new mapping) 2021-05-22 09:33:33 +02:00
Philip Eisenlohr e79c17ecbc Merge branch 'fix_typo_dislotungsten' into 'development'
fixed typo

See merge request damask/DAMASK!385
2021-05-21 20:29:21 +00:00
Martin Diehl 801e9f512b simplified state initialization
- not needed for damage (is an intial value problem, will trickle down)
- plastic initializes state, copy to state0 (centrally)
2021-05-21 22:07:55 +02:00
Martin Diehl 2aa78a710b correct capitalization 2021-05-21 22:05:09 +02:00
Martin Diehl 47e69019b6 matching name 2021-05-21 21:53:37 +02:00
Sharan Roongta fa3b077b72 Merge remote-tracking branch 'origin/development' into internal-restructure 2021-05-21 12:32:59 +02:00
Martin Diehl 3ee22cfc59 circumvent bug in Intel compiler 2021.2
explicit "result" looks anyways better
thanks to Jonathan from University of Alabama for reporting
2021-05-21 07:15:46 +02:00
f.basile 10c6070873 added {123} slips systems of bcc 2021-05-20 18:45:15 +02:00
Eureka Pai Kulyadi 798a0ef73f fixed typo 2021-05-20 11:58:42 -04:00
Sharan Roongta 125e8fb9e2 Merge remote-tracking branch 'origin/development' into internal-restructure 2021-05-20 10:41:59 +02:00
Sharan Roongta 106f687e97 not needed 2021-05-19 22:43:21 +02:00
Sharan Roongta c24d41ac4d Merge remote-tracking branch 'origin/development' into internal-restructure 2021-05-19 22:26:38 +02:00
Martin Diehl 67352d9ec7 location depends on PETSC_ARCH (if set) 2021-05-19 19:22:06 +02:00
Martin Diehl 49d51e196c no hope for GPI
flang will hopefully work in the near future
2021-05-19 13:42:14 +02:00