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.

Building Geometry using variable

Please login with a confirmed email address before reporting spam

Hai, I want to build a geometry, for example, two blocks separated by a distance d. Then I want this d to be time dependent d(t), so distance between the blocks changes when I do a time dependent studies and so it behaves like that my two blocks are moving. I have defined a variable as d(t) using proper functions according to my needs, but I can not add this "d" in my geometry (as the distance between the blocks), there only I could add parameters not variables. Is there any way around it? or am I doing anything wrong? I want my model to to undergo sort of an uniform motion during the study. Is there any other way to make the model behave in this sort of way using any other modules? Any kind of help is much appreciated,

thanks, Harris


1 Reply Last Post 20 juil. 2020, 07:19 UTC−4
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 20 juil. 2020, 07:19 UTC−4

Harris,

the way to do this is a moving mesh. There are examples in the application library and blog entries.

Cheers Edgar

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Harris, the way to do this is a moving mesh. There are examples in the application library and blog entries. Cheers Edgar

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.