I have tried some examples (normally 2D or Simple 3D) in Peregrine, and sometimes it can not give a solution with solution exception warning. May I know what could be the main reason for me to debug?
Have you modified the examples? All of the example files should be working correctly, if they’re not, please could you let me know which files so that I can investigate.
The best method of debugging this problem is probably as follows:
- Create a domain mesh from the Box2pt grasshopper component - ensuring that it encompasses the entire domain from your problem.
- Add point supports at the corners of this box.
- Add a load case with a single point load within this domain.
By swapping out the inputs into the various components from this simple case with those from your more complicated case, you can track down the problem.
Looking at your example, it appears that the software is having difficulty with the domain mesh. There are many possible reasons for this, such as your mesh not being closed, or non-manifold. There may be Grasshopper tools to check for this.
I have attached a file that uses a much simpler box mesh, with the load case, supports, and nodes that you have defined, for which Peregrine is able to find a solution.
In general, for more complicated problems, I would recommend building up your problem from a simple case, without using user defined nodes and with a small nodal division, checking that your problem is solvable at every step. This should help you spot any errors as soon as they appear.
Saying if the example is with a irregular mesh, is it possible to generate the optimized layout on the surface of the mesh rather than inside the mesh zone?
It is possible to generate the optimized layout on any domain that encompasses both the load case and the supports. Constructing a solution on only the surface of some volume is not currently implemented, but is a possibility we are investigating for a future release.
And if it is possible for peregrine to further optimized based on my defined layout curves as I draw in Rhino?
It is possible to add pre-existing structures and check the minimum volume solution for these. See Structure_ConstructTopology.gh in the example files.
I hope this helps, and please let me know if you have any further questions.
OPT2.gh (40.0 KB)