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?
Posted Dec 28, 2021, 9:07 a.m. EST General, Parameters, Variables, & Functions, Equation-Based Modeling Version 5.5 2 Replies
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