Commit Graph

26 Commits

Author SHA1 Message Date
Jukka Aho ca7e2904cf Fix tests
* Fix deprecation warnings from tests
* Refactor tests so that ´@testset` is usually called in master file
  `runtests.jl`, not inside test file. Later on we can convert tests
  to examples.
* Syntax of tests now follow more closely syntax used currently in
  JuliaFEM. We have had earlier studies with different kind of syntaxes,
  now we have kind of explicit way to do things.
2018-09-06 13:34:26 +03:00
Jukka Aho 79170fcf23 Use package HeatTransfer.jl for heat problems (#194)
Heat transfer analysis is moved to its own package where the development continues. Two small modifications are needed for test files:

- Instead of `problem.properties.formulation`, we have two separate problems, `PlaneHeat` for two-dimensional problems and `Heat` for three-dimensional problems.
- Unnecessary prefixing of field names is changed. For example, now we simply have only "thermal conductivity" and not prefixed "temperature thermal conductivity".
2018-05-03 15:37:37 +03:00
Jukka Aho 23204ee15b Replace some rarely used functions (#188)
- `empty!(problem)` -> `empty!(problem.assembly)`
- `get_gdofs(element, ndim)` -> `get_gdofs(problem, element)`
2018-02-08 14:47:44 +07:00
Jukka Aho 70dda739f9 use FEMBase v0.1.x (#185)
Lots of stuff moved from JuliaFEM.jl to FEMBase.jl.
2018-01-19 21:01:33 +07:00
Tony Kelman 4038c2f0ce Use @__DIR__ instead of Pkg.dir
this allows installing and loading the package from elsewhere
2017-08-05 12:02:00 +03:00
Jukka Aho e46c0a1ad4 Use FEMQuad.jl to calculate quadrature rules for elements (#134) 2017-07-23 18:42:04 +03: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 1bd1ec9fa9 postprocessing utility 2016-07-14 12:43:41 +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 22d5516eff more tests. fixed performace bug in creating elements from mesh 2016-07-07 18:04:09 +03:00
Jukka Aho 6417b76f8c 2d finite sliding autodiff version i think it works now 2016-07-04 21:47:49 +03:00
Jukka Aho 4c45618330 fixed a lot of deprectionwarning issues with 0.5 2016-07-04 03:29:24 +03:00
Jukka Aho d02d9c804d lot of tests 2016-07-03 05:00:01 +03:00
Jukka Aho 9f4eface6c heat problem 2016-07-01 02:55:56 +03:00
Jukka Aho 851b1e75e3 better heat example 2016-06-09 23:17:57 +03:00
Jukka Aho fb402a7338 fixed heat assembly + test. add several values to element at once by using update!(element, "field", 0 => 1.0, 1 => 2.0, ..., N => NN) 2016-06-08 23:42:36 +03:00
Jukka Aho d960ec5824 3d mortar assembly tests + fixes detecting unique with tol. 2015-12-10 23:00:05 +02:00
Jukka Aho 71df566bf9 separated to submodules 2015-11-30 23:00:21 +02:00
Jukka Aho 458caa4757 substructuring, fixed tests, possibility to save to integration points 2015-11-30 16:04:13 +02:00
Jukka Aho ef667e8f34 removed Equation type from code 2015-11-27 10:10:00 +02:00
Jukka Aho 25ce20b2fb issue #67 2015-11-21 18:23:41 +02:00
Jukka Aho 9e9bceecff 2d mortar 2015-11-18 01:19:04 +02:00
Jukka Aho 95bee76438 rewrite assembly, see #69. a lot of tests probably fail but the most important ones pass 2015-11-12 21:54:46 +02:00
Jukka Aho 3cac7d9b83 data structures, new testing concept 2015-11-01 18:44:50 +02:00
Jukka Aho cd1023cf08 data structures iteration #3 2015-10-30 12:40:56 +02:00
Jukka Aho c28d21b4a1 added tests 2015-10-28 04:29:14 +02:00