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.
IF statement in Bondary Condition
Posted 2012年7月5日 GMT-4 12:31 Fluid & Heat, Computational Fluid Dynamics (CFD) Version 4.3 1 Reply
Please login with a confirmed email address before reporting spam
Hi friends,
Is it possible to use the conditional statement in a Boundary condition ( Like the wetted wall) ?
I want to define to different contact angles based on the velocity.
1) if (v>=0, Pi/3, Pi/4)
2) Pi/3*(v>=0)+Pi/4*(v<0)
which one is correct ?
If I generally use the velocity (v) in my model, Does the COMSOL automatically used the velocity magnitude related to my boundary condition (on the wall) OR should I first define the velocity on the wall as a separate variable ?
BEST REGARDS,
Is it possible to use the conditional statement in a Boundary condition ( Like the wetted wall) ?
I want to define to different contact angles based on the velocity.
1) if (v>=0, Pi/3, Pi/4)
2) Pi/3*(v>=0)+Pi/4*(v<0)
which one is correct ?
If I generally use the velocity (v) in my model, Does the COMSOL automatically used the velocity magnitude related to my boundary condition (on the wall) OR should I first define the velocity on the wall as a separate variable ?
BEST REGARDS,
1 Reply Last Post 2012年7月6日 GMT-4 02:47