Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #56

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

Dev #56

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ formats:
- pdf
- epub

# Optionally set the version of Python and requirements required to build your docs
build:
os: ubuntu-22.04
tools:
python: "3.9"
python:
version: "3.8"
install:
- requirements: requirements.txt
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.
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.
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7,745 changes: 7,745 additions & 0 deletions docs/source/_static/img/ucs/uc1/images.ai

Large diffs are not rendered by default.

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.
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.
Binary file added docs/source/_static/img/ucs/uc1/workflow.png
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.
Binary file added docs/source/_static/img/ucs/uc2/download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/img/ucs/uc2/initial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/img/ucs/uc2/post_process.png
Binary file added docs/source/_static/img/ucs/uc2/prepare2run.png
Binary file added docs/source/_static/img/ucs/uc2/running.png
Binary file added docs/source/_static/img/ucs/uc2/uc2_app.png
Binary file added docs/source/_static/img/ucs/uc3/Ap1_pt1.png
Binary file added docs/source/_static/img/ucs/uc3/Ap1_pt2.png
Binary file added docs/source/_static/img/ucs/uc3/Ap1_pt3.png
Binary file added docs/source/_static/img/ucs/uc3/Ap1_pt4.png
Binary file added docs/source/_static/img/ucs/uc3/Ap1_pt5.png
Binary file added docs/source/_static/img/ucs/uc3/Ap2_pt1.png
Binary file added docs/source/_static/img/ucs/uc3/Ap2_pt2.png
Binary file added docs/source/_static/img/ucs/uc3/Ap2_pt3.png
Binary file added docs/source/_static/img/ucs/uc3/Ap2_pt4.png
Binary file added docs/source/_static/img/ucs/uc3/Ap2_pt5.png
Binary file added docs/source/_static/img/ucs/uc3/FSP_example.PNG
Binary file added docs/source/_static/img/ucs/uc3/Install_pt1.png
Binary file added docs/source/_static/img/ucs/uc3/Install_pt2.png
Binary file added docs/source/_static/img/ucs/uc3/MODA.png
Binary file added docs/source/_static/img/ucs/uc3/homescreen.png
Binary file added docs/source/_static/img/ucs/uc4/uc4_download.png
Binary file added docs/source/_static/img/ucs/uc4/uc4_index.png
Binary file added docs/source/_static/img/ucs/uc4/uc4_process.png
Binary file added docs/source/_static/img/ucs/uc6/UC6_app.png
Binary file added docs/source/_static/img/ucs/uc_impl/RestAPI.png
Binary file added docs/source/_static/img/ucs/uc_impl/uc1.png
Binary file added docs/source/_static/img/ucs/uc_impl/uc2.png
Binary file added docs/source/_static/img/ucs/uc_impl/uc3.png
Binary file added docs/source/_static/img/ucs/uc_impl/uc4.png
Binary file added docs/source/_static/img/ucs/uc_impl/uc5.png
Binary file added docs/source/_static/img/ucs/uc_impl/uc6.png
9 changes: 9 additions & 0 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ jupyter/hpc-sdk.ipynb
apps/update
```

```{toctree}
:hidden: true
:caption: App implementations
:maxdepth: 2

ucs/use_cases
standalone_apps/standalone_apps
```

```{toctree}
:hidden: true
:caption: Miscellaneous
Expand Down
27 changes: 27 additions & 0 deletions docs/source/standalone_apps/chemical_balancer .md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Standalone app: Chemical balancer

## Description

The chemical balancer app is a Python application that allows users to balance chemical reactions.
This app takes unbalanced chemical equations as input and generates the corresponding balanced equation as output.

## How to run the app

### Inputs

When you open the app you will be presented with the following screen

![cb_app|200x100](../_static/img/standalone_apps/balancer_input.png)

On this screen, you will find the necessary fields to input the chemical equation you wish to balance. The interface provides the following sections:

- **Reactants**: Here, you can enter the chemical substances that act as the starting materials or reactants in the reaction. Simply input the relevant compounds or elements in this section.
- **Products**: This section allows you to input the chemical substances that are formed as a result of the reaction. Enter the products of the reaction in this field.

### Results

After processing the input, the app will present you with the results. The output will be displayed as follows:
![cb_app|200x100](../_static/img/standalone_apps/balancer_output.png)

