Commit Graph

741 Commits

Author SHA1 Message Date
Martin Diehl 97d2c2b353 mesh_element(1) has a size of 4
fixed sigsegv
2018-10-02 22:54:44 +02:00
Martin Diehl 384a785805 more sevice functions use
still trying
2018-10-01 23:02:31 +02:00
Martin Diehl ff2614b757 using 'service functions' from lattice
get rid of many global array on the long run
2018-10-01 22:48:14 +02:00
Martin Diehl a943940760 Merge branch 'development' into 44-column-major-access-to-interaction-matrices 2018-10-01 22:32:38 +02:00
Martin Diehl 98296a978e Merge branch 'development' into 29-rename-mesh_element-array 2018-10-01 22:29:31 +02:00
Martin Diehl 27bde05529 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' into 'development'
Resolve "Introduce Rudimentary PETSc based FEM solver"

Closes #38

See merge request damask/DAMASK!41
2018-10-01 21:10:03 +02:00
Franz Roters d5cf7d2144 Merge branch '19-NewStylePhenopowerlaw' into 'development'
Resolve "New coding style for phenopowerlaw"

See merge request damask/DAMASK!39
2018-10-01 16:08:05 +02:00
Martin Diehl 49a4202e26 not needed here 2018-09-29 10:31:45 +02:00
Martin Diehl 14509876d4 error == 0 is normal termination 2018-09-29 09:57:53 +02:00
Martin Diehl 637544509e rewind needed
the file is read twice from beginning to end
2018-09-28 10:06:21 +02:00
Martin Diehl b141252f1f doing the same things in the same way in both solvers 2018-09-28 08:06:22 +02:00
Martin Diehl d1f614991e merging good style mutually FEM <-> Spectral 2018-09-28 07:49:52 +02:00
Martin Diehl 6780217193 adopted from DAMASK_spectral 2018-09-28 07:25:32 +02:00
Martin Diehl e8f687a99c typo, Abaqus/Marc did not compile 2018-09-27 20:18:37 +02:00
Martin Diehl 822bc4dbbf Merge branch 'development' into 29-rename-mesh_element-array 2018-09-27 20:12:09 +02:00
Martin Diehl 4c057ba529 both solvers can share quit 2018-09-27 20:09:59 +02:00
Chuanlai Liu b391ad304d tensor input/output is of the form 11,12,13, 21,22,23, 31,32,33. Thus row index i is slow, while column index j is fast 2018-09-27 11:53:45 +02:00
Martin Diehl 6509775d41 cleaning
avoiding compiler warnings and confusion of the user
2018-09-27 08:23:30 +02:00
Martin Diehl ceb385ef39 calcMode not needed for spectral and FEM 2018-09-23 21:31:30 +02:00
Martin Diehl c42eb87a33 using arrays with new names 2018-09-23 20:53:35 +02:00
Martin Diehl 72b87b0a9b better name 2018-09-23 19:58:43 +02:00
Martin Diehl f701910c71 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-23 19:32:19 +02:00
Martin Diehl ebef12e446 syntax errors in declaration 2018-09-23 19:04:17 +02:00
Martin Diehl 67483487ea more descriptive names 2018-09-23 18:50:54 +02:00
Martin Diehl 854d99250c mesh_element(1,:) only used for debug output
set to -1 at the moment to indicate that it is not used.
Re-implementation should be done for MSC.Marc and Abaqus only.
2018-09-23 18:42:49 +02:00
Martin Diehl 4b14cc5560 calcmode only needed for Abaqus and MSC.Marc 2018-09-23 18:06:18 +02:00
Martin Diehl cf6d388a6b consistent order of solver-specific functionality 2018-09-23 17:57:48 +02:00
Martin Diehl 5936397ae7 introducing better names
allows further simplifications as we do not store max and per elem
values any more for number of integration points and number of cell
nodes
2018-09-23 17:37:57 +02:00
Martin Diehl 2fe2c4ca45 leaner syntax with sourced allocation 2018-09-23 17:26:13 +02:00
Martin Diehl 51390b1acf Nelems /= NcpElems only in case of Abaqus/MSC.Marc 2018-09-23 17:05:01 +02:00
Martin Diehl 5814e07021 simplified 2018-09-23 16:55:03 +02:00
Martin Diehl e3f2ad34b2 not needed 2018-09-23 16:32:13 +02:00
Martin Diehl bd60018513 not needed for spectral 2018-09-23 15:57:21 +02:00
Martin Diehl c1b8854132 only needed for commercial solvers 2018-09-23 15:31:19 +02:00
Martin Diehl 4862aca340 grouping solver specific variables for better readability 2018-09-23 15:27:51 +02:00
Martin Diehl db45b7615a drop support for heterogeneous meshes
heterogeneous meshes are neither advisable nor typically used
2018-09-23 15:24:14 +02:00
Martin Diehl 519cd840bd cleaning 2018-09-23 15:19:23 +02:00
Pratheek Shanthraj 109ed4308f change in tabulation order. should now be working correctly 2018-09-23 03:14:23 +02:00
Martin Diehl 9eb318b9bf Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-22 14:54:58 +02:00
Pratheek Shanthraj d9bdf53628 quadrature weights defined twice for some reason 2018-09-22 12:55:23 +02:00
Pratheek Shanthraj ffcadc1d86 use displacements instead of coordinates 2018-09-22 12:54:45 +02:00
Pratheek Shanthraj 4a25520828 removed debug write statements 2018-09-22 12:53:33 +02:00
Pratheek Shanthraj 6c21c60c70 corrected nbasis 2018-09-22 12:53:02 +02:00
Pratheek Shanthraj becd959913 dmda not needed 2018-09-22 12:52:29 +02:00
Pratheek Shanthraj 81ced06393 order --> degree 2018-09-22 12:51:02 +02:00
Pratheek Shanthraj 22c1436af6 working with petsc 3.10 2018-09-22 12:49:56 +02:00
Pratheek Shanthraj c9a4609290 reading in BCs correctly 2018-09-22 12:48:57 +02:00
Martin Diehl 42bc1b468a cleaning+adopting to petsc-3.10 2018-09-22 11:19:08 +02:00
Martin Diehl a95e2b8083 Merge branch 'PETSc3.10' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-22 10:36:31 +02:00
Martin Diehl f590851a78 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-22 10:33:20 +02:00
Martin Diehl 80914470cc most probably pInt and PetscInt is the same 2018-09-22 10:32:26 +02:00
Jaeyong Jung 4ddb8d843c modified DMGetDefaultGlobalSection to DMGetGlobalSection 2018-09-21 14:08:44 +02:00
Jaeyong Jung 9150844c96 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-21 10:13:27 +02:00
Martin Diehl 180105d3ce external statements will not work if interfaces exist
we're currently providing a patch for PETSc with interfaces for all
functions that we use
2018-09-21 08:25:35 +02:00
Martin Diehl ff241ae4a6 only use required includes 2018-09-21 08:19:36 +02:00
Jaeyong Jung abe5c1d825 Merge branch '38-introduce-rudimentary-PETSc-based-FEM-solver' of magit1.mpie.de:damask/DAMASK into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-20 09:57:30 +02:00
Martin Diehl b775d5084b more (temporarly) cleaning 2018-09-20 08:26:59 +02:00
Martin Diehl 1545a53ea9 ID do not exist at the moment 2018-09-20 08:00:39 +02:00
Martin Diehl cc262ae198 Merge branch 'development' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-20 07:29:19 +02:00
Martin Diehl 3e7b80a3ef debug only available if compiled in debug mode 2018-09-20 07:27:12 +02:00
Martin Diehl fc016bbc6e Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-09-20 07:16:03 +02:00
Martin Diehl 310ea62964 only print out the essential information 2018-09-20 06:58:31 +02:00
Martin Diehl fcff6b908a can be easily computed during post processing 2018-09-20 06:40:23 +02:00
Martin Diehl 901355d2ae don't use unnecessarily long names 2018-09-20 06:27:53 +02:00
Martin Diehl df0464c31b use (import) debug variables only when needed 2018-09-20 06:24:03 +02:00
Martin Diehl 6aa4dd842a define debug variables only if needed 2018-09-20 06:09:02 +02:00
Martin Diehl 1623a33b48 cleaning (mainly OMP FLUSh) 2018-09-19 21:46:26 +02:00
Martin Diehl 191ad9df09 not used 2018-09-19 20:40:35 +02:00
Martin Diehl 1bf1e13b46 some debug statements 2018-09-19 20:23:28 +02:00
Martin Diehl e7e959af47 using explicit interface from PETScDT 2018-09-19 20:06:35 +02:00
Martin Diehl 11d4c28d88 flushes not needed + further cleaning 2018-09-19 19:45:57 +02:00
Martin Diehl b84476e681 cleaning and debugging 2018-09-19 18:33:37 +02:00
Martin Diehl c313dc1675 only read access 2018-09-19 17:04:12 +02:00
Martin Diehl 0bf64645a1 should be done by the plasticity laws (for the moment) 2018-09-19 14:22:35 +02:00
Martin Diehl a8fb7d7ade not needed
but I'm under the impression that the compiler removes such things anyway
2018-09-19 14:21:10 +02:00
Martin Diehl 20f0bee459 fallback dPdF not needed
save a lot of memory
2018-09-19 06:19:40 +02:00
Martin Diehl 18db5f5652 not needed 2018-09-18 05:20:08 +02:00
Martin Diehl 82cdc551a5 MPI Communicator only needed for PETSc 3.10.
thx to Jaeyong for figuring this out
2018-09-18 05:17:48 +02:00
Martin Diehl 245676728d not needed 2018-09-17 23:28:00 +02:00
Jaeyong Jung 3beab556a2 runtime polar decompoistion error comes up 2018-09-17 15:41:58 +02:00
Martin Diehl e6fa3f3d35 correct stress in postResults 2018-09-16 22:57:50 +02:00
Martin Diehl cea2fba063 don't repeat code that can be handled centrally 2018-09-16 22:38:57 +02:00
Martin Diehl 9570fb894a correct names and no superflous conversions anymore 2018-09-16 22:31:55 +02:00
Martin Diehl 5f06a35900 Merge branch 'development' into 19-NewStylePhenopowerlaw 2018-09-16 22:03:05 +02:00
Martin Diehl b54742cfa7 [skip sc] [skip ci] PETSc 3.10 is out 2018-09-15 20:09:27 +02:00
Martin Diehl 075d2e51b2 debugging, still crashing 2018-09-15 16:19:41 +02:00
Martin Diehl 3b1817a954 cleaning, only having mech at the moment 2018-09-15 15:14:48 +02:00
Martin Diehl 934ca56811 clean exit if required files not found 2018-09-15 14:54:56 +02:00
Martin Diehl a92b945e3f does not crash anymore
xx is nc, the number of components
needs to be 3 in the current case
2018-09-15 11:40:07 +02:00
Martin Diehl 5e33900664 Merge branch 'development' into 38-introduce-rudimentary-PETSc-based-FEM-solver 2018-09-15 08:38:30 +02:00
Martin Diehl 25a38ad438 initialization broken
- need to consider case of no twin/slip active
- state0 needs to be initialized
2018-09-15 05:45:10 +02:00
Martin Diehl 9f16cefd9f renaming in accordance with the DAMASK paper 2018-09-14 11:17:14 +02:00
Martin Diehl af32b3d85b reordering for easier overview 2018-09-14 10:51:44 +02:00
Martin Diehl 3dd47eade9 just renaming, better readable... 2018-09-14 10:18:44 +02:00
Martin Diehl 07b0ddf711 polishing 2018-09-14 10:08:36 +02:00
Martin Diehl 18858301d5 using consistently i as first running index and j as second 2018-09-14 09:59:04 +02:00
Martin Diehl 55511782e8 incomplete transition/renaming
caused segmentation fault
2018-09-14 08:19:39 +02:00
Martin Diehl f98243e4ac Merge branch 'development' into 43-wrong-stress-in-dotstate-and-deltastate 2018-09-14 05:39:15 +02:00
Martin Diehl e2a66f6ddb should not differ from development 2018-09-14 05:33:39 +02:00
Martin Diehl b165e48d9f non-Schmid contribution were ignored in test
reverted, just to ensure that the results have not changed: Never
polishing and change physics at the same time
2018-09-14 05:21:05 +02:00