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.

position dependent subdomain value

Please login with a confirmed email address before reporting spam

Hi,

Is it possible to vary a value (e.g. the initial stress of a beam) depending on the z-position in it?
An approximation would be to split the beam into several layers with a changing constant value. But this is of course bad in any way (not correct, time consuming, mesh, ...)

So i would like to write a formula inside of a layer like: "2*z+1"

thank you for any help.

1 Reply Last Post 2010年7月1日 GMT-4 16:30

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2010年7月1日 GMT-4 16:30
yes, comsol allows you to use expressions instead of constants when you define your model. so equations like "2z+1" should work so long as you define your "work-plane settings" (under the Draw menu) to reflect that the width of the beam is along the z-axis!

Cheers
Ravi
yes, comsol allows you to use expressions instead of constants when you define your model. so equations like "2z+1" should work so long as you define your "work-plane settings" (under the Draw menu) to reflect that the width of the beam is along the z-axis! Cheers Ravi

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.