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.

How to find time integration of a variable changing at every time step?

Akshay Kargaonakar Department of Mechanical Engineering, Indian Institute of Technology, Dhanbad

Please login with a confirmed email address before reporting spam

Hello,

I am using Comsol 5.5 multiphysics for simulating the movement of an object in a fluid and a viscous force is acting on the object due to the movement of fluid. What I need to find is the displacement of the object due to the viscous force. The resulted displacement at every timestep will be given to the mesh to see the movement of the mesh.

I need to implement the following equations in comsol.

V(n) = V(n-1) + a(n) x dt(timestep)

S(n) = S(n-1) + V(n) x dt(timestep)

Where V(n) and V(n-1) are the velocities of the object at timestep n and n-1 respectively. Please note that the force acting and the displacement of the object are coupled to each other as force will change due to the change in location of boundaries of the object.

Thanks,

Akshay Kargaonkar

Indian Institute of Technology, Dhanbad


2 Replies Last Post 2022/01/11 9:03 GMT-5

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 2022/01/11 2:12 GMT-5

About half way down on this page you will see that version 6 has a new cumulative integration option... is this what you are after?

https://www.comsol.com/release/6.0/postprocessing-and-visualization

About half way down on this page you will see that version 6 has a new cumulative integration option... is this what you are after? https://www.comsol.com/release/6.0/postprocessing-and-visualization

Walter Frei COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 2022/01/11 9:03 GMT-5

Hello Akshay, For integrating in time, see also the "Time Integrals" section of: https://www.comsol.com/support/knowledgebase/913

Hello Akshay, For integrating in time, see also the "Time Integrals" section of: https://www.comsol.com/support/knowledgebase/913

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.