Skip to main content

Launch SPARK3D simulations by batch; list of powers or accelerating fields.

Project description

Spark3DBatch

Python library to launch (batch) Spark3D simulations. SPARK3D versions > 2016 should be supported, but last tests were done on SPARK3D 2025 SP4.

Installation

  1. Create a dedicated Python environment, activate it.
  2. Run pip install spark3d-batch.

[!NOTE] If you are completely new to Python and these instructions are unclear, check this tutorial. In particular, you will want to:

  1. Install Python 3.9 or higher.
  2. Learn to use Python environments, pipenv or virtualenv.
  3. Install a Python IDE such as Spyder or VSCode.
  1. Set the environment variable $SPARK3DPATH to point to the folder containing the SPARK3D executable. In general, adding the following line to your .bashrc will do the trick:
    export SPARK3DPATH="/opt/cst/CST_Studio_Suite_20XX/SPARK3D/"
    

[!IMPORTANT] Not tested on Windows.

Usage

Two options:

  1. Provide a SPKX file,
  2. Provide a XML file and a field map.
    • XML can be generated by unzipping a SPKX file, allowing you to modify the simulation parameters with a script.
    • Field maps can be F3E, DSP or MFE.

To-do

Important

  • Allow for control over accelerating field instead of power
  • Change how the path to SPARK3D is declared. Currently not robust at all.

Secondary

  • Package test data

Tertiary

  • Complete installation instructions
  • Static typing to detect allowed keys in XML
  • CLI interface
  • On pip
  • Tests
  • Use logging instead of printc
  • Add release.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spark3d_batch-0.1.7.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spark3d_batch-0.1.7-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file spark3d_batch-0.1.7.tar.gz.

File metadata

  • Download URL: spark3d_batch-0.1.7.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spark3d_batch-0.1.7.tar.gz
Algorithm Hash digest
SHA256 235ec08a88aeab0660db35214aee4af85470e5dec69a298bba00cefa11e1df3e
MD5 903ffe8891a3420f9667bd7e0c4ecf16
BLAKE2b-256 a45c4ea636428155f0907c0eebf5bc3e4337fd20485bb8b62798366a16ef0c5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for spark3d_batch-0.1.7.tar.gz:

Publisher: release.yml on AdrienPlacais/Spark3DBatch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spark3d_batch-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: spark3d_batch-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spark3d_batch-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ba7e5ed909546e04d3688856fcfe133169e14c968a472d2de2becca7c54577e2
MD5 661cad3927feb39fd670cb35ab0b9cac
BLAKE2b-256 80f37ecc18549b79408da36941745edf3f85a25129169d8d0d366c297c9e5bb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for spark3d_batch-0.1.7-py3-none-any.whl:

Publisher: release.yml on AdrienPlacais/Spark3DBatch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page