Skip to content

Commit 807792d

Browse files
committed
start with forum post
1 parent f3026bd commit 807792d

File tree

8 files changed

+19
-0
lines changed

8 files changed

+19
-0
lines changed
282 KB
Loading

examples/ansys/forum.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Grid fin optimization with ANSYS SpaceClaim and PyANSYS
2+
3+
We want to perform a parameter optimization on a SpaceX-style grid fin geometry to maximize stiffness while maintaining a strict mass limit. This ensures the fin remains rigid during re-entry Max-Q (maximum dynamic pressure) for robust aerodynamic control. To demonstrate a realistic engineering workflow, we demonstrate a gradient based end to optimization that plugs into ANSYS Spaceclaim as a design software and uses PyANSYS to setup a differentiable finite element simulation. The workflow involves three Tesseracts:
4+
5+
6+
- **Ansys SpaceClaim Tesseract** takes a set of differentiable and non differentiable parameters and injects them into a SpaceClaim script that generates the grid fin geometry. It then returns returns the resulting triangular surface mesh as a list of points and faces. More about this here: ...
7+
8+
- **SDF & Finite Difference Tesseract** takes the same set of geometry parameters, passes them to the Spaceclaim Tesseract (Or any other Tesseract that returns a polygon mesh) and computes the signed distance field for the geometry on a regular grid. Additionally, the Tesseract is differentiable and computes Jacobian of the SDF field with respect to the design space parameters using finite differences. It has some additional features, such as precomputing the Jacobian while the rest of the pipeline is busy with computing primals and vector jacobian products (vjp) of later steps. In theory, we can plug any Tesseract that conforms to the in and output schema of the SpaceClaim Tesseract.
9+
10+
- **PyMapDL Tesseract** takes a hex mesh, the boundary descriptions and computes the strain energy for all cells as well as the total compliance. It uses the PyMapDL library to setup a fully differentiable FEM solver for linear elasticity. More about this here: ...
11+
12+
The Tesseracts are then composed into a fully differentiable workflow using Tesseract-JAX.
13+
14+
![Workflow](workflow_1.png)
15+
16+
In order to der
17+
18+
19+
Note that the function that computes the boundary conditions and constructs the hex mesh do NOT need to be differentiable, as we are only differentiating with respect to the quantities that are carried on mesh cells, but not the mesh itself.

examples/ansys/grads.png

299 KB
Loading

examples/ansys/rho.png

125 KB
Loading

examples/ansys/sdf_cell.png

217 KB
Loading

examples/ansys/sens_energy.png

175 KB
Loading

examples/ansys/workflow.png

-1.65 MB
Binary file not shown.

examples/ansys/workflow_1.png

2.06 MB
Loading

0 commit comments

Comments
 (0)