Skip to main content
Skip table of contents

SimScale

image-20240717-145052.png

Introduction

Learn more about the SimScale/Valispace integration by:

The following documentation provides an overview of the script-based integration between Valispace and SimScale, as outlined in the SimScale-Valispace API GitHub repository.

Short Description

This repository hosts the API Python scripts used for the joint SimScale & Valispace webinar, demonstrating how to integrate SimScale simulations with Valispace projects.

Available Files and Workflow

Two example script files are provided in the repository:

1. Simulation Setup Script

Script Name: 01_SimScale-Valispace_batteryPack_runSimulation_doc.py

Functionality:

  • Import relevant SimScale and Valispace libraries.

  • Read Valis from your Valispace project and pass them to SimScale.

  • Read, edit, and create new specifications for a Conjugate Heat Transfer analysis in SimScale.

  • Start a new simulation in SimScale via the API.

2. Post-Processing Script

Script Name: 02_SimScale-Valispace_batteryPack_postProcessingOnly_doc.py

Functionality:

  • Import the relevant post-processing SimScale libraries.

  • Retrieve simulation results such as plots, 3D fields, screenshots, etc.

  • Feed the simulation results back to Valispace by updating the Valis.

  • Update an Analysis Report in Valispace with new screenshots.

Sample Project

A sample project where these scripts can be applied is available here.

Tips

The provided scripts can be used as quick templates. For creating a scripted SimScale-Valispace workflow tailored to your applications, please contact us.

Benefits

  • See how design changes influence your product behavior.

  • Updating any Valispace field seamlessly pushes a new simulation to SimScale and results are rapidly fed back, leveraging SimScale’s cloud computing.

  • Build automated simulation reports and go/no-go requirements matrices to understand your system’s behavior.

  • Enable your design teams to gain a rapid understanding of design changes by performing high-fidelity SimScale simulations in the background with a push of a button.

Requirements

  • SimScale Professional license

  • SimScale API key

  • Valispace Pro or Enterprise license

For more information and access to the scripts, visit the GitHub repository or contact SimScale or Valispace support.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.