Skip to content

Computatuion of v_i (t+ 0.5 *delta t) and omega_i (t+ 0.5 *delta t).  #420

Closed

Description

@Srishti-Siddharth-iitb

I am trying to simulate a single Cosserat rod in MATLAB using your codes and the numerical scheme discussed in the following 2018 paper: https://doi.org/10.1098/rsos.171628. According to equations (C5) and (C6) of the paper (page 25), the position and orientation at (t+delta t) can be computed using v_i (t+ 0.5 * delta t) and omega_i (t+ 0.5 *delta t). Could you please confirm whether these velocities have been computed using the following formulae in your Python code?

v_i (t+ 0.5 delta t) = v_i (t) +0.5 * delta t dv_dt(t+0.5* delta t),

and

omega_i (t+ 0.5 delta t) = omega_i (t) +0.5 * delta t domega_dt(t+0.5 *delta t),

Activity

  1. armantekinalp commented on Jul 24, 2024

    @armantekinalp
    Contributor
    Screen Shot 2024-07-24 at 4 15 09 PM

    There is a typo there. You can use the above equations.

  2. Srishti-Siddharth-iitb commented on Jul 26, 2024

    @Srishti-Siddharth-iitb
    Author
  3. Srishti-Siddharth-iitb commented on Aug 21, 2024

    @Srishti-Siddharth-iitb
    Author
  4. sy-cui commented on Aug 21, 2024

    @sy-cui
    Contributor

    In our code we use $\omega$ at time $t$, although I do think you can use the formulae you proposed. For the time-stepping method we use (Verlet integration) to be applicable, technically $d\omega/dt$ should not be a function of $\omega$. However, the unsteady dilatation and Lagrangian transport terms are rarely important, and the overall algorithm is first-order accurate in time nonetheless.

  5. armantekinalp commented on Aug 21, 2024

    @armantekinalp
    Contributor

    I am converting this to a discussion since it more about the methods, than code issue.

  6. locked and limited conversation to collaborators on Aug 21, 2024
  7. converted this issue into a discussion #429 on Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions