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 31.05.2011, 20:40 GMT-4 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 01.06.2011, 00:46 GMT-4