Geometry does not follow FFD-Points #250
Replies: 3 comments 5 replies
-
Are you sure you included both the front and back parts of the geometry in "designSurface" in daOptions? Also, did you load both the geometry and FFD to make sure they make sense? Did you see some folders called 0.0000001, 0.0000002 generated? Did you run your job in parallel? If yes, you need to choose "Decompose" when viewing it in Paraview, otherwise, you won't see the geometry change. Or you can first do reconstruct, then visualize. Check this: https://dafoam.github.io/mydoc_get_started_faq.html#how-to-reduce-the-size-of-parallel-optimization-results |
Beta Was this translation helpful? Give feedback.
-
OK, if you have only one folder generated (0.00000001), it means that the optimization did not have any progress. The possible reasons: 1. The adjoint did not converge. 2. The FFD displacement bounds are too large such that it keeps giving you negative volume mesh. 3. The flow did not converge very well so that the gradient is not accurate anyway. Can you upload the runScript.py and the optimization log for debugging? |
Beta Was this translation helpful? Give feedback.
-
I have another small update. Now it does actually create a folder 0.0000002 but there is still no displacement visible. Could this also be a memory issue ? |
Beta Was this translation helpful? Give feedback.
-
I have a geometry where I only want the front part to be optimized.
So I created a plot3D-File around my geometry which contains two blocks.
One block covering the front and one covering the back.
For the Design Variable Set-Up I selected only the front block,
but after my simulation was finished the solver did not modify the mesh at all.
Although the FFD-points have moved quite significantly as can be seen in the image below where I displayed them in the first 3 iterations.
I used the Option
"writeDeformedFFDs": True,
to get the deformed FFD-states and I displayed them in this picture via the Tecplot-Converter which you provide with the docker-image.Beta Was this translation helpful? Give feedback.
All reactions