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.

varying density with depth

Please login with a confirmed email address before reporting spam

Hello,
my friend and I wish to make a model that has material density dependent on distance from an upper boundary. Does anyone know how to write an equation that would vary density with distance from a boundary?

thanks,
Sam

1 Reply Last Post 2 mar 2012, 17:28 GMT-5

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2 mar 2012, 17:28 GMT-5
define a function of two arguments that will have desired density values vs. spatial coordinates x,y. Then use this function in material properties.
define a function of two arguments that will have desired density values vs. spatial coordinates x,y. Then use this function in material properties.

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.