
Re: Simple optimization question of two variables
Solid Air Feb 5, 2018 10:50 PM (in response to Marco Wu)Can you post your model or at least some screen shots please.
EDIT: How much should A + B be less then the overall height

Re: Simple optimization question of two variables
Marco Wu Feb 5, 2018 11:04 PM (in response to Solid Air)
Re: Simple optimization question of two variables
Solid Air Feb 6, 2018 8:04 AM (in response to Marco Wu)How much weight minimization are you looking for?
What are the diameters for depth A & B?
What is the minimum thickness before B depth breaks through part?
This question does seem so simple?

Re: Simple optimization question of two variables
Marco Wu Feb 6, 2018 11:26 AM (in response to Solid Air)How much weight minimization are you looking for? (Look for the best value)
What are the diameters for depth A & B? (diameter A can be anything but larger than diameter B, and diameter A cannot be larger than the width of the rectangle part)
What is the minimum thickness before B depth breaks through part? (The B min is 0.1)
This question does seem so simple?
Here are the condition statements
 dia A > dia B
 depth A + depth B < part thickness
 dia A < part width
 min(depth B) = 0.1

Re: Simple optimization question of two variables
Dustin Perreault Feb 6, 2018 12:53 PM (in response to Marco Wu)
Re: Simple optimization question of two variables
Marco Wu Feb 6, 2018 5:43 PM (in response to Dustin Perreault)I have a more complicated problem over 10 variables with many relations between each variable. I put the simplest example here for discussion. I want to learn and get help of how to add relations between each variable for optimization. There are a few thermal condition that I did not put here, those are control the factor of safety

Re: Simple optimization question of two variables
Dustin Perreault Feb 7, 2018 11:01 AM (in response to Marco Wu)I understand now, I have only tried this with a static study however you may be able to use a Thermal study instead. I am not sure if it is what you are looking for or not but it will vary dimensions that you specify between values that you also specify. It will change these variables and see if it is closer to your goal (which can be set to minimize mass). You can also set the number of iterations to optimize further. It will then offer a few different design considerations.
Instead of trying to explain how to do it I will just leave you a link to an example. It is fairly straightforward once you mess with it for a while.
SOLIDWORKS  Setup a Structural Optimization Study  YouTube
EDIT: Here is an example of a thermal study

Re: Simple optimization question of two variables
Marco Wu Feb 8, 2018 5:08 PM (in response to Dustin Perreault)The static study can have thermal input
For the optimization youtube video, the problem is the variables are independent. It is not my case.

Re: Simple optimization question of two variables
Dustin Perreault Feb 9, 2018 1:24 PM (in response to Marco Wu)I would have to see your specific problem to diagnose it further. Any chance you could upload the model?








Re: Simple optimization question of two variables
Taus Moller Mar 2, 2018 10:55 AM (in response to Marco Wu)What tool are you currently using for your optimization? You should take a look at CORTIME.
CORTIME lets you set up multiobjective optimizations using a large range of Solidworks resources as variables and objectives. It looks like i might just be a perfect fit for what you are trying to do. In the multiobjective optimization you can use objectives as a soft constraint on your design. It will not enforce the constraint strictly but will penalize designs that break the constraints and thus make the optimization reject solution that break your constraints.
You can try it out for free, and see if it helps you. Feel free to ask, if you have any questions at all, or need help with getting started.