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.

random motion of a sphere in 3D space

HP Doctoral student, Uppsala University

Please login with a confirmed email address before reporting spam

hi,

I need to simulate a random motion of a small conducting sphere inside an air block.

I used stationary study and physics was electrostatics.

3 parameters were defined for x y z direction displacement and using parametric sweep I gave displacement for eac direction as randon(range(-1,0.1,1)). But it does not look correct.

Then I defined random function with 3 arguments and values were saved as text file. But now I could not assign values from text file to x y z displacements in moving mesh, prescribed deformation. (still I have not do any physics related steps)

Any comment on this issue?



2 Replies Last Post 2021年8月11日 GMT-4 10:51
HP Doctoral student, Uppsala University

Please login with a confirmed email address before reporting spam

Posted: 3 years ago 2021年8月8日 GMT-4 03:01

Hi, I managed to give random motion to the sphere using moving mesh(ALE). But while it is moving in air, sphere does not take material properties(copper). That is it became air. Is it a problem in geometry or moving mesh (ALE)?

I used 'assembly' under the geometry .

Hi, I managed to give random motion to the sphere using moving mesh(ALE). But while it is moving in air, sphere does not take material properties(copper). That is it became air. Is it a problem in geometry or moving mesh (ALE)? I used 'assembly' under the geometry .

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 years ago 2021年8月11日 GMT-4 10:51
Updated: 2 years ago 2023年4月14日 GMT-4 09:57

Hello Hasupama,

Typically, in an electrostatic simulation like this one, you do not include perfect conductors like your copper sphere in the computational domain. Rather, you remove them from the geometry, so that the electric field is only solved for in the region occupied by the dielectric (air, in your case), and you apply a floating potential boundary condition at the surface of the perfect conductor (thereby ensuring that it is at a single, though not known a-priori, electric potential).

You don't need to use a moving mesh as far as I can tell if all you want to do is run a number of stationary studies each corresponding to a different location for the center of the sphere. A parametric sweep will do. See the attached file.

Best regards,

Jeff

-------------------
Jeff Hiller
Hello Hasupama, Typically, in an electrostatic simulation like this one, you do not include perfect conductors like your copper sphere in the computational domain. Rather, you remove them from the geometry, so that the electric field is only solved for in the region occupied by the dielectric (air, in your case), and you apply a floating potential boundary condition at the surface of the perfect conductor (thereby ensuring that it is at a single, though not known a-priori, electric potential). You don't need to use a moving mesh as far as I can tell if all you want to do is run a number of stationary studies each corresponding to a different location for the center of the sphere. A parametric sweep will do. See the attached file. Best regards, Jeff

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.