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.

oscillating flow

Please login with a confirmed email address before reporting spam

Hello,

I would like to set up an inlet that produces oscillating flow (going from positive values to negative ones) in my model. When I add the expression

2*sin(4*pi*t[1/s])

to the inlet velocity field I get out only the absolute value of that expression. See the attached picture.
How can I get both positive and negative values for velocity at an inlet?

Thanks,
Ben


2 Replies Last Post 2016年7月1日 GMT-4 09:22
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年7月1日 GMT-4 09:19
Hello Ben,
You are plotting the "Velocity magnitude".
Jeff
Hello Ben, You are plotting the "Velocity magnitude". Jeff

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年7月1日 GMT-4 09:22
I'm glad it was something so simple.

Thanks for the prompt help!
I'm glad it was something so simple. Thanks for the prompt help!

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.