Commit Graph

22 Commits

Author SHA1 Message Date
Jukka Aho fceb06416e Make code 0.6 compatible (#128)
* running v0.6 conversion code proposed by @ovainola in #108.
* change travis so that build is done using 0.6
* documentation is build from 0.6
* fix most of deprecation warnings
* fix test to pass 0.6
2017-07-20 20:46:57 +03:00
Andreas Dörfler 35e60b9983 Add Pyr5 elements, including med support and tests 2017-05-28 00:45:19 +02:00
Jukka Aho 1c67f1c1f8 Add postprocessing features (#100)
* refactored code for solvers.

* Added elementary tests for least-squares fitting of strain and stress fields

* A more realistic postprocess + Xdmf writing test

* removed debug keyword argument from test

* Rewrite update_xdmf!

New function to update Xdmf file no longer takes Solver object but
xdmf, problem, time and fields to write, for example

julia> update_xdmf!(xdmf, problem, 0.0, ["displacement", "temperature"])

All problems are written separately and put together into one
SpatialCollection, allowing to have more structured Xdmf and making
it easier to write complicated field configurations. Support for Xdmf
API 3.0 added.

* Support for Tensor6 field writing

* moved update_xdmf! to io.jl

* Removed some empty files

* Not use old Postprocessor, obsolete code.

* Not use old XDMF (obsolete code). Fixed test.

* removed some postprocessing to pass test, maybe we should drop abaqus.jl from code as obsolete

* add function get_temporal_collection back, it's used by update_xdmf of modal solver

* postprocess of boundary problems also

* added test for contact pressure. dl+quad test output was written in wrong file, fixed.

* postprocess for contact pressure

* contact pressure postprocess

* with boundary problems always store also the primary unknown field

* Change "reaction force" -> "lambda"

* testing postprocess of reaction force also

* sign convention
2017-03-21 08:36:18 +02:00
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 77d0b28f7e fixed function call for ideal_plasticity! to get correct arguments. 2017-01-09 13:36:08 +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 be5a1bc8de added wedge15 element + integration rules 2016-11-30 16:18:57 +02:00
Jukka Aho 50187466f4 fixed deprecation warnings for 0.5 2016-11-13 13:24:08 +02:00
Olli Väinölä e384824f49 Ideal plasticity converged, both 2D and 3D 2016-10-28 15:46:04 +03:00
Olli a7bdc6e5b4 fixed 3d, since there is no dev field anymore 2016-10-09 14:51:06 +03:00
Olli c4756e90df added parameters to ip & element fields 2016-10-09 13:52:21 +03:00
Olli f156a5e79e 3d formulation still not converging 2016-10-04 08:27:54 +03:00
Olli d82ea7cba9 Added 3D formulation, no convergence yet 2016-10-03 08:47:20 +03:00
Olli b78dee32d6 Changed functions forms 2016-10-02 18:43:34 +03:00
Olli 9749778420 initial dev for ideal plastic material 2016-10-02 17:34:05 +03:00
Jukka Aho 45f605bfc7 new style dict field, xdmf improvements 2016-08-04 13:15:19 +03:00
Jukka Aho 8f49b4141c postprocessing utility 2016-07-14 12:43:41 +03:00
Jukka Aho 1344d3b95c analytical tests, hollow sphere and radial displacement + longitudinal vibration of rod (modal analysis) 2016-07-10 23:35:17 +03:00
Jukka Aho a75aaecc97 julia v0.5 compatibility. test -> testing. new elements tri7 and wedge6. abaqus inp reading. more integration rules. 2016-07-10 04:26:21 +03:00
Jukka Aho 65e11d917f fixed a lot of deprectionwarning issues with 0.5 2016-07-04 03:29:24 +03:00
Jukka Aho 0d8caadbdf all tests pass now 2016-07-03 21:16:03 +03:00
Jukka Aho 5f5a0205a4 renamed files to have some sort of structure 2016-07-03 05:19:37 +03:00