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.
Using sign and abs on variables
Posted 2011年5月31日 GMT-4 20:40 Parameters, Variables, & Functions, Structural Mechanics Version 4.1 1 Reply
Please login with a confirmed email address before reporting spam
Hello,
I typed the following into a boundary condition:
-sign(solid.u_tX)*beta*(abs(solid.u_tX))^m
where beta and m are constants that I defined, and solid.u_tX is the x-velocity. However, when I tried to solve, COMSOL could ot find consistent initial values. If I remove the sign and abs functions (and set m = 1), then COMSOL will solve. Is there a way to get this to work with the sign and abs functions?
Thanks,
Henry
I typed the following into a boundary condition:
-sign(solid.u_tX)*beta*(abs(solid.u_tX))^m
where beta and m are constants that I defined, and solid.u_tX is the x-velocity. However, when I tried to solve, COMSOL could ot find consistent initial values. If I remove the sign and abs functions (and set m = 1), then COMSOL will solve. Is there a way to get this to work with the sign and abs functions?
Thanks,
Henry
1 Reply Last Post 2011年6月1日 GMT-4 00:46