-
-
February 3, 2025 at 8:20 pm
pierluigiastarita99
SubscriberHello everyone!!!I am trying to complete a size optimization of a Moth hull for a university project, and I have encountered a problem as I go to run the optimization.The problem is related to the parameterization of the material of a specific ply, which in my case I want to allow to change between carbon UD and flax UD. For a "property" such as "ply material" the parameter format is a “string” type, so from the ACP User Guide on page 269 it is said for this type that: Text string from a list of strings. The values in the string list can be called up via an index number in the Workbench interface.The first entry in the string list has the index value 1. The rest follows sequentially.As the string text, I selected the two “Fabric” for flax (lino) and carbon as shown in the following figure:Going to run the optimization I set that the value of the ply material can vary between 1 and 2 (since I want to vary between the two materials chosen) the problem however is that even though these values were varied the material within the ACP setup for that ply remained unchanged, thus going to run the simulation always with the same material applied.I think my error lies in some wrong setting, how can I solve it? Any help is welcome. -
February 7, 2025 at 6:25 pm
Reno Genest
Ansys EmployeeHello,
There are a few different ways to do this. The first way is similar to what you are trying to do:
- Select a ply as "Object" and fabrics as "String list".
In this method, you have to select a ply (from the Modeling Groups) as "Object", set the "Property" to "Ply Material", and select Fabrics as "String list". Here is an example:
This way, if I set the Carbon or Flax parameter to "1", I get the carbon fabric as "Ply Material":
If I set the Carbon or Flax parameter to "2", I get the Flax fabric as "Ply Material":
Let me know if this helps or not.
Reno.
-
February 7, 2025 at 6:33 pm
Reno Genest
Ansys EmployeeHello,
Another way to do this is to create a parameter on the fabric itself.
2. Select a Fabric as "Object" and Materials as "String list".
In this case, I create a special fabric named "Carbon or Flax". When creating the parameter, I set the "Object" to the "Carbon or Flax" fabric and use the Carbon and Flax materials as "String list". Also, I set the "Property" to "Material":
Also, I set the ply to use the "Carbon or Flax" fabric:
Now, if I set the "Carbon or Flax" parameter to "1", the "Carbon or Flax" fabric will use the carbon material:
If I set the parameter to "2", the flax material is used for the "Carbon or Flax" fabric:
Let me know how it goes.
Reno.
-
- You must be logged in to reply to this topic.
- Creating Fluent Web Apps using optiSLang 2021R2.mp4
- Adjoint Method for Optimising Diodicity of Tesla Valve
- Response constraint not allowing structural optimization to solve.
- Output parameter as an exported text data file
- The trouble-shooting that using python to control HFSS
- DP0 The Design of Experiments component in Response Surface could not be updated
- ACP-pre Parameters: Ply Material issue
- Harmonic Frequency respons into signal processing
- Fluent Editor Error
- how to get stress at a node and put it in a parameter for use with optimization
-
2342
-
925
-
599
-
591
-
527
© 2025 Copyright ANSYS, Inc. All rights reserved.