EDEM API: when does configForTimeStep run?

Megan_21536
Megan_21536 Altair Community Member
edited August 2023 in Community Q&A

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

Tagged:

Best Answer

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited August 2023 Answer ✓

    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

     

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited August 2023 Answer ✓

    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