448 Commits

Author SHA1 Message Date
Jukka Aho c307c1482c Testing/code coverage (#83)
Change the code coverage to green. 

* removed duplicate code

* Removed unused code

* removed unmaintained code

* DCTI + DVTI refactored

* discrete fields refactored and tested

* fields are now tested quite well.

* Removed obsolete code not used anywhere

* Element descriptions to common dictionary

* size in global const dictionary also

* Added coverage to sparse tools and removed couple unused functions

* get nonzero rows from SparseMatrixCSC

* bugfix: extending element basis now working and tested

* Removed two unused functions from elements.jl

* removed useless function

* Useless conversion

* remove elasticity assembly using ForwardDiff because it's not used anywhere'

* Added basic testing for NURBS. Fixed bug in NSolid interpolation.

* removed unused functions

* Removed some debug stuff

* renamed file

* removed field assembly posthook, i think not good idea at all

* test for nnz(K) == 0 and automatic determination of dofs

* Testing that solver is throwing error if having problems with boundary assembly

* Removed some unused options. Refactoring.

* Moved solver non-related code to elements.jl

* Removed custom exception (no need)

* unneeded postprocess code

* More tests for NURBS elements.

* Removed unfinished .mail parser

* proper use of Logging package

* also read results

* renamed test file

* create_surface_elements accepts surface name in String now

* bugfix: remove zero rows from constraint matrix after manually removing dofs from some boundary assemblies.

* New test, displacement 3d patch test

* skip displacement field in surface element splitting if not defined

* test element splitting and linear surface elements, fails.

* Bugfix: Xdmf, not XDMF

* removed nonworking tests, requires bugfix

* abaqus_read_results is not working -> bug
2017-01-30 12:28:33 +02:00
Jukka Aho 6fafad63a4 Fix FactCheck dependencies (issue #80)
- Remove some obsolete tests related to Field.
- Fixed a test checking is header information found from source files
  (was using FactCheck and commented out).
- Add header information for all files (was missing from
  materials_plasticity.jl)
2017-01-27 10:15:52 +02:00
Jukka Aho 143ba4d119 Removed unused functions from postprocess.jl
These functions are not used in anywhere, maybe unnecessary.
2017-01-21 15:07:55 +02:00
Jukka Aho 9b4c1a4c5e Fixed multiple dispatch issues on io.jl
Related to issue #74, io.jl is no more modifying functionality of
LightXML
2017-01-21 12:32:53 +02:00
Jukka Aho 64ba9e742c removed unnecessary function 2017-01-10 08:11:30 +02:00
Jukka Aho 77d0b28f7e fixed function call for ideal_plasticity! to get correct arguments. 2017-01-09 13:36:08 +02:00
Jukka Aho c1358328e6 commented out non-working elemen tprint 2017-01-09 13:07:59 +02:00
Jukka Aho 66285b69ac umfpack solver: add diagonal terms to empty rows 2017-01-09 12:44:40 +02:00
Jukka Aho 0c4a85d1a5 fixed DCTV initialization 2017-01-09 12:43:22 +02:00
Jukka Aho 5cf93b0d51 boundary condition returns always 1-dimensional array for elements, not 0-dimensional 2017-01-09 12:21:55 +02:00
Jukka Aho d840e56575 attempt to fix boundary condition 2017-01-09 11:26:04 +02:00
Jukka Aho 9683e60c6d refactoring; works now in julia 0.5 2017-01-09 11:06:10 +02:00
Jukka Aho 7dd897b162 conversion rule from SparseVector to SparseVectorCOO 2017-01-09 11:01:18 +02:00
Jukka Aho dcac3a9b53 add extra information when overconstrained situation 2017-01-09 09:32:02 +02:00
Jukka Aho 9a382d9f7d possibility to manually remove dofs from problems by adding dof number to problem.assembly.removed_dofs vector 2017-01-09 08:56:31 +02:00
ovainola 31d0771dd3 Removing vonmises.jl includes (#74)
* Removing vonmises.jl includes

Removing all vonmises.jl includes, since file is no longer
to be found in the repository. Vonmises.jl had definitions
for elasticplastic material models, but those definitions
have been moved to problems_elasticity.jl/problems_elasticplastic.jl
files.

fix #73
2017-01-06 12:26:29 +02:00
Jukka Aho ce1dd0be1f removed solver_utils.jl include 2017-01-06 10:27:39 +02:00
Jukka Aho fce5565ff1 nonworking automatic overconstraint solver code removed 2017-01-06 10:07:58 +02:00
Jukka Aho 7297de0b26 formatting 2017-01-06 07:00:38 +02:00
Jukka Aho 7464646a7a improved docstring 2017-01-06 06:57:49 +02:00
Jukka Aho fc63ff1692 removed unmaintained code to wait for better days 2017-01-06 06:57:34 +02:00
Jukka Aho a1c6c8753a io tests 2017-01-05 11:29:29 +02:00
Jukka Aho 46e3a70b39 fixed deprecation warning in aster_read_nodes 2017-01-05 09:41:34 +02:00
Jukka Aho 6fda394e4f fixed virtual element initialize 2017-01-05 09:29:16 +02:00
Jukka Aho 998c1c2441 fixed deprecationwarning in get_node_sets 2017-01-05 09:25:12 +02:00
Jukka Aho d2d641a69d surface se type is UNKNOWN if not specified. 2017-01-05 09:23:16 +02:00
Jukka Aho 169262ced3 fixed deprecationwarning 2017-01-05 09:17:25 +02:00
Jukka Aho 070c64ff89 fixed 2d finite sliding contact for julia 0.5 2017-01-05 09:09:11 +02:00
Jukka Aho 858740cec7 SparseVectorCOO 2017-01-05 09:08:32 +02:00
Jukka Aho 1a23969ba7 removed obsolete code 2017-01-05 07:20:17 +02:00
Jukka Aho 868db9ee2e removed null space related code as obsolete 2017-01-05 07:14:54 +02:00
TeroFrondelius 630013e901 Cleaning unneeded requirements: BaseTestNext 2017-01-03 10:43:44 +02:00
Tero Frondelius 15032c2fab Update materials_plasticity.jl
Removing unused requirement NLSolve
2017-01-02 20:21:59 +02:00
Jukka Aho e1d0ad98a0 possibility to solve positive semi-definite problems. 2016-12-22 10:06:18 +02:00
Jukka Aho a276a3a456 removed unnecesasry debug prints 2016-12-22 10:05:08 +02:00
Jukka Aho 9f6f65d8dc typo in error message 2016-12-22 10:03:36 +02:00
Jukka Aho 9fe45fa752 option to split quadratic surface elements to linear ones 2016-12-15 12:42:18 +02:00
Jukka Aho e4cc2a6a03 possibility to slice DVTI field, i.e. f[1:3] works now 2016-12-15 12:41:22 +02:00
Jukka Aho d24b1e178a a new strategy to deal with quadratic elements, change order of surface elements to linear 2016-12-15 09:18:15 +02:00
Jukka Aho bd97a2b039 if number of shape functions differs from length of field, use length of shape functions (or length of partial derivatives of them) in interpolation, this makes it possible to have longer fields, helping defining elements with variable number of shape functions. 2016-12-15 09:17:31 +02:00
Jukka Aho 21045179be actually remove result files when overwrite=true 2016-12-15 09:15:54 +02:00
Jukka Aho d0af034633 removed somewhat unnecessary element constructor 2016-12-15 09:15:26 +02:00
Jukka Aho 870cbadb50 fixed bug with zero area polygon clip 2016-12-14 18:12:25 +02:00
Jukka Aho 306edbcacd added test for zero eigenvalue model (no dirichlet boundaries defined) 2016-12-12 07:40:18 +02:00
Jukka Aho 1d3962a944 call update_xdmf! only if Xdmf object is attached to solver. 2016-12-12 07:28:52 +02:00
Jukka Aho be820b8916 refactor modal solver. eigenvalues are stored in squared complex mode internally to solver.properties.eigvals. 2016-12-08 15:27:19 +02:00
Jukka Aho e3f260bd2d added overwrite=true flag to Xdmf constructor + error if results already exists 2016-12-08 15:24:37 +02:00
Jukka Aho 3500536f28 fixed bug related to writing eigenmodes to Xdmf, where all data items pointed to last eigenmode data 2016-12-08 14:18:59 +02:00
Jukka Aho b3a14c99f4 more integration rules for wedge elements 2016-12-01 11:14:13 +02:00
Jukka Aho afb0f28bfc a bit different way to handle trivial D on lufact 2016-11-30 16:19:22 +02:00