Skip to content

Commit b09dd73

Browse files
committed
OpenSees documentation
1 parent 9b6476d commit b09dd73

File tree

6 files changed

+379
-14
lines changed

6 files changed

+379
-14
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# DesignSafe API (dapi)
22

3-
![dapi](https://raw.githubusercontent.com/DesignSafe-CI/dapi/main/dapi.png)
4-
53
[![build and test](https://github.com/DesignSafe-CI/dapi/actions/workflows/build-test.yml/badge.svg)](https://github.com/DesignSafe-CI/dapi/actions/workflows/build-test.yml)
64
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.md)
75
[![Docs](https://img.shields.io/badge/view-docs-8A2BE2?color=8A2BE2)](https://designsafe-ci.github.io/dapi/dapi/index.html)
86

97
`dapi` is a library that simplifies the process of submitting, running, and monitoring [TAPIS v3](https://tapis.readthedocs.io/en/latest/) jobs on [DesignSafe](https://designsafe-ci.org) via [Jupyter Notebooks](https://jupyter.designsafe-ci.org).
108

9+
<img src="https://raw.githubusercontent.com/DesignSafe-CI/dapi/main/dapi.png" alt="dapi" width="300">
10+
11+
1112
## Features
1213

1314
### Jobs
@@ -153,5 +154,5 @@ This will start a local server at `http://127.0.0.1:8000/dapi/` where you can vi
153154
To generate API docs:
154155

155156
```
156-
pdoc --html --output-dir docs dapi --force
157+
pdoc --html --output-dir api-docs dapi --force
157158
```

docs/examples.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# Examples
2+
3+
Welcome to the DAPI examples collection! These comprehensive tutorials demonstrate how to use DAPI for various computational workflows on DesignSafe. Each example includes complete, runnable code that you can try directly in DesignSafe's Jupyter environment.
4+
5+
6+
## 🚀 Ready to Start?
7+
8+
Choose an example above and click "Try on DesignSafe" to begin your computational research journey!
9+
10+
Each example is self-contained and includes:
11+
- ✅ Complete, runnable code
12+
- ✅ Step-by-step explanations
13+
- ✅ Real-world applications
14+
- ✅ Troubleshooting guides
15+
- ✅ Performance optimization tips
16+
17+
*Happy computing!* 🎉
18+
19+
### 📱 Application Management
20+
Discover and manage applications available on DesignSafe.
21+
22+
[![Try on DesignSafe](https://raw.githubusercontent.com/DesignSafe-CI/dapi/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/hub/user-redirect/lab/tree/CommunityData/dapi/apps.ipynb)
23+
24+
**What you'll learn:**
25+
- Searching for available applications
26+
- Getting detailed app information
27+
- Understanding app parameters and requirements
28+
29+
---
30+
31+
### 🌊 Material Point Method (MPM) Jobs
32+
Submit and monitor MPM simulations for large deformation problems.
33+
34+
[![Try on DesignSafe](https://raw.githubusercontent.com/DesignSafe-CI/dapi/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/hub/user-redirect/lab/tree/CommunityData/dapi/mpm/mpm-minimal.ipynb)
35+
36+
**What you'll learn:**
37+
- Setting up MPM job parameters
38+
- Submitting jobs with resource optimization
39+
- Monitoring job progress and status
40+
- Downloading and analyzing results
41+
42+
**[📖 View Full Documentation →](examples/mpm.md)**
43+
44+
---
45+
46+
### 🏗️ OpenSees Structural Analysis
47+
Perform earthquake engineering simulations with OpenSees.
48+
49+
[![Try on DesignSafe](https://raw.githubusercontent.com/DesignSafe-CI/dapi/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/hub/user-redirect/lab/tree/CommunityData/dapi/opensees/opensees-mp/OpenSeesMP-dapi.ipynb)
50+
51+
**What you'll learn:**
52+
- Configuring OpenSees Multi-Free Field Analysis
53+
- Custom archive management for organized results
54+
- Advanced postprocessing with response spectra
55+
- Parametric studies across soil profiles
56+
57+
**[📖 View Full Documentation →](examples/opensees.md)**
58+
59+
---
60+
61+
### 📊 Database Queries
62+
Access and analyze research data from DesignSafe databases.
63+
64+
[![Try on DesignSafe](https://raw.githubusercontent.com/DesignSafe-CI/dapi/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/hub/user-redirect/lab/tree/CommunityData/dapi/db.ipynb)
65+
66+
**What you'll learn:**
67+
- Connecting to research databases
68+
- Writing efficient SQL queries
69+
- Data visualization and analysis
70+
- Working with geotechnical datasets
71+
72+
**[📖 View Full Documentation →](examples/database.md)**
73+
74+
---
75+
76+
## 🎯 Getting Started
77+
78+
### Prerequisites
79+
- DesignSafe account (free registration at [designsafe-ci.org](https://designsafe-ci.org))
80+
- Basic Python knowledge
81+
- Familiarity with Jupyter notebooks
82+
83+
### Quick Start
84+
1. **Click any "Try on DesignSafe" button** above
85+
2. **Log in** to your DesignSafe account
86+
3. **Run the notebook** cell by cell
87+
4. **Modify parameters** to explore different scenarios

docs/examples/mpm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This comprehensive example demonstrates how to submit and monitor a Material Point Method (MPM) job using dapi. MPM is a particle-based method for simulating large deformation problems in geomechanics and fluid mechanics.
44

5-
[![Try on DesignSafe](https://raw.githubusercontent.com/DesignSafe-CI/dapi/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/hub/user-redirect/lab/tree/CommunityData/Training/dapi/examples/mpm.ipynb)
5+
[![Try on DesignSafe](https://raw.githubusercontent.com/DesignSafe-CI/dapi/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/hub/user-redirect/lab/tree/CommunityData/dapi/mpm/mpm-minimal.ipynb)
66

77
## 🎯 Overview
88

0 commit comments

Comments
 (0)