Skip to content

Commit db4cfa9

Browse files
committed
comparing inits
1 parent 1c2f553 commit db4cfa9

File tree

7 files changed

+501
-311
lines changed

7 files changed

+501
-311
lines changed

examples/ansys/forum.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22

33
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. For this optimization the starting and ending positions of all the bar segments can be control by setting its angular positions. Hence for 8 segments this results in 16 free parameters. Below there are two images of two selected initial conditions:
44

5-
| Grid initial conditions | Star initial conditions |
5+
| Grid initial conditions | Random initial conditions |
66
| ------------- | ------------- |
7-
| ![grid](imgs/grid_surface.png) | ![star](imgs/star_surface.png) |
7+
| ![grid](imgs/grid_surface.png) | ![star](imgs/rnd_surface.png) |
88

99
For the boundary conditions, we fix the nuckles as they would be bolted to the rocket by setting the corresponding mesh vertices to Dirichlet. Additionally we add an out of plane load at the very end of the fin geometry. The boundary conditions are illustrated here:
1010

1111
![BCs](imgs/boundary_conditions.png)
1212

13+
To simulate the grid fin under Max-Q loads, we employ a linear elastic solver, assuming small deformations and Hookean material behavior. Our optimization goal is to maximize stiffness, which is mathematically equivalent to minimizing Compliance. Minimizing Compliance minimizes the total strain energy stored in the body, ensuring the fin remains rigid and aerodynamically effective during re-entry.
14+
1315

1416
## Workflow
1517

@@ -32,4 +34,8 @@ Aditionally there is python code that is responsible for setting the boundary co
3234

3335
## Optimization
3436

35-
...
37+
As a very first experiment we compare the compliance of the two initial conditions. The grid arrangement, with a total compliance of 148 is clearly better than the random arrangement that achieves a compliance of 148. Below is a plot of the strain energy and the sensitivies of the compliance field with respect to the density field. A negative sensitivity indicates that the solver suggest adding material in the specified locations. We can observe a tendency to increase the thickness of the bars, indicicated by more negative values that are following the contours of the object. This, however is not possible under the parametrization of the objects.
38+
39+
![Workflow](imgs/sim_comparision.png)
40+
41+
If we apply
-10.3 KB
Loading
31.8 KB
Loading
106 KB
Loading
74.9 KB
Loading

examples/ansys/rho_fin_optim.gif

24.7 KB
Loading

examples/ansys/spaceclaim_pymapdl.ipynb

Lines changed: 492 additions & 308 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)