Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 25916

How to move one geometry object continuously in matlab .m file?

$
0
0
Hi,
I am a comsol user and I have built a 3D model,in which a small bubble flows inside a glass tube is simulated. I plan to make the bubble move from 0.11m to 0.21m continuously with a step of 0.001m. But the problem is how to achieve this goal by modifying the .m file in matlab instead of changing the position of the bubble manually ? I have tried several ways, but the invariable calculated results indicate that the position of the bubble is unchanged. So, would you please give a favor to deal with the problem ?
My comsol model(Is version 3.5a compatible?) and the corresponding matlab .m file are attached below. Your kindly attention and advice are sincerely appreciated.

Best regards.
junma Chen

Viewing all articles
Browse latest Browse all 25916

Trending Articles