Closed suurj closed 12 months ago
I am closing this issue because it is possible to implement a custom problem by manually constructing the InpContent
struct by calling (with properly typed arguments) inpcontent = TopOpt.TopOptProblems.InputOutput.INP.Parser.InpContent(node_coords,celltype,cells,nodesets,cellsets,E,ν,density,nodedbcs,cloads,facesets,dloads)
and after that problem = InpStiffness(inpcontent)
Hey, sorry this issue dropped off my radar. I just saw it. Your solution is indeed the right solution, well done figuring it out from reading the src! Please open an issue and ping me if you have any more questions or join our Slack channel #topopt
on the Julia Slack.
Hi,
No problem, and thanks! We are doing topology/shape optimization stuff at the moment and might drop by the Slack channel sometimes (we have joined already).
Good luck!
We would like to perform topological optimization (minimizing the compliance) in TopOpt with a given initial mesh (let us say with linear triangle/tetrahedral elements in either 2D or 3D). However, is there a way to construct a TopOpt problem with the mesh without using the INP import feature? Basically, we would want to construct Ferrite grid with the mesh, and then assign the loads and other boundary values in a suitable problem struct in TopOpt. Most likely this is all we need because our meshes and load models are manageably simple.
Additionally, is there a sample INP file available for experimenting with the INP import feature?