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

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

##### Share on other sites

Please find attached file in message above.

##### Share on other sites

Thanks for sharing files.We will get back to you soon.

Please note: If you are a commercial customer, you can also contact your local support http://www.altairhyp...ortProduct.aspx

##### 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 on other sites
On 3/29/2017 at 6:06 AM, Rahul R said:

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)

Hello,

Could you please explain me, what is PLYPCT i know the basic definition but how to use or what percentage should i give to my plies?

Thank you

SFM

##### Share on other sites

Hi @Faisal

PlyPCT is an OptiStruct card.

This simply constraints the percentage of a particular ply/direction in a laminate, avoiding it to "overtake" the whole laminate.

There's no "right" value for this. It should be be chosen according to your design requirements. You could prescribe the maximum absolute thickness as well. Again, it is a design choose.

For percentage, you would work probably with something between 20 yo 40% but it really depends on your laminate and requirements.

In general i use it to avoid a too large thickness for some orientation.

##### Share on other sites
On 9/1/2020 at 12:42 PM, Adriano A. Koga said:

Hi @Faisal

PlyPCT is an OptiStruct card.

This simply constraints the percentage of a particular ply/direction in a laminate, avoiding it to "overtake" the whole laminate.

There's no "right" value for this. It should be be chosen according to your design requirements. You could prescribe the maximum absolute thickness as well. Again, it is a design choose.

For percentage, you would work probably with something between 20 yo 40% but it really depends on your laminate and requirements.

In general i use it to avoid a too large thickness for some orientation.

Hello,

Thanks for your reply, after i am doing shuffle optimization my plies ID and plies name are interchnanging with other plies, since i am using 3 different material and its very difficult to check each plies property because in my model i am having more than hundred plies. Please let me know if you have any idea.

Thanks

##### Share on other sites

This is strange. Have you requested the output,html,yes?

It gives you a visual output of the shuffled result so that you could double check the final stacking.

##### Share on other sites
16 hours ago, Adriano A. Koga said:

This is strange. Have you requested the output,html,yes?

It gives you a visual output of the shuffled result so that you could double check the final stacking.

Since I am using three materials and it is very difficult to cross check each plies. Do you have any solution for this? Also i have cross checked with .prop file and the ply IDs are different.

Thanks

## Join the conversation

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

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.