EDEM API: when does configForTimeStep run?

User: "Megan_j"
Altair Community Member
Updated by Megan_j

Hi,

I am currently using the function configForTimeStep. I understand that it runs once per timestep but would like to confirm that it runs before externalForce, similar to configForTimeStep in the contact model. Additionally, can I confirm if I am using it in both the contact model and particle body force model, the overall order would be like this:

configForTimeStep (Contact Model) -> calculateForce -> configForTimeStep(Particle Body Force) -> externalForce

Thank you.

Regards,

Megan

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Stephen Cole"
    Altair Employee
    Accepted Answer
    Updated by Stephen Cole

    Hi Megan,

    The configfortimestep should run at the end of the Contact Model calculation then at the end of the ParticleBodyForce.  The ContactModel one would run prior to the body force however if you add one to the particle body force this will run at the end.

    Regards

    Stephen