Deep Drawing and Cutting Simulations (DDACS) Dataset - Python interface
Project description
Deep Drawing and Cutting Simulations (DDACS) Dataset
A Python package for accessing and processing the Deep Drawing and Cutting Simulations (DDACS) Dataset. It includes a CLI for downloading datasets from DaRUS and a Python API for accessing simulation data with metadata.
Simulation with the tool geometries and various additional information like sheet metal thinning, stress and strain.
Table of Contents
Installation
pip install ddacs
For PyTorch integration, install PyTorch first following the official instructions for your CUDA version.
Download Dataset
Download the dataset using the ddacs CLI:
# Download full dataset (requires ~1TB storage)
ddacs download
# Download small test set for quick demos (requires ~50GB storage)
ddacs download --small
# Show dataset info and available versions
ddacs info
Important: The full dataset is approximately 1TB in size. Ensure you have sufficient storage space. The download may take several hours depending on your internet connection.
Options:
| Flag | Description |
|---|---|
VERSION |
Dataset version to download (default: 2.0) |
--small |
Download small test set for demos |
--out ./path |
Custom output directory (default: ./data) |
--no-extract |
Skip extraction of zip files |
--keep-zip |
Keep zip files after extraction |
-y, --yes |
Skip confirmation prompt |
Basic Usage
from ddacs import iter_ddacs, count_available_simulations
import h5py
import numpy as np
# Count available simulations
count = count_available_simulations("./data")
print(f"Available simulations: {count}")
# Iterate over samples (skip_missing=True for partial downloads)
for sim_id, metadata, h5_path in iter_ddacs("./data", skip_missing=True):
with h5py.File(h5_path, "r") as f:
displacement = np.array(f["OP10"]["blank"]["node_displacement"])
print(f"ID={sim_id}, shape={displacement.shape}")
break
PyTorch Integration
from ddacs.pytorch import DDACSDataset
from torch.utils.data import DataLoader
dataset = DDACSDataset("./data")
dataloader = DataLoader(dataset, batch_size=4, shuffle=True)
for sim_ids, metadata_batch, h5_paths in dataloader:
# Your training code here
break
For more examples, see the full documentation and notebooks/dataset_demo.ipynb.
Citation
If you use this dataset or code in your research, please cite both the dataset and the paper:
@dataset{baum2025ddacs,
title={Deep Drawing and Cutting Simulations Dataset},
subtitle={FEM Simulations of a deep drawn and cut dual phase steel part},
author={Baum, Sebastian and Heinzelmann, Pascal},
year={2025},
version={2.0},
publisher={DaRUS},
doi={10.18419/DARUS-4801},
license={CC BY 4.0},
url={https://doi.org/10.18419/DARUS-4801}
}
@article{heinzelmann2025benchmark,
title={A Comprehensive Benchmark Dataset for Sheet Metal Forming: Advancing Machine Learning and Surrogate Modelling in Process Simulations},
author={Heinzelmann, Pascal and Baum, Sebastian and Riedmüller, Kim Rouven and Liewald, Mathias and Weyrich, Michael},
journal={MATEC Web of Conferences},
volume={408},
year={2025},
pages={01090},
doi={10.1051/matecconf/202540801090},
url={https://www.matec-conferences.org/articles/matecconf/abs/2025/02/matecconf_iddrg2025_01090/matecconf_iddrg2025_01090.html}
}
Development
git clone https://github.com/BaumSebastian/DDACS.git
cd DDACS
pip install -e ".[dev]"
pre-commit install # Setup code formatting hooks
pytest # Run tests
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ddacs-2.1.0.tar.gz.
File metadata
- Download URL: ddacs-2.1.0.tar.gz
- Upload date:
- Size: 32.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36256f39f9954f9d091c5f4b77f3493ea1a8c770ce168caf4e48d65244f15dcd
|
|
| MD5 |
07b6f5de3574813373db7e1483ed9583
|
|
| BLAKE2b-256 |
93d9bf81a4832454c0f346f0e70ef92ef0ac89f91aa8da53ad0ec91cb20f0165
|
File details
Details for the file ddacs-2.1.0-py3-none-any.whl.
File metadata
- Download URL: ddacs-2.1.0-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6a0eb72832c3044848f7e86c816b8554520153f576a1e839eaa3ae1d82de674
|
|
| MD5 |
5b3d721404347b9f1c9558ff13a9c99c
|
|
| BLAKE2b-256 |
1977ac35bf96aadad5c138f02ebac11353ef0177390eddfa2767193da1fb085d
|