Get force information from previous model

User: "Yang_QI1"
Altair Community Member
Updated by Yang_QI1

Hi,

I noticed that for a contact force calculation in GPU CUDA, I could have access to and change the force calculated from previous models, in the following way attached. However, where could I find the same function for a CPU api? 

Regards,

Qi

image

Find more posts tagged with

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

    Hi,

    imageOn CPU, the forces are accessible within contactResults, which as you can see is not const. You can simply use:

    contactResults.normalForce = CSimple3DVector{ 1,2,3 };

    Cheers,

    Richard