Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Optimizing only a spectral band - Harmonic Problem
Posted 28 apr 2023, 17:36 GMT-4 Acoustics & Vibrations, Optimization 1 Reply
Please login with a confirmed email address before reporting spam
Hi everyone, I'm doing a parametric optimization where I obtain the velocity response at a point in the solid, within a given frequency range (0-10kHz) through a point probe, but I want to minimize it only in 2-5kHz. I tried to define my objective function to be the average velocity in this shorter range of the spectrum, however, I can't find a way to get this vector of velocity response in the desired range to perform the average. Is there a way to define the objective function this way directly in COMSOL?
Im using a stepsize of 50Hz, so the vector will have about 60 points.