Skip to content

Commit 7d9c652

Browse files
authored
Merge branch 'ansys' into ansys_pymapdl_demo
2 parents 9a7647e + 22a8f05 commit 7d9c652

27 files changed

+1085
-1699
lines changed

examples/ansys/bars_mesh.vtk

-72.5 KB
Binary file not shown.

examples/ansys/grid_mesh.vtk

0 Bytes
Binary file not shown.

examples/ansys/optim_bars.ipynb

Lines changed: 267 additions & 1141 deletions
Large diffs are not rendered by default.

examples/ansys/optim_grid.ipynb

Lines changed: 817 additions & 557 deletions
Large diffs are not rendered by default.

examples/ansys/rho_optim_sum_2.gif

518 Bytes
Loading

examples/ansys/sdf_fd_tess/tesseract_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def compute_sdf_pyvista(
217217
pv_mesh = pv.wrap(geometry)
218218
grid = pv.ImageData(
219219
dimensions=(Nx, Ny, Nz),
220-
spacing=(Lx / Nx, Ly / Ny, Lz / Nz),
220+
spacing=(Lx / (Nx - 1), Ly / (Ny - 1), Lz / (Nz - 1)),
221221
origin=(
222222
grid_center[0] - Lx / 2,
223223
grid_center[1] - Ly / 2,
9 Bytes
Binary file not shown.
-522 KB
Binary file not shown.
-1.07 MB
Binary file not shown.
-1.07 MB
Binary file not shown.

0 commit comments

Comments
 (0)