-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Start adding unit tests - Add a check for stiffness matrix singularity
- Loading branch information
1 parent
cbe9522
commit 8e508a5
Showing
19 changed files
with
576 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,13 @@ makedocs( | |
sitename = "Hephaestus.jl", | ||
authors = "Damir Akchurin, [email protected]", | ||
pages = [ | ||
"Home" => "index.md", | ||
"API" => "API.md"], | ||
"Home" => "index.md", | ||
"Quick Start" => "QuickStart.md", | ||
"API" => "API.md"], | ||
format = Documenter.HTML( | ||
assets = ["assets/Citations.css"]), | ||
assets = [ | ||
"assets/favicon.ico", | ||
"assets/Citations.css"]), | ||
plugins = [ | ||
CitationBibliography( | ||
joinpath(@__DIR__, "src", "References.bib"), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
## Types | ||
|
||
```@docs | ||
Model | ||
Node | ||
Material | ||
Section | ||
Element | ||
``` | ||
|
||
## Functions | ||
|
||
```@docs | ||
add_node! | ||
add_material! | ||
add_section! | ||
add_element! | ||
add_support! | ||
add_concentrated_load! | ||
add_distributed_load! | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
To quickly get you started with `Hephaestus.jl`, let us recreate a simple example of a cantilever beam subjected to a concentrated load at its free end as shown below. | ||
|
||
```@raw html | ||
``` | ||
|
||
```@setup QuickStart | ||
using Hephaestus | ||
``` | ||
|
||
To create a new model, use the [`Model()`](@ref) constructor: | ||
|
||
```@example QuickStart | ||
M = Model() | ||
``` | ||
|
||
To add nodes to the model, use the [`add_node!()`](@ref) function: | ||
|
||
```@example QuickStart | ||
add_node!(M, 1 , 0 * 12, 0, 0) | ||
add_node!(M, 2 , 1 * 12, 0, 0) | ||
add_node!(M, 3 , 2 * 12, 0, 0) | ||
add_node!(M, 4 , 3 * 12, 0, 0) | ||
add_node!(M, 5 , 4 * 12, 0, 0) | ||
add_node!(M, 6 , 5 * 12, 0, 0) | ||
add_node!(M, 7 , 6 * 12, 0, 0) | ||
add_node!(M, 8 , 7 * 12, 0, 0) | ||
add_node!(M, 9 , 8 * 12, 0, 0) | ||
add_node!(M, 10, 9 * 12, 0, 0) | ||
add_node!(M, 11, 10 * 12, 0, 0) | ||
``` | ||
|
||
To add materials to the model, use the [`add_material!()`](@ref) function: | ||
|
||
```@example QuickStart | ||
add_material!(M, 1, 29000, 0.3, 0.000290) | ||
``` | ||
|
||
To add sections to the model, use the [`add_section!()`](@ref) function: | ||
|
||
```@example QuickStart | ||
add_section!(M, 1, 9.16, 180, 180, 359) | ||
``` | ||
|
||
To add elements to the model, use the [`add_element!()`](@ref) function: | ||
|
||
```@example QuickStart | ||
add_element!(M, 1 , 1 , 2 , 1, 1) | ||
add_element!(M, 2 , 2 , 3 , 1, 1) | ||
add_element!(M, 3 , 3 , 4 , 1, 1) | ||
add_element!(M, 4 , 4 , 5 , 1, 1) | ||
add_element!(M, 5 , 5 , 6 , 1, 1) | ||
add_element!(M, 6 , 6 , 7 , 1, 1) | ||
add_element!(M, 7 , 7 , 8 , 1, 1) | ||
add_element!(M, 8 , 8 , 9 , 1, 1) | ||
add_element!(M, 9 , 9 , 10, 1, 1) | ||
add_element!(M, 10, 10, 11, 1, 1) | ||
``` |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.