Commit Graph

237 Commits

Author SHA1 Message Date
Martin Diehl df5487e1a9 Re-written YAML types
Strict typing for YAML

New access pattern requires to specify the expected type, i.e. 'scalar', 'list', or 'dict'. This ensures that the node offers the expected functionality instead of polluting 'tNode' with dummy functions which throw error messages if not overwritten.

The restructuring of the code allows to hierarchically construct methods without much code duplication.

Some aspects of the error messaging system have been improved.
2022-10-25 16:09:36 +00:00
Martin Diehl b8c3d75700 [skip sc] enforce interfaces (quick fix: declare as external) 2022-06-21 22:59:01 +02:00
Martin Diehl 491e2ec0b2 avoid negative zero when not needed 2022-05-20 06:30:07 +02:00
Martin Diehl 556d9d840e specifying V_e is more natural than F_i 2022-05-19 01:15:17 +02:00
Philip Eisenlohr 4a93dbec11 more descriptive variable names 2022-04-19 13:11:40 -04:00
Martin Diehl dbf5ee84cb better readable 2022-04-14 21:21:32 +02:00
Martin Diehl b56176d670 all YAML related initialization is constant (linear in number of points) 2022-04-14 16:17:17 +02:00
Martin Diehl 563d566a3f made two loops faster
the most annoying one is still slow.
2022-04-14 06:39:19 +02:00
Martin Diehl 28eda64893 bugfix: change of behavior
fraction needed for calculation of homogenized response
2022-02-08 00:24:06 +01:00
Martin Diehl 739a4b7a26 need to store fraction for proper homogenization 2022-02-07 14:25:03 +01:00
Martin Diehl 6c032e3ce6 remove deprecated mappings
almost done with having a consistent access pattern

solver
======
grid: x,y,z; mesh: el,ip

homogenization
==============
interface to solver: ce
internal: ho,en

phase
=====
interface to homogenization: co,ce
internal: ph,en
2022-02-05 10:01:55 +01:00
Martin Diehl a243e10641 Merge remote-tracking branch 'origin/development' into Fortran-polishing 2022-02-03 09:01:33 +01:00
Martin Diehl 39aa243695 Polynomial Class 2022-01-31 14:05:15 +00:00
Martin Diehl 762f93d724 following naming convention 2022-01-29 15:30:59 +01:00
Sharan Roongta c2a822d8fd keys() function for dictionary as in Python.
Does not work for gfortran which fails with an ICE.
2022-01-20 23:45:47 +00:00
Philip Eisenlohr 4ebf14317a Merge branch 'development' into pretty-print-init 2021-11-16 12:56:38 -05:00
Philip Eisenlohr da9fdf53d2 consistent indentation and line-spacings in reporting 2021-11-15 12:35:44 -05:00
Martin Diehl 5b4b1c1933 enforce correct shape 2021-08-05 20:32:58 +02:00
Martin Diehl a98ae267a0 option to initialize F_i
start simulation with eigenstrain. Works only for moderate
eigentstrains, reaching the plastic limit is most likely an issue.
2021-07-24 18:47:45 +02:00
Martin Diehl d87b10bfe7 symbolic names 2021-07-24 15:03:26 +02:00
Martin Diehl ea4867770f avoid error due to limited floating point accurary 2021-06-21 16:15:40 +02:00
Martin Diehl 4713e0e85d new names and mappings 2021-05-23 13:14:57 +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 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 00fcf069fb clearer names and reporting 2021-05-22 09:33:58 +02:00
Sharan Roongta d83c746a17 polishing 2021-04-15 12:07:33 +02:00
Martin Diehl 248bc539cc new mappings 2021-04-13 12:40:58 +02:00
Martin Diehl 869976c7a0 new names 2021-04-06 11:38:44 +02:00
Martin Diehl 2f68c43755 new style configuration for damage 2021-03-01 06:16:16 +01:00
Sharan Roongta e249168189 modifying storing of orientations;
needed for nonlocal, and also to remove the use if ip,el at homogenization level.
ip, el should be used only for looping eventually.
2021-02-22 20:38:49 +01:00
Martin Diehl c790c82a42 separating by instance just complicates things 2021-02-13 06:59:18 +01:00
Martin Diehl 4eb2a981ca keeping variables local 2021-02-12 15:31:43 +01:00
Martin Diehl a09989fe0b homogenized damage only needed in homogenization 2021-02-12 12:35:50 +01:00
Martin Diehl 7bec3e0363 use partitioned damage 2021-02-12 11:24:04 +01:00
Martin Diehl f6be3fe0b7 no need for pointer 2021-02-12 07:58:00 +01:00
Sharan Roongta cab5a5cec7 homogenization 'none' name misleading. 2021-02-04 15:37:40 +01:00
Sharan Roongta 14ce127dc4 fraction --> v 2021-02-04 13:46:01 +01:00
Martin Diehl 26c7969837 not needed anymore 2021-01-24 17:12:34 +01:00
Martin Diehl e9a8badde8 mapping per cell 2021-01-17 14:38:12 +01:00
Martin Diehl 65bd880fdf clearerer names 2021-01-08 07:10:38 +01:00
Martin Diehl b5ec6048a1 only needed in constitutive 2020-12-23 10:11:21 +01:00
Martin Diehl 8dbc3d2d47 no special (untested) cases any more 2020-12-19 17:25:57 +01:00
Martin Diehl 3884549e19 store field variables as 1D array
first step of simplifying layout:
1) Solver translates from ip,el tuple (FEM) or cells(1),cells(2),cells(3) triple to list.
2) DAMASK iterates over all points
3) homogenization knows mapping (point,constituent) -> (instance,member)
2020-12-16 21:56:02 +01:00
Martin Diehl 710c217d8a no extra mapping for damage 2020-12-15 19:55:55 +01:00
Martin Diehl f8756ad95a simplifying
no extral handling for homogeneous temperature (the memory that was
saved was consumed by the extra mapping)
2020-12-15 19:05:01 +01:00
Martin Diehl 104fa167bd missing rename: constituent -> phase
meaningfull order
2020-12-13 19:30:34 +01:00
Martin Diehl 3ad741dbeb only used in one function 2020-12-10 00:31:58 +01:00