Is it possible to use the profile/chord/sweep of the foils as an optimization parameter ? Is the software intended more for a manual optimization using the foil editor or can we autonomize the process ?
This can be done using a module. Please see AppendageOptimisationModule.js attached as an example. If optimizing the chord, you would need to create states like:
- Boat.Centre.ChordCP0
- Boat.Centre.ChordCP1
- Boat.Centre.ChordCP2
- Boat.Centre.ChordCP3
- Boat.Centre.ChordCP4
then include this module, which on each iteration will set the chord of 5 control points to the current state values. You could try this first outside of an optimisation – check that changing the value of a state manually changes the foil – then set them to optimise. You would need sensible limits on the chord min and max.
In the optimisation *.bic file, make sure to include the AppendageOptimisationModule.js. For instance:
This can be done using a module. Please see AppendageOptimisationModule.js attached as an example. If optimizing the chord, you would need to create states like:
- Boat.Centre.ChordCP0
- Boat.Centre.ChordCP1
- Boat.Centre.ChordCP2
- Boat.Centre.ChordCP3
- Boat.Centre.ChordCP4
then include this module, which on each iteration will set the chord of 5 control points to the current state values. You could try this first outside of an optimisation – check that changing the value of a state manually changes the foil – then set them to optimise. You would need sensible limits on the chord min and max.
In the optimisation *.bic file, make sure to include the AppendageOptimisationModule.js. For instance: