1
1
# SolidsPy: 2D-Finite Element Analysis with Python
2
2
3
- ![ ] ( https://raw.githubusercontent.com/AppliedMechanics-EAFIT/SolidsPy/master/docs/img/wrench.png )
3
+ ![ ] ( https://raw.githubusercontent.com/AppliedMechanics-EAFIT/SolidsPy/master/docs/img/wrench.png )
4
4
[ ![ PyPI download] ( https://img.shields.io/pypi/v/solidspy.svg )] ( https://pypi.python.org/pypi/continuum_mechanics )
5
5
[ ![ Documentation Status] ( https://readthedocs.org/projects/solidspy/badge/?version=latest )] ( https://solidspy.readthedocs.io/en/latest/ )
6
- [ ![ Downloads frequency] ( https://img.shields.io/pypi/dm/solidspy )] ( https://pypistats.org/packages/solidspy )
6
+ [ ![ Downloads frequency] ( https://img.shields.io/pypi/dm/solidspy )] ( https://pypistats.org/packages/solidspy )
7
7
[ ![ image] ( https://zenodo.org/badge/48294591.svg )] ( https://zenodo.org/badge/latestdoi/48294591 )
8
8
9
- A simple finite element analysis code for 2D elasticity problems. The
10
- code uses as input simple-to-create text files defining a model in terms
11
- of nodal, element, material and load data.
9
+ A simple finite element analysis code for 2D elasticity problems. The code uses
10
+ as input simple-to-create text files defining a model in terms of nodal,
11
+ element, material and load data.
12
12
13
13
- Documentation: < http://solidspy.readthedocs.io >
14
14
- GitHub: < https://github.com/AppliedMechanics-EAFIT/SolidsPy >
15
15
- PyPI: < https://pypi.org/project/solidspy/ >
16
- - Free and open source software: [ MIT
17
- license] ( http://en.wikipedia.org/wiki/MIT_License )
16
+ - Free and open source software: [ MIT license] ( http://en.wikipedia.org/wiki/MIT_License )
18
17
19
18
## Features
20
19
21
- - It is based on an open-source environment.
22
- - It is easy to use.
23
- - The code allows to find displacement, strain and stress solutions
24
- for arbitrary two-dimensional domains discretized into finite
25
- elements and subject to point loads.
26
- - The code is organized in independent modules for pre-processing,
27
- assembly and post-processing allowing the user to easily modify it
28
- or add features like new elements or analyses pipelines.
29
- - It was created with academic and research purposes.
30
- - It has been used to tech the following courses:
31
- - Computational Modeling.
32
- - Introduction to the Finite Element Methods.
20
+ - It is based on an open-source environment.
21
+ - It is easy to use.
22
+ - The code allows to find displacement, strain and stress solutions
23
+ for arbitrary two-dimensional domains discretized into finite
24
+ elements and subject to point loads.
25
+ - The code is organized in independent modules for pre-processing,
26
+ assembly and post-processing allowing the user to easily modify it
27
+ or add features like new elements or analyses pipelines.
28
+ - It was created with academic and research purposes.
29
+ - It has been used to tech the following courses:
30
+ - Introduction to Solid Mechanics.
31
+ - Computational Modeling.
32
+ - Introduction to the Finite Element Methods.
33
+ - Introduction to Soil Mechanics.
33
34
34
35
## Installation
35
36
36
- The code is written in Python and it depends on ` numpy ` , and ` scipy `
37
- and. It has been tested under Windows, Mac, Linux and Android.
37
+ The code is written in Python and it depends on ` numpy ` , and ` scipy ` and. It
38
+ has been tested under Windows, Mac, Linux and Android.
38
39
39
40
To install * SolidsPy* open a terminal and type:
40
41
41
42
pip install solidspy
42
43
43
- To specify through a GUI the folder where the input files are stored you
44
- will need to install
45
- [ easygui] ( http://easygui.readthedocs.org/en/master/ ) .
44
+ To specify through a GUI the folder where the input files are stored you will
45
+ need to install [ easygui] ( http://easygui.readthedocs.org/en/master/ ) .
46
46
47
47
To easily generate the required SolidsPy text files out of a
48
- [ Gmsh] ( http://gmsh.info/ ) model you will need
49
- [ meshio] ( https://github.com/nschloe/meshio ) .
48
+ [ Gmsh] ( http://gmsh.info/ ) model you will need [ meshio] ( https://github.com/nschloe/meshio ) .
50
49
51
50
These two can be installed with:
52
51
@@ -55,12 +54,10 @@ These two can be installed with:
55
54
56
55
## How to run a simple model
57
56
58
- For further explanation check the
59
- [ docs] ( http://solidspy.readthedocs.io/en/latest/ ) .
57
+ For further explanation check the [ docs] ( http://solidspy.readthedocs.io/en/latest/ ) .
60
58
61
- Let\' s suppose that we have a simple model represented by the following
62
- files (see [ tutorials/square
63
- example] ( http://solidspy.readthedocs.io/en/latest/tutorials/square_example.html )
59
+ Let's suppose that we have a simple model represented by the following files
60
+ (see [ tutorials/square example] ( http://solidspy.readthedocs.io/en/latest/tutorials/square_example.html )
64
61
for further explanation).
65
62
66
63
- ` nodes.txt `
@@ -113,15 +110,12 @@ disp = solids_GUI() # run the Finite Element Analysis
113
110
plt.show() # plot contours
114
111
```
115
112
116
- For Mac users it is suggested to use an IPython console to run the
117
- example.
113
+ For Mac users it is suggested to use an IPython console to run the example.
118
114
119
115
## License
120
116
121
- This project is licensed under the [ MIT
122
- license] ( http://en.wikipedia.org/wiki/MIT_License ) . The documents are
123
- licensed under [ Creative Commons Attribution
124
- License] ( http://creativecommons.org/licenses/by/4.0/ ) .
117
+ This project is licensed under the [ MIT license] ( http://en.wikipedia.org/wiki/MIT_License ) .
118
+ The documents are licensed under [ Creative Commons Attribution License] ( http://creativecommons.org/licenses/by/4.0/ ) .
125
119
126
120
## Citation
127
121
@@ -132,17 +126,16 @@ To cite SolidsPy in publications use
132
126
133
127
A BibTeX entry for LaTeX users is
134
128
135
- ``` bibtex
129
+ ``` bibtex
136
130
@software{solidspy,
137
131
title = {SolidsPy: 2D-Finite Element Analysis with Python},
138
132
version = {1.1.0},
139
133
author = {Guarín-Zapata, Nicolás and Gómez, Juan},
140
134
year = 2023,
141
135
keywords = {Python, Finite elements, Scientific computing, Computational mechanics},
142
- abstract = {SolidsPy is a simple finite element analysis code for
143
- 2D elasticity problems. The code uses as input simple-to-create text
144
- files defining a model in terms of nodal, element, material and
145
- load data.},
136
+ abstract = {SolidsPy is a simple finite element analysis code for 2D elasticity
137
+ problems. The code uses as input simple-to-create text files defining a model
138
+ in terms of nodal, element, material and load data.},
146
139
url = {https://github.com/AppliedMechanics-EAFIT/SolidsPy},
147
140
doi = {https://doi.org/10.5281/zenodo.7694030}
148
141
}
0 commit comments