Commit Graph

21 Commits

Author SHA1 Message Date
Andreas Dörfler d50f5fadf0 Add Pyr5 elements, including med support and tests 2017-05-28 00:45:19 +02:00
Jukka Aho b3f0531746 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 0ca7efd631 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 ebf9162903 fixed function call for ideal_plasticity! to get correct arguments. 2017-01-09 13:36:08 +02:00
ovainola 762acf5e10 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 a4671f1ebd added wedge15 element + integration rules 2016-11-30 16:18:57 +02:00
Jukka Aho 95200a81e1 fixed deprecation warnings for 0.5 2016-11-13 13:24:08 +02:00
Olli Väinölä c3bc708f01 Ideal plasticity converged, both 2D and 3D 2016-10-28 15:46:04 +03:00
Olli 739c0cedc8 fixed 3d, since there is no dev field anymore 2016-10-09 14:51:06 +03:00
Olli 35a2ac28ec added parameters to ip & element fields 2016-10-09 13:52:21 +03:00
Olli e0ca5811db 3d formulation still not converging 2016-10-04 08:27:54 +03:00
Olli 662eaf2638 Added 3D formulation, no convergence yet 2016-10-03 08:47:20 +03:00
Olli 206db3a2b3 Changed functions forms 2016-10-02 18:43:34 +03:00
Olli d055875e94 initial dev for ideal plastic material 2016-10-02 17:34:05 +03:00
Jukka Aho ea65cb94be new style dict field, xdmf improvements 2016-08-04 13:15:19 +03:00
Jukka Aho 1bd1ec9fa9 postprocessing utility 2016-07-14 12:43:41 +03:00
Jukka Aho fb510e29df analytical tests, hollow sphere and radial displacement + longitudinal vibration of rod (modal analysis) 2016-07-10 23:35:17 +03:00
Jukka Aho c935725d3a 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 4c45618330 fixed a lot of deprectionwarning issues with 0.5 2016-07-04 03:29:24 +03:00
Jukka Aho 757ba2b3d9 all tests pass now 2016-07-03 21:16:03 +03:00
Jukka Aho eec6db657d renamed files to have some sort of structure 2016-07-03 05:19:37 +03:00