Examples#

Each example demonstrates how to implement a specific feature in a solution application. Unless otherwise indicated, examples are both integrated into the Examples Solution.

Install and run the example solution provided in the saf/examples directory to follow along with the examples in this section.

Set up the example solution

To get detailed instructions for examples, either click a category in the left navigation sidebar or click the corresponding card below:

UI Components and visualization

Use Plotly graphs to display step field data in a solution user interface.

Plotly graphs

Generate an interactive Dash data table to display a simple dataset in a solution user interface.

Data tables
Data and file management

Use Blob Data Management (BDM) Python API to manage files and directories in a solution.

BDM

Use SAF GLOW to parse and store files and display them as images in a solution user interface.

File-based images

Use Dash to display the content of a log file in a solution user interface.

Process logs
Transaction methods

Use SAF GLOW to display a progress bar tracking the execution of a long-running transaction through streaming uploads.

Long-running transaction streaming events

Use SAF GLOW Engine to start an HPS job and monitor the job’s progress, using event streaming with termination events to change UI state.

HPS job submission and events

Use a long-running transaction combined with SAF GLOW events to stream log output produced on the backend to the UI in real time.

Streaming process logs
SAF product instance managers (PIM)

Use SAF GLOW Engine to create an instance of an AEDT product (Maxwell 2D) and integrate its workflow in your solution.

AEDT Product Instance Manager

Use SAF GLOW Engine to create an instance of a Fluent product and integrate its workflow in your solution.

Fluent Product Instance Manager

Use SAF GLOW Engine to create an instance of an optiSLang product and integrate its workflow in your solution.

optiSLang Product Instance Manager

Use SAF GLOW Engine to create an instance of a Geometry product and integrate its workflow in your solution.

Geometry Product Instance Manager

Use SAF GLOW Engine to create an instance of a Mechanical product and integrate its workflow in your solution.

Mechanical Product Instance Manager

Use SAF GLOW Engine to create an instance of a MAPDL product and integrate its workflow in your solution.

MAPDL Product Instance Manager
Dash Super Components

Get started with a collection of simple, single-file Dash applications that highlight the features of the Dash Super Components library.

Explore examples that demonstrate the usage of Dash Super Components in a general Dash app.

General examples

Explore examples that demonstrate the usage of Dash Super Components that integrate directly with SAF GLOW API.

SAF examples

Note

The Dash Super Components examples are not integrated into the example solution.