Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Time dependent fluid problem

Please login with a confirmed email address before reporting spam

Hi
I am trying to model a time dependent flow of a newtonian fluid in 2D. The geometry I'm using has sliding walls which cause a flow to be established. The aim of using a time dependent simulation is to gain a qualitative idea of the fluctions of the flow established. I am new to COMSOL and was just following a tutorial in which a step function is used to smoothly ramp up the velocity. I have used this to smoothly increase the speed of the walls to a predefined value and this solves fine.

My question is whether a step function is required or if a time dependent simulation can be done with the walls moving at the predefined value from the begining of the simulation and what difference this will make.

This is rather open ended so any input is appreciated
Cheers,
Finnian

2 Replies Last Post 12 gen 2014, 15:30 GMT-5
Phillip COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 10 gen 2014, 05:48 GMT-5
Hi Finnian,

it is, in principle, possible to start your simulation with moving walls starting at predefined velocity values. However, you may end up with convergence problems; from a numerical point of view, a predefined wall velocity is equal to an infinite wall acceleration at t=0 (if the initial fluid velocity is zero).
The step function is used to increase the velocity smoothly to avoid numerical complications. In fact, finite wall acceleration is also the physically correct way to handle these questions.
An alternative approach would be to start with different initial conditions for the fluid velocity, e.g. a parabolic profile. In this way, you can avoid discontinuities at the initialization.


Best Regards
Phillip
Hi Finnian, it is, in principle, possible to start your simulation with moving walls starting at predefined velocity values. However, you may end up with convergence problems; from a numerical point of view, a predefined wall velocity is equal to an infinite wall acceleration at t=0 (if the initial fluid velocity is zero). The step function is used to increase the velocity smoothly to avoid numerical complications. In fact, finite wall acceleration is also the physically correct way to handle these questions. An alternative approach would be to start with different initial conditions for the fluid velocity, e.g. a parabolic profile. In this way, you can avoid discontinuities at the initialization. Best Regards Phillip

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12 gen 2014, 15:30 GMT-5
HI Phillip,
Thanks that was a useful and very informative answer.
Cheers,
Finnian
HI Phillip, Thanks that was a useful and very informative answer. Cheers, Finnian

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.