- **Original equation**:This field displays the chemical equation you initially inputted, showing the unbalanced form of the reaction.
- **Balanced equation**:This field shows the balanced equation. The balanced equation accurately represents the stoichiometry of the reaction, with the appropriate coefficients for each compound or element.
23 changes: 23 additions & 0 deletions docs/source/standalone_apps/hookes_law.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Standalone app: Hooke's Law

## Description

Hooke's Law app is a simple Python transformation application that allows users to compute Hooke's Law based on the stiffness constant and the displacement.

This is the simplest of the standalone apps.

## How to run the app

### Inputs

When you open the app you will be presented with the following screen

![hookes_law|200x100](../_static/img/standalone_apps/hookes_law.png)

Once both values have been inputted, the Force can be computed

### Results

The result is computed and shown in the same window, together with the transformation id:

![hookes_law_output|200x100](../_static/img/standalone_apps/hookes_law_output.png)
36 changes: 36 additions & 0 deletions docs/source/standalone_apps/laser_power.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Standalone app: Laser power

## Description

The Laser power app is a Python application that calculates various laser power-related parameters based on user input. It allows users to provide input values for frequency, beam diameter, pulse energy, and pulse width, and then computes and displays the corresponding power and power density values. The app also provides a plot of the laser power profile over time.

## How to run the app

### Inputs

When you open the app you will be presented with the following screen

![laser_app|200x100](../_static/img/standalone_apps/laser_inputs.png)

- **Frequency**: The frequency of the laser pulses.
- **Beam Diameter**: The diameter of the laser beam.
- **Pulse Energy**: The energy of each laser pulse.
- **Pulse Width**: The duration of each laser pulse.

### Results

#### Text

![laser_app|200x100](../_static/img/standalone_apps/text_outputs.png)

- **Beam area**: Area covered by the beam
- **Average Power**: Averaging the power over the course of one on/off cycle of the laser. This allows to determine the typical power output of the laser.
- **Average Power Density**: Average power divided by the size of the beam's area. This parameter provides insights into the power concentration within the laser beam.
- **Peak Power**: Energy of the laser pulse divided by the pulse width.
- **Peak Power Density**: Peak power divided by the size of the beam's area. This parameter helps you understand the power concentration at the focal point or within a specific region of the laser beam.

#### Image

The app generates a diagram that illustrates the laser's power output over time. On the image a visual description of some quantities is reported

![laser_app|200x100](../_static/img/standalone_apps/image_output.png)
20 changes: 20 additions & 0 deletions docs/source/standalone_apps/standalone_apps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Standalone apps

As additional work to the previous use cases, other more simple standalone apps have been developed.
Their purpose is to demonstrate how apps can be developed and integrated in an easier way.

- [Hooke's Law](hookes_law)
- [Chemical balancer](chemical_balancer)
- [Laser power](laser_power)
- [Weld strength](weld_strength)

```{toctree}
:hidden: true
:caption: Use Cases
:maxdepth: 2

hookes_law
chemical_balancer
laser_power
weld_strength
```
43 changes: 43 additions & 0 deletions docs/source/standalone_apps/weld_strength.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Standalone app: Weld strength

## Description

This app calculates the strength of a weld based on user-provided parameters.
The user selects the desired weld type, and the relevant parameters such as weld throat thickness and effective length.

Depending on the selected weld type and load configuration, the function calculates and displays the corresponding stress values.

For butt welds, it considers various load scenarios such as tensile, shear, bending, and twisting.
For fillet welds, it calculates the strength based on different fillet weld configurations.

## How to run the app

### Inputs

When you open the app you will be presented with the following screen

![ws_app|200x100](../_static/img/standalone_apps/weld_input_1.png)

You have to select the type of weld to calculate (butt weld or fillet weld), and you also have to provide the weld throat thickness and effective length of the weld.

![ws_app|200x100](../_static/img/standalone_apps/weld_input_2.png)

Here we select the butt weld, weld throat thickness of 2 mm and effective length of the weld of 2 mm.
Once the butt weld type is selected you have to select a configuration to help you decide the app shows a image depicting the available possibilities.

![ws_app|200x100](../_static/img/standalone_apps/weld_input_3.png)

As an example let's select the twist case with a torque of 1000 N.

At this point you only have to click on compute.

### Results

After processing the input, the app will present you with the results. The output will be displayed as follows:

![ws_app|200x100](../_static/img/standalone_apps/weld_output_1.png)

In this screen, you have a summary of your inputs together with the resulting stress.

If in the previous section you had chosen to compute the stress for a fillet weld, this is the result page you would have had
![ws_app|200x100](../_static/img/standalone_apps/weld_output_2.png)
Loading