Jump to content
hiten

Composite size optimization plypercentage

Recommended Posts

 

How to define ply percentage & balance constrained in HyperStudy?

Following are definition from fem file.

 

DCOMP   1       STACK   2      

+       PLYPCT  45      20      25      BYANG                  

+       PLYPCT  90      55      60      BYANG                  

+       PLYPCT  45      20      25      BYANG                  

+       BALANCE -45.0   45.0            BYANG

 

I have created model in hm for 32 ply. In hyper stydy I am defining discrete design variable for ply direction which will take up values -45,0,45,90.

But I am unable to add ply percentage & balance constraints in hyper study.

 

32_ply.fem

Edited by hiten

Share this post


Link to post
Share on other sites

We are working on your query. We will get back to you soon.Also if you have can share .fem file it would be nice to test this.

Hypermesh 2017 has some updates on Parameterization.PFA screenshot for same.

Hypermesh Parameterization.JPG

Share this post


Link to post
Share on other sites

Since your question on optimization constraint,we would like to back up and understand how the variables could be defined in this problem.It would be nice if you could share .hstx file of Hyperstudy. 

If possible explain more info about your use case.

Share this post


Link to post
Share on other sites

PFB solution from HyperStudy expert.

 

The user will have to calculate the percentages manually.  He could either create an explicit calculation in the expression builder:

 

((m_1_varname_1 == 90) + (m_1_varname_2 == 90) + (m_1_varname_3 == 90) + … )/32

 

Or he could register a function that does the calculation for him.  In HyperMath, this would work:

 

function percentageMatches(vector,target)

                y=vector==target

                z=Sum(y)/Length(vector)

                return z               

end

 

Then the expression builder would be something like

 

percentageMatches({m_1_varname_1, m_1_varname_2, m_1_varname_3,…}90)

 

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.

Guest
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.


×
×
  • Create New...