Jump to content
Sign in to follow this  

Reanalysis of Topology Optimization Results

Recommended Posts


i need your help...


i have the topology optimization results of different FEA Solvers. Now i would like to reanalyze it in hypermesh.

All optimizations based on the same mesh. For the reanalysis i have the .fem Modell.

For each optimization i have a result file in the form:

element_id  density
1                   0.1
2                   0.121
3                    0.9

Its a file with several thousand lines..

I would like to do this steps:

1)load the .fem file
2)load the result file
3)create components for the elements with the same density
4)create properties for every density
5)assign the property with the corresponding density to the elements
--> reanalyse

I dont know how to implement this. I have no experiance with programming in hypermesh. Is there a way to do this?

In return, I will present my results here.


Thany you



Share this post

Link to post
Share on other sites

Hi Prakash Pagadala,


thank you for your answer. I would like to do a reanalysis without smoothing. With smoothing i cant compare the results because smoothing has a high Impact.



Is it possible to create a macro?


Thank you


Share this post

Link to post
Share on other sites



Does your model has solid elements?


I will check if there is any script available which can create properties and components based on a text file which has thickness, element ID etc...


If not, you may have to create your own macro :)

Share this post

Link to post
Share on other sites

Yes, it has solid Elements. It would be great if you find a Script.


Otherwise, is it possible to give me some advise to create a Script in hypermesh? I have no experiance and dont know how to start..


thank you 

Share this post

Link to post
Share on other sites

Dear users


I am aware this is an old post, but this is the most relevant conversation I have found about my problem and I would like to share my solution with those who will have the same doubt in the future.

My problem is to re-analyse a model assigning the element densities (from file .*sh) generated after topology optimisation.

The reason for the re-analysis is explained by the fact that some boundary conditions change and I need to apply the new conditions on the optimised structure.

Obviously the mesh does not change.

OSSmooth is not a viable solution in my case.

What I have done is.

1) Run topology optimisation, introducing an OptiControl on the MINDENS parameter (for example MINDENS=0.1).

2) Save the .*sh file which relates the elements ID to the density value.

3) Modify the *.hm and *.fem file updating the boundary conditions as I needed.

4) Then from OptiStruct I selected restart-->reanalysis and at this point I use the updated *.fem file and the *.sh file previously saved. I also set a density threshold < MINDENS.

     If you check the Optistruct run options you will find that imposing a threshold < MINDENS makes sure that Optistruct restarts from the density values in the *.sh file.


This work fine for me. I do not know if there is a clever solution to this specific problem.

Anyway, hope this can help.




Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...