PhloemDocs
Markdown
Integration

SimScale

Projects, simulations, runs and results from SimScale

Category
Simulation
Runs in
The Phloem cloud — nothing to install

Puts your SimScale projects, simulations, runs and results in Trace, so Hamming can cite the exact setup and run behind a prediction and compare it with what a test measured.

What Phloem reads

  • Projects: every project the key can see, or the ones you pick
  • CAD: each project's CAD, at the state a simulation uses
  • Simulations: analysis type, the CAD state and mesh it uses, and the field paths of a parametric study. A simulation's revision changes when its setup changes, not when it is only renamed or saved.
  • Runs: status, progress, start and finish, and the core or GPU hours used
  • Sub-runs: one per parameter combination of a parametric run
  • Results of finished runs: solution fields, convergence plots, plots and tables, with the formats each exports to. Phloem records what each result is. It does not download any files while syncing.

What you need

  • A SimScale API key. SimScale gives keys to accounts with API access; ask your SimScale admin. The key reads what its user can read.
  • SimScale's v1 API, which SimScale marks as beta.

Connect

  1. In the console, open Connectors, choose Add connector, then SimScale.
  2. Enter the API key. Fill in API URL only if SimScale gave you a different address.
  3. Phloem checks the key.
  4. Pick the Projects to keep in Trace. Pick none to keep every project the key lists.
  5. Name and save the connection.

What Hamming can do

Read:

  • Projects: the projects the key can see, filtered by name
  • Simulation: one setup in full (physics, CAD state, mesh, parameters), or a project's simulations
  • Runs: a simulation's runs and their status, or one run with its sub-runs
  • Results: what a run or sub-run produced, filtered by type, category, quantity or name
  • Export: a download link for one result, for example a probe-point plot as CSV

API request reaches any SimScale v1 call. GET is a read, POST and PUT a change, DELETE a removal.

On the connector's page, an admin sets what Hamming may change: Allowed, Needs approval (the default: Hamming asks before each change) or Off. A removal always asks.

Notes

  • With no projects picked, each sync reads at most 200 projects.
  • SimScale does not notify Phloem of changes. Phloem checks every 5 minutes, so a run's status shows in Trace within about 5 minutes of changing.
  • A project, simulation or run deleted in SimScale leaves Trace. One the key can no longer read stays as it was.
  • Keep in Trace and Sync now are on the connector's page.

Connection fields

What the Add connector form asks for.

FieldTypeRequired
API key
SimScale gives API keys to accounts with API access; ask your SimScale admin for one.
SecretYes
Projects
Leave empty to keep every project the key lists (up to 200).
Project id
Any of—
API URL
Only when SimScale gave you another API address.
https://api.simscale.com/v1
Text—

Updated