Commit Graph

39 Commits

Author SHA1 Message Date
Jukka Aho 36a726f662 Change coords field type from Point to Tuple
Change to Tuple, Array is allocating memory.
2017-08-14 17:10:02 +03:00
Jukka Aho fffb0071a0 Calculate shape functions using FEMBasis.jl
A lot of code is moved to FEMBasis.jl regarding
calculating basis / shape functions of finite elements.

* add FEMBasis to REQUIRE
* remove obsolete files
* remove obsolete test files
* make integration point iterable
* loosen type definitions
* get length of element rather from basis than connectivity
* calculate midpoint of reference element
* wrong input argument to eval_basis! fixed
2017-08-05 12:03:05 +03:00
Jukka Aho 95d4eacbad Use FEMQuad.jl to calculate quadrature rules for elements (#134) 2017-07-23 18:42:04 +03:00
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
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 50187466f4 fixed deprecation warnings for 0.5 2016-11-13 13:24:08 +02: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 b000f41557 integration points 2016-05-25 22:33:47 +03:00
Jukka Aho 283621f4b1 rewrite elements 2016-05-22 00:22:17 +03:00
Jukka Aho e3ffe6188d frictionless 2d contact 2015-12-23 17:39:53 +02:00
Jukka Aho 4b07da194a improved performance 2015-12-04 07:27:40 +02:00
Jukka Aho 92f52e34e7 substructuring, fixed tests, possibility to save to integration points 2015-11-30 16:04:13 +02:00
Jukka Aho 333bf5abb9 issue #67 2015-11-21 18:23:41 +02:00
Jukka Aho 9b8842f5f3 updated developers guide + tests 2015-11-11 00:54:19 +02:00
Jukka Aho 3469d48e69 new tutorial about material models. 2015-11-05 10:20:00 +02:00
Jukka Aho e8128e3cd0 data structures ready 2015-11-03 12:14:19 +02:00
Jukka Aho 75e6ed8fcb defining basis. still needs some rethinking... 2015-11-02 21:25:02 +02:00
Jukka Aho b985ebf50c data structures, new testing concept 2015-11-01 18:44:50 +02:00
Jukka Aho 42d81bc86d data structures iteration #3 2015-10-30 12:40:56 +02:00
Jukka Aho 8bfff34e19 added tests 2015-10-28 04:29:14 +02:00
Jukka Aho cde4ed5d96 tutorial notebook working again 2015-10-27 06:37:58 +02:00
Jukka Aho 016e3cd8bf - problem can be now represented using potential energy or residual
force vector, autodiff takes care of linearization

- elasticity equations are now solved using e.g. principle of minimum
  potential energy. syntax is quite good, see notebook.

- updated how to interpolate fields, by introducing function spaces.
  syntax is now good. still have to figure out how to do time derivatives

- etc. etc. tutorial is broken at the moment, i took of get_lhs and
  get_rhs because they didn't really work.
2015-10-26 05:40:41 +02:00
Jukka Aho 86e25d5c4e . 2015-10-22 21:11:14 +03:00
Jukka Aho f5f25a82c3 elasticity equations 2015-10-22 07:00:13 +03:00
Jukka Aho d1913ac8ea elasticity solver design restarted. 2015-10-21 07:24:19 +03:00
Jukka Aho ede43e19f9 - Updated FieldSet + developer guide
- Verification of heat problem
2015-10-20 15:54:47 +03:00
Jukka Aho e0d974b3a9 data types defined 2015-10-09 01:44:08 +03:00
Jukka Aho 4bd158b864 time properly implemented to .. everything. 2015-09-29 00:07:56 +03:00
Jukka Aho 84da16d2c0 broken; need element definition rewriting.. 2015-09-28 13:22:12 +03:00
Jukka Aho aa75a532b9 introduced new way of handling fields, now including time. 2015-09-28 05:11:56 +03:00
Jukka Aho d3032b4362 developing juliafem instructions. 2015-08-31 20:15:28 +03:00
Jukka Aho 2fb1587436 Gets better all the time. 2015-08-27 08:18:20 +03:00
Jukka Aho 8369e508b5 Introduced the concept of element and equation. 2015-08-26 01:39:04 +03:00
Jukka Aho 18394347dd updatet files. 2015-08-25 21:18:11 +03:00
Jukka Aho fc549184b4 Updated concept of elements. 2015-08-22 20:55:24 +03:00
Jukka Aho 1fa7f259fd updated. 2015-08-19 18:50:43 +03:00
Jukka Aho e75845322e interpolation & integration 2015-08-16 22:22:24 +03:00
Jukka Aho c37fa790c7 interpolation routines to separate file. 2015-08-16 13:33:02 +03:00