Skip to content

Commit

Permalink
update sphinx documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaxiangYi96 committed Dec 5, 2023
1 parent 13091f4 commit 0ed49a6
Show file tree
Hide file tree
Showing 8 changed files with 198 additions and 376 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.7"
python-version: "3.9"
cache: "pip" # caching pip dependencies
- name: Install Flake8 dependencies
run: python -m pip install -U flake8
Expand All @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.9", "3.10"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.7"
python-version: "3.9"
cache: "pip" # caching pip dependencies
- name: Install package dependencies
run: |
Expand All @@ -68,7 +68,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.9", "3.10"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand Down
26 changes: 15 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,26 @@

## rvesimulator

RVE simulation via ABAQUS[ABAQUS](https://www.3ds.com/products-services/simulia/products/abaqus/) secondary development.
RVE simulation via [ABAQUS](https://www.3ds.com/products-services/simulia/products/abaqus/) secondary development.

---

[![Python](https://img.shields.io/pypi/pyversions/f3dasm)](https://www.python.org)
[![GitHub license](https://img.shields.io/badge/license-BSD-blue)](https://github.com/bessagroup/rvesimulator)

[**Docs**](https://bessagroup.github.io/rvesimulator/)
[**Documentation**](https://bessagroup.github.io/rvesimulator/)
| [**Installation**](https://bessagroup.github.io/rvesimulator/get_started.html)
| [**GitHub**](https://github.com/bessagroup/rvesimulator)
| [**Tutorials**](https://github.com/bessagroup/rvesimulator/tree/main/tutorials)

---

### **Summary**

This repo aims to do representative volume element (RVE) simulation via [ABAQUS](https://www.3ds.com/products-services/simulia/products/abaqus/). It has two main parts, the first part is to generate microstructure of representative volume element (RVE), and the second part is realize the functionality of do RVE simulation automatically and has the ability to generate large dataset without any GUI operation.
The **rvesimulator** aims to provide a user-friendly, automated Python-based framework conducting Representative Volume Element (RVE) simulation via powerful Finite Element Method (FEM) software Abaqus. By utilizing this repository, large amount of reliable FEM data-set generation is possible with RVEs encompassing materials from elastic to plastic composites .

**rvesimulator** provides:

1. A cross-platform function to run arbitrary Python-Abaqus script without graphical user interface (GUI), it offers users a convenience way to run their unique scripts
2. Python-Abaqus scripts to simulate RVE with different design of experiments including various micro-structures, material laws, and loading;
3. Benchmarks of running prevalent RVEs covering elastic, hyper-elastic, plastic materials are provided, which illustrates the general pipeline (preprocess, execution, and postprocess) of the developed framework

This idea of the repo is shown by the following figures:

Expand All @@ -31,7 +35,7 @@ This idea of the repo is shown by the following figures:

### **State of need**

In order to use this repo, one needs first to know basics of ABAQUS secondary development, and basic under standing of design of experiment (DoE).
In order to use this repo, one needs first to know basics of ABAQUS secondary development, and basic under standing of design of experiment (DoE) so that one can design their own RVEs.

---

Expand All @@ -41,7 +45,7 @@ In order to use this repo, one needs first to know basics of ABAQUS secondary de

- Jiaxiang Yi ([[email protected]](mailto:[email protected]))

**Author filliation**:
**Author affiliation**:

- Delft University of Technology

Expand All @@ -63,17 +67,17 @@ git clone https://github.com/bessagroup/rvesimulator.git
pip install --verbose --no-build-isolation --editable .
```

(3). install dependancies
(3). install dependencies

```
pip install -r requirements.txt
```

**Contents**
<!-- **Contents**
Part I: microstructure generation
Part II: rve simulation
Part II: rve simulation -->

---

Expand Down
2 changes: 1 addition & 1 deletion docs/source/abaqus2py.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Then you can run your simulation by:
job_name: "job", # important
platform: "ubuntu", # important
}
# intialize the simulator
# initiate the simulator
simulator = AbaqusSimulator(sim_info=sim_info, folder_info=folder_info)
# run the simulation
simulator.run()
Expand Down
12 changes: 10 additions & 2 deletions docs/source/rvesimulator.benchmarks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ rvesimulator.benchmarks.hollow\_plate\_sve
:show-inheritance:


rvesimulator.benchmarks.veni\_nocohesive\_rve
rvesimulator.benchmarks.pppe\_no\_cohesive\_rve
---------------------------------------------------

.. automodule:: rvesimulator.benchmarks.veni_nocohesive_rve
.. automodule:: rvesimulator.benchmarks.pppe_no_cohesive_rve
:members:
:undoc-members:
:show-inheritance:

rvesimulator.benchmarks.asca\_rve
---------------------------------------------------

.. automodule:: rvesimulator.benchmarks.asca_rve
:members:
:undoc-members:
:show-inheritance:
Expand Down
Binary file added studies/NeuripsAI4Mat2023Paper/paper.pdf
Binary file not shown.
Binary file added studies/cddm_data_generation/cddm_paper.pdf
Binary file not shown.
390 changes: 120 additions & 270 deletions tutorials/cddm_data_generation.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 0ed49a6

Please sign in to comment.