This commit is contained in:
ovainola
2015-08-25 21:09:02 +03:00
parent b8194d0c13
commit 02629b80fb
117 changed files with 19450 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
JuliaFEM.abaqus_reader
======================
Internal
--------
.. jl:function:: add_handler(section, function_name)
Register new handler for parser
@@ -0,0 +1,121 @@
JuliaFEM.elasticity_solver
==========================
Internal
--------
.. jl:function:: assemble!(fe, eldofs_, I, V)
Assemble global RHS to I,V ready for sparse format
Parameters
----------
fe : local vector
eldofs_ : Array
degrees of freedom
I,V : Arrays for sparse matrix
Notes
-----
eldofs can also be node ids for convenience. In that case dimension
is calculated and eldofs are "extended" to problem dimension.
.. jl:function:: assemble!(ke, eldofs_, I, J, V)
Assemble global stiffness matrix to I,J,V ready for sparse format
Parameters
----------
ke : local matrix
eldofs_ : Array
degrees of freedom
I,J,V : Arrays for sparse matrix
Notes
-----
eldofs can also be node ids for convenience. In that case dimension
is calculated and eldofs are "extended" to problem dimension.
.. jl:function:: calc_local_matrices!(X, u, R, Kt, N, dNdchi, lambda_, mu_, ipoints, iweights)
Calculate local tangent stiffness matrix and residual force vector R = T - F
.. jl:function:: eliminate_boundary_conditions(dirichletbc, I, J, V)
Eliminate Dirichlet boundary conditions from matrix
Parameters
----------
dirichletbc : array [dim x nnodes]
I, J, V : sparse matrix arrays
Returns
-------
I, J, V : boundary conditions removed
Notes
-----
pros:
- matrix assembly remains positive definite
cons:
- maybe inefficient because of extra sparse matrix operations. (It's hard to remove stuff from sparse matrix.)
- if u != 0 in dirichlet boundary requires extra care
Raises
------
Exception, if displacement boundary conditions given, i.e.
DX=2 for some node, for example.
.. jl:function:: eliminate_boundary_conditions(dirichletbc, I, V)
Eliminate Dirichlet boundary conditions from vector
Parameters
----------
dirichletbc : array [dim x nnodes]
I, V : sparse vector arrays
Returns
-------
I, V : boundary conditions removed
Notes
-----
pros:
- matrix assembly remains positive definite
cons:
- maybe inefficient because of extra sparse matrix operations. (It's hard to remove stuff from sparse matrix.)
- if u != 0 in dirichlet boundary requires extra care
Raises
------
Exception, if displacement boundary conditions given, i.e.
DX=2 for some node, for example.
.. jl:function:: interpolate{T<:Real}(field::Array{T<:Real, 1}, basis::Function, ip)
Interpolate field variable using basis functions f for point ip.
This function tries to be as general as possible and allows interpolating
lot of different fields.
Parameters
----------
field :: Array{Number, dim}
Field variable
basis :: Function
Basis functions
ip :: Array{Number, 1}
Point to interpolate
.. jl:function:: solve_elasticity_increment!(X, u, du, elmap, nodalloads, dirichletbc, lambda, mu, N, dNdchi, ipoints, iweights)
Solve one increment of elasticity problem
+16
View File
@@ -0,0 +1,16 @@
JuliaFEM.interfaces
===================
Exported
--------
.. jl:function:: solve_elasticity_interface!()
This is generic interface that reads data from data model, solves elasticity
problem and updates model.
Parameters
----------
model : to be defined
+3
View File
@@ -0,0 +1,3 @@
JuliaFEM
========
+3
View File
@@ -0,0 +1,3 @@
JuliaFEM.xdmf
=============
+14
View File
@@ -0,0 +1,14 @@
API Documentation
=================
Automatically generated api documentation
Contents:
.. toctree::
:maxdepth: 5
JuliaFEM.abaqus_reader
JuliaFEM.elasticity_solver
JuliaFEM.interfaces