Commit Graph

25 Commits

Author SHA1 Message Date
Jukka Aho 6e036878c8 Use global timer to measure performance
This makes syntax a little bit easier. Also, measure more accurately performance
of modal solver under investigation.
2017-08-19 13:30:01 +03:00
Jukka Aho d42232dae9 Add new method to set properties for problem
```
update!(body.properties, "a" => "b", "c" => "d")
```

Usage example is shown in
`test_elasticity_2d_linear_with_surface_load.jl`.
2017-08-05 14:42:13 +03:00
Tony Kelman dcd24e8e01 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 64250962ad Use TimerOUtputs.jl to measure time and memory performance
- Added TimerOutputs.jl to REQUIRE file
- JuliaFEM has now TimerOutput handle `to` and function `print_statistics()` to get summary of time and memory usage
- TimerOutputs is used in LinearSolver at the moment and tested in file `test_elasticity_2d_linear_with_surface_load.jl`
2017-04-11 10:39:18 +03: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 a8ff9f50f7 v0.5 fixes 2016-11-15 22:01:00 +02:00
Jukka Aho 50187466f4 fixed deprecation warnings for 0.5 2016-11-13 13:24:08 +02:00
Jukka Aho c79b4d5514 updated contact codes 2016-10-01 13:37:15 +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 7bbfa08f86 postprocessing 2016-07-13 08:07:08 +03:00
Jukka Aho 16c0a925ba improved postprocessing capabilities; use dataframes to show results 2016-07-13 06:40:34 +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 6993828927 code refactoring 2016-06-27 16:11:33 +03:00
Jukka Aho 6d3e33c3ff modal solver + tie contact works now. dirichlet boundary and mpcs are eliminated properly before solution to get reduced system 2016-06-22 01:39:28 +03:00
Jukka Aho 8bd32cbeca fixed a lot of tests 2016-06-19 20:01:37 +03:00
Jukka Aho ca26626e48 changed creating elements + preprocess aster med file more general for other inputs too 2016-06-18 12:53:01 +03:00
Jukka Aho 84bb370cea first version of modal analysis for natural frequencies 2016-06-17 02:10:17 +03:00
Jukka Aho b000f41557 integration points 2016-05-25 22:33:47 +03:00
Jukka Aho 4a561f4bf3 tests. dirichlet boundary condition + volume load fails for tetras for some reason 2016-05-25 02:44:04 +03:00
Jukka Aho f7a0fd23c8 elasticity tests 2016-05-24 08:01:41 +03:00
Jukka Aho 53d640f477 some tests pass now 2016-05-22 02:34:38 +03:00
Jukka Aho ac21938550 playing with an idea, should we have separate file for every test to make development easier...? 2016-02-13 01:15:02 +02:00