-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from compmec/dev
Finish basic version 0.3.0
- Loading branch information
Showing
30 changed files
with
2,388 additions
and
1,277 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
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,14 @@ | ||
{ | ||
"Steel": { | ||
"behaviour": "Isotropic", | ||
"young_modulus": 210e+3, | ||
"poissons_ratio": 0.3, | ||
"density": 7.7e-9 | ||
}, | ||
"Aluminium": { | ||
"behaviour": "Isotropic", | ||
"young_modulus": 70e+3, | ||
"poissons_ratio": 0.3, | ||
"density": 2.7e-9 | ||
} | ||
} |
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,29 @@ | ||
{ | ||
"nodes": [ | ||
[1, 1, 1], | ||
[2, -1, 1], | ||
[3, -1, -1], | ||
[4, -1, -1] | ||
], | ||
"curves": [ | ||
{"label": 1000, | ||
"degree": 1, | ||
"knotvector": [0, 0, 0.25, 0.5, 0.75, 1, 1], | ||
"ctrlpoints": [1, 2, 3, 4, 1]} | ||
], | ||
"shapes": { | ||
"square": [1000] | ||
}, | ||
"materials": { | ||
"steel": { | ||
"young_modulus": 210e+3, | ||
"poissons_ratio": 0.3 | ||
} | ||
}, | ||
"sections": { | ||
"square": { | ||
"shapes": ["square"], | ||
"materials": ["steel"] | ||
} | ||
} | ||
} |
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,14 +1,21 @@ | ||
[tool.poetry] | ||
name = "compmec-section" | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
description = "Analysis of beams cross-section using the boundary element method" | ||
authors = ["Carlos Adir <[email protected]>"] | ||
readme = "README.md" | ||
packages = [{ include = "compmec/section", from = "src" }] | ||
include = ["schema/*.json"] | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["src/compmec/section/schema/*.json"] | ||
|
||
[tool.poetry.dependencies] | ||
numpy = "^1.0.0" | ||
compmec-nurbs = "^1.0.0" | ||
compmec-shape = "^1.0.0" | ||
python = "^3.7" | ||
jsonschema = "^4.17.3" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "^5.2" | ||
|
@@ -23,3 +30,6 @@ build-backend = "poetry.core.masonry.api" | |
|
||
[tool.scriv] | ||
version = "literal: src/compmec/section/__init__.py: __version__" | ||
|
||
[tool.black] | ||
line-length = 79 |
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
Oops, something went wrong.