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.

Flipping or rotating geometry during time-dependent evaluation

Please login with a confirmed email address before reporting spam

Hi

I am trying to model and simulate the cooking process of frying a steak on a frying pan. I need some way of simulating the flipping of the meat after said time. How would I go about rotating my geometry (near) instantaneously?

Thanks Emil


4 Replies Last Post 9 févr. 2021, 11:47 UTC−5
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 4 févr. 2021, 06:27 UTC−5

Emil,

nice project with high real world significance ;-).

My suggestion is not to rotate the geometry but switch the boundary conditions on both sides of the meat. You will need to apply some ramping though, time dependent solvers don't like (near) instantaneous changes.

Cheers Edgar

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Emil, nice project with high real world significance ;-). My suggestion is not to rotate the geometry but switch the boundary conditions on both sides of the meat. You will need to apply some ramping though, time dependent solvers don't like (near) instantaneous changes. Cheers Edgar

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 9 févr. 2021, 03:47 UTC−5

Dear Mr. Kaiser

Thanks for your reply, that solution seems very viable to me! This is my first time working in COMSOL, so I apologize for my little knowledge. What function within the software should I utilize to change boundary conditions during time dependent solving, ie. set a "flip" of boundary conditions after 30 secs?

Dear Mr. Kaiser Thanks for your reply, that solution seems very viable to me! This is my first time working in COMSOL, so I apologize for my little knowledge. What function within the software should I utilize to change boundary conditions during time dependent solving, ie. set a "flip" of boundary conditions after 30 secs?

Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 9 févr. 2021, 09:46 UTC−5

Hi,

If both conditions are different temperature conditions, then an expression like

(t<30[s])*225[degC]+(t>=30[s])*23[degC]

(and vice versa for the other side) would flip the temperature conditions from the hot side (225 degrees C, for example) to the surrounding temperature (23 degrees C , for examplel) after 30 seconds. The logical operators provide a factor that is 0 when false and 1 when true. There are also operators and a Step function that you can use to get a smoother transition. See the section called "Specifying Discontinuous Functions" in the user documentation.

Best regards, Magnus Ringh

Hi, If both conditions are different temperature conditions, then an expression like `(t=30[s])*23[degC]` (and vice versa for the other side) would flip the temperature conditions from the hot side (225 degrees C, for example) to the surrounding temperature (23 degrees C , for examplel) after 30 seconds. The logical operators provide a factor that is 0 when false and 1 when true. There are also operators and a Step function that you can use to get a smoother transition. See the section called "Specifying Discontinuous Functions" in the user documentation. Best regards, Magnus Ringh

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 9 févr. 2021, 11:47 UTC−5

Hi,

Thank you very much for that reply. I will try out those types of logic functions. I appreciate the fast response!

Hi, Thank you very much for that reply. I will try out those types of logic functions. I appreciate the fast response!

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.