Commit Graph

1071 Commits

Author SHA1 Message Date
Jukka Aho d041f1fdb6 Create Project.toml file and remove REQUIRE files v0.5.1 2019-10-11 17:55:27 +03:00
Jukka Aho 627f297378 Merge pull request #240 from micampbell/master
change in old function name ucfirst to uppercasefirst,
2019-09-26 15:21:53 +03:00
Matt Campbell a10ad5af17 change in old function name ucfirst to uppercasefirst, which was preventing the beam examples from running 2019-09-25 10:15:05 -07:00
Jukka Aho 1cad74b40b Merge pull request #233 from JuliaFEM/ahojukka5/issue_232
Fix broken test
2019-09-13 17:31:31 +03:00
Jukka Aho d29927172c Update automatic document generation
It looks document generation proceduce has slightly changed.
docs/Project.toml is defining dependencies for document generation and
they are not explicitly given in `travis.yml`.
2019-09-13 17:06:56 +03:00
Jukka Aho 6b1235b375 Fix broken test
The order of the calculated eigenvalues has been changed in the newest
Julia versions. Fixed by sorting the lists before comparison. Closes
issue #232.
2019-09-13 13:23:33 +03:00
Jukka Aho e5e476d859 Update travis.yml to test with newest versions
0.7, 1.0 and nightly --> 1.2, 1.3, nightly
2019-09-13 13:23:33 +03:00
Jukka Aho 0a5c30f815 Documentation deployment fix (#230)
Similar work done in FEMQuad.jl and FEMBase.jl
2019-04-08 21:35:13 +03:00
Jukka Aho b9dcf95660 Merge pull request #226 from JuliaFEM/kc/coloring
Implement matrix coloring.
2019-04-08 18:56:11 +03:00
Jukka Aho 07d91d6f46 Merge pull request #225 from JuliaFEM/KristofferC-patch-2
Improve performance in elasticity by moving out the computation of X from the integration point loop.

Before:
```
 12.576967 seconds (37.65 M allocations: 1.852 GiB, 11.65% gc time)
```

After:
```
 11.251927 seconds (35.27 M allocations: 1.692 GiB, 11.27% gc time)
```

2 million allocations less.
2019-04-08 18:44:59 +03:00
Jukka Aho bb00b3fc64 Improve performance in elasticity (#224)
Before in a decently large assembly:
```
13.035282 seconds (37.65 M allocations: 1.852 GiB, 11.18% gc time)
```

After:
```
 10.774839 seconds (28.51 M allocations: 1.716 GiB, 6.78% gc time)
```
2019-04-08 18:42:12 +03:00
Jukka Aho 485c72bebe Update README.md (#216) 2019-04-08 18:36:47 +03:00
Jukka Aho 6ffc1876d0 Merge pull request #229 from rezarastak/master
fixed deprecated warning for format = html
2019-02-28 16:11:50 +07:00
Reza Rastak 647ed291b3 fixed deprecated warning for format = html 2019-02-27 21:35:50 -08:00
Kristoffer Carlsson 75098a4082 implement matrix coloring 2018-11-08 14:28:20 -05:00
Kristoffer Carlsson a0e6e030e3 improve performance in elasticity by moving out computation of X from intergration point loop 2018-11-02 13:47:57 -04:00
Kristoffer Carlsson c33ec484ff improve performance in elasticity 2018-11-02 13:38:15 -04:00
Jukka Aho ee8da9dc8c Merge pull request #223 from JuliaFEM/jah/fix_contact_example
Fix example of 2d hertz contact
2018-10-27 21:40:32 +03:00
Jukka Aho 0c3bec5515 Merge pull request #222 from JuliaFEM/fix_REQUIRE
Add upper bound to Julia v2.0 to REQUIRE
2018-10-27 21:40:15 +03:00
Jukka Aho 9ea021bb5c Fix example of 2d hertz contact
Example was not Julia 1.0 compatible. Fixed. Closes issue #221.
2018-10-27 19:55:26 +03:00
Jukka Aho 188fb9e9a2 Add upper bound to Julia v2.0 to REQUIRE 2018-10-27 19:23:57 +03:00
Jukka Aho 1d90cfd128 Merge pull request #217 from JuliaFEM/jah/fix_io_xdmf3
Store Xdmf results in Mixed format
2018-10-05 12:11:48 +03:00
Jukka Aho e4916ebd1a Store Xdmf results in Mixed format
Store element connectivity as "Mixed" format to Xdmf file. It's a long
list where first number is element code and then there is connectivity
data (starting from 0). Xdmf format does not support several
Topology-elements in Xml file format, so before it was not possible to
store e.g. both Tri3 and Quad4 elements in same problem. After this
commit this should now be possible. Paraview Xdmf3 reader is needed to
use.
2018-09-20 19:59:45 +03:00
Jukka Aho 4a57019d7b Fix examples
* Fix deprecation warnings from examples and fix some small things.
v0.5.0
2018-09-06 13:34:26 +03:00
Jukka Aho 08cea1c519 Update docs/make.jl and docs/deploy.jl
Modifications to Documenter scripts:

* Fix deprecation warnings
* Refactor make.jl to be more understandable
2018-09-06 13:34:26 +03:00
Jukka Aho 5495314ca3 Changes to Travis-CI
* Add Julia 1.0.
* Allow nightly to fail.
* Drop PkgTestSuite.
2018-09-06 13:34:26 +03:00
Jukka Aho d6df28eeee Update REQUIRE
* Put v0.7 as minimum version requirement for JuliaFEM.
* Remove Formatting from REQUIRE.
* Add Arpack to REQUIRE.
2018-09-06 13:34:26 +03:00
Jukka Aho df700284c5 Update .gitignore
Add test/*.xmf and test/*.h5 to .gitignore, (some tests are generating
results files)
2018-09-06 13:34:26 +03:00
Jukka Aho 5a52978dae 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 67bad817dc Create test/REQUIRE
* Add Documenter and Literate as test requirements
2018-09-06 13:34:26 +03:00
Jukka Aho d0bcb71f54 Update runtests.jl
* Explicitly call test files instead of for loop
* Call Documenter before and after unit tests
2018-09-06 13:34:26 +03:00
Jukka Aho ca911e5e87 Fix deprecation warnings
* Add docstrings
* Refactor code
* Module level docstring giving an example
2018-09-06 13:34:26 +03:00
Tero Frondelius 1357e7e46d Simple linear static example to be shown in SMP18 (#212)
* Simple linear static example to be shown in SMP18

* Improvements based on Jukka's review

* Fixing spacing after Literature.notebook run

* Adding ## Testing at the end of the example to make sure that something breaks, if the results will change

* Update linear_static.jl

Some little tweaks, mainly making that filter function more understandable.
2018-08-20 14:44:24 +03:00
Tero Frondelius f2907ffdf4 README citing instructions
README citing instructions to our RM article.
2018-08-17 18:33:07 +03:00
Jukka Aho e3035002e0 Enable Travis-CI for Julia 0.7 and nightly (#209) 2018-07-25 14:26:07 +03:00
Jukka Aho 4431b96a96 Remove badly designed test (#208)
Solution not known for tests. Let's create simpler tests with known solutions.
2018-07-25 14:10:05 +03:00
femtocleaner[bot] a8a3e0b46e Fix deprecations (#206) v0.4.2 2018-07-05 11:21:10 +03:00
Jukka Aho 86fdc59f20 Drop Logging.jl (#205)
Julia 0.7 is having improved logging capabilities, we can drop
Logging.jl.
2018-07-04 22:59:32 +03:00
Jukka Aho ce12011380 fix bug of setting sigma in Modal analysis (#204) 2018-07-04 21:51:09 +03:00
Jukka Aho 41e3d366b9 Call Nonlinear analysis using run! (#201)
`analysis(time)` and `solve!(analysis, time)` are going to be deprecated later on.
v0.4.1
2018-06-06 15:36:46 +03:00
Jukka Aho 16534d9e4e Use FEMBeam.jl (#200)
Use FEMBeam.jl to solve beam problems. Added an example, where
natural frequencies of frequencies of 3d frame structure are
calculated. Some minor modifications to Modal analysis is done to make
Xdmf writing of 6 dof nodes work.
2018-06-04 21:29:37 +03:00
Jukka Aho 07adb1c588 Improve documentation (#199)
Let's use Literate.jl to automatically generate usage examples.

* Automatically generate documentation from other packages (first try to include each package's docs/src/index.md, but if that fails, then use README.md to introduce the package).
* Add example how to calculate local element matrices.
* Add example how to perform 2d contact analysis.
2018-05-30 11:52:01 +03:00
Jukka Aho 417014718d Fix bug in writing two-dimensional problems (#198) 2018-05-25 17:54:36 +03:00
Jukka Aho c914017171 Move contact mechanics to separate package (#196)
Development of auto-differentiated mortar contact mechanics in 2D is moved to own separate package, MortarContact2DAD. Other changes are similar to what is done with MortarContact2D: elements are added to problems using `add_slave_elements!` and `add_master_elements!` instead of `add_elements!`, to make interface more explicit. Also, problem name is `Contact2DAD`, so the dimension is now explicitly stated in problem name. (Also have `Mortar2DAD`, compare to the `Mortar2D` and `Contact2D` of `MortarContact2D.jl`.)
2018-05-17 09:45:18 +03:00
Jukka Aho 931dc16138 Fix bug with sigma value (#197)
Sigma redefined.
2018-05-12 11:55:25 +03:00
Jukka Aho 66a24d382b Separate 2d contact code to own package (#195)
Moved plane contact related stuff to own separate package
`MortarContact2D.jl`, where the development continues.

The following changes to test files are done:

1) Problem name for plane mortar coupling is `Mortar2D` (was `Mortar`
before), and later on 3d coupling will be `Mortar`. So the dimension
of coupling operator is explicitly given in a problem name.

2) Before elements to coupling was defined using
```julia
update!(problem.elements, "master elements", master_elements)
add_elements!(problem, [slave_elements; master_elements])
```
Now, explicitly give master and slave elements as
```julia
add_slave_elements!(problem, slave_elements)
add_master_elements!(problem, master_elements)
```
Keep on mind that Lagrange multipliers are in slave side.
2018-05-07 15:14:42 +03:00
Jukka Aho 5ac771480e 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 f0997d8239 Drop Dataframes (#193)
Looks that package is no more used in the code. Let's drop it.
v0.4.0
2018-05-02 12:45:14 +03:00
Tero Frondelius aa2cdfa8e4 JuliaFEMLogo corner 2018-04-23 15:37:03 +03:00
Jukka Aho ce468e8ed6 Fix bug in eigenvalue solver (#191)
This closes issue #190.
2018-03-18 17:37:17 +07:00