Jump to content
  • Announcements

    • Rahul Ponginan

      Please click here for a short but important announcement   03/26/17

      Dear Users Our Commercial and Academic users around the world can use these same forums here as before i.e. the Altair Support Forum , Commercial users from India with solver queries can go to the Solver Forum for India Commercial Users , Academic Users from India and AOC India Participants are requested to go to the Forum for India Academic Users and AOC India Participants , We will be tending to all queries in all the forums promptly as before, thank you for your understanding. 
mohammad

optimization

Recommended Posts

Hi

I want to know that can I use Hypermath function like fmincon or I my self write code in Hypermath and link it to model in Hyperwork and do optimization?

 

If yes, is there any source that i can use?

 

Best,

Mohammad

 

Share this post


Link to post
Share on other sites

Hi Mohammad

I am not sure optistruct can invoke user defined hypermath function for its optimizing work or not. If it can, you shoud try searching it in optistruct manual.

Hoping someone has known about this...

Share this post


Link to post
Share on other sites
31 minutes ago, tinh said:

Hi Mohammad

I am not sure optistruct can invoke user defined hypermath function for its optimizing work or not. If it can, you shoud try searching it in optistruct manual.

Hoping someone has known about this...

Thank you.

Do you know that, Is it possible to link model with fmincon?

 

Best,

Mohammad

Share this post


Link to post
Share on other sites

Hi

I am sorry. I don't know how to do

How linking do you need?

I did not ever use hypermath. I think hypermath cannot access hm database 

 

Share this post


Link to post
Share on other sites
1 hour ago, tinh said:

Hi

I am sorry. I don't know how to do

How linking do you need?

I did not ever use hypermath. I think hypermath cannot access hm database 

 

in Hypermath i can define a function and write code and also it has functions.

instated of define a function, i would like to define my model as function.

then do optimization.

Share this post


Link to post
Share on other sites
9 minutes ago, Prakash Pagadala said:

Hi Mohammad,

 

I think this can be done using DRESP3. I am checking with a HM expert on the same. I shall update you soon. 

Thank you so much for your consideration.

 

Honestly i have model in hyperwork and i wanted to do this by MSc.Nastran and matlab but my model is very complex and also i cant define any node to check the value of that in nastran output.

there for i should find a way, i search and i `m  going a little through hypermath and i found out that it has optimization function just like matlab.

i just wonder that, can i connect hypermath and hyperwork together and use my model as function, then see this just program language to do my project.

 

Thanks,

mohammad

Share this post


Link to post
Share on other sites

HyperMath tutorial 4030 shows an optimization example using HyperMath.  You would need to replace the analytical functions with code that modifies, run, and reads data from your "HyperWorks" session.  The API into a HyperMesh session is written in tcl, so a HyperMath function would need to execute tcl to modify a hm session.

 

There is no example I know of to do this, mostly because another Altair product such as HyperStudy can easily run optimization on a finite element model without any custom coding.  It is its raison d'etre.

Share this post


Link to post
Share on other sites
1 hour ago, jmpajot said:

HyperMath tutorial 4030 shows an optimization example using HyperMath.  You would need to replace the analytical functions with code that modifies, run, and reads data from your "HyperWorks" session.  The API into a HyperMesh session is written in tcl, so a HyperMath function would need to execute tcl to modify a hm session.

 

There is no example I know of to do this, mostly because another Altair product such as HyperStudy can easily run optimization on a finite element model without any custom coding.  It is its raison d'etre.

Thank you for your respone.

i didn't know anything about Hyperstudy, Thank you, i wanted do this with MINITAB and SPSS.

I want to develop an optimization code and apply it for structural optimization, and i should find a way to do this, i stick into problem in Msc.Nastran then I search for other way.

you mean by Hypermath, i can not access to data from optistruc i just need to find deflection of nodes and then set new parameters and again find new deflection automatically.

 

Share this post


Link to post
Share on other sites

I think you can.

Just let optistruct output nodal displacement then you can read that value to process. After that you can modify parameter in fem file or use tcl to modify model  in hm

Share this post


Link to post
Share on other sites
5 hours ago, tinh said:

I think you can.

Just let optistruct output nodal displacement then you can read that value to process. After that you can modify parameter in fem file or use tcl to modify model  in hm

Honestly I am new in Hypermath.

This is exactly what i want, i want to read specific nodes displacement and fetch it in function then do calculation in obtain new design variables and update my model and repeat this iterations until find optimum values.

But i don't know how to read Optistruc output and how to modify fem file, this is what i want to.

Do you have sample or manual for this?

 

I really appreciated for your comment.

Best,

Mohammad

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×