Skip to content

Commit 833d349

Browse files
Merge branch 'ansys' of https://github.com/pasteurlabs/tesseract-jax into spaceclaim_tesseract
2 parents cbc773e + 50333a2 commit 833d349

21 files changed

+26936
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "examples/fem-shapeopt/jax-fem"]
2+
path = examples/fem-shapeopt/jax-fem
3+
url = https://github.com/andrinr/jax-fem.git

examples/ansys/Readme.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# ANSYS Tesseract Integration
2+
3+
This directory contains an example Tesseract configuration and scripts demonstrating how to use Tesseract-JAX with ANSYS spaceclaim and PyMAPDL.
4+
5+
## Get Started
6+
7+
### SpaceClaim Tesseract
8+
9+
On a machine that has ANSYS SpaceClaim installed, create a new python environment and install the required dependencies by running:
10+
11+
```bash
12+
pip install -r spaceclaim/tesseract_requirements.txt
13+
```
14+
15+
Then navigate to the `spaceclaim` directory and start the Tesseract runtime server with:
16+
17+
```bash
18+
uv run tesseract-runtime serve
19+
```
20+
21+
Note that we dont build a Tesseract image for SpaceClaim in this example. This is because SpaceClaim cannot be installed in a containerized environment.
22+
23+
### PyMAPDL Tesseract
24+
25+
On

examples/ansys/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from . import _version
2+
3+
__version__ = _version.get_versions()["version"]
4+
5+
# import public API of the package
6+
# from . import <obj>
7+
8+
# add public API as strings here, for example __all__ = ["obj"]
9+
__all__ = []

0 commit comments

Comments
 (0)