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.
Objective function for time-dependent optimization in thin film simulation
Posted Oct 15, 2024, 8:31 a.m. EDT Acoustics & Vibrations, Modeling Tools & Definitions, Optimization 1 Reply
Please login with a confirmed email address before reporting spam
Hello everyone,
I recently started working on COMSOL to solve a problem on a 2D squeeze film gas-lubrication. I want to perform a time-dependent optimization, however I am encountering some issues.
As my geometry is a short height cylinder surface which represents the profile, and the pressure is evaluated around the circular surface. My idea is to perform the time dependent optimisation is to use a Squared Error function.
The idea is to minimize the value of the function to find the steady stable pressure range of the system. However, I am not able to introduce the pfilm dependent variable, for which the Thin-Film Flow (tff) module is solving, as a variable in the objective function, however Comsol returns a message saying that the variable pfilm is not defined, also I tried using "tff.pfilm". I also tried using the average operator and integral operator but returns the same error.
I dont have that much experience with comsol yet, is anyone able to help me or provide any hints?
Thank you! Joan
Attachments: