Is it possible to use a measure as input to the user input values of a subroutine? I want to use the previous values of a contact force in order to change the force's value in the current step i.e., I want to create a measure of a contact force and use it as input to its user written subroutine (cnfsub).
In general, don't use measures, use requests. But in this case, it might be different.
But in practicality, measures are just solver variables that are not checked for error during the numerical solving process. So it would be better for you to create a solver variable for the contact force and use that one.
But either one should be able to be referenced by your subroutine by calling SYSFNC with a VARVAL argument.
In general, don't use measures, use requests. But in this case, it might be different.
But in practicality, measures are just solver variables that are not checked for error during the numerical solving process. So it would be better for you to create a solver variable for the contact force and use that one.
But either one should be able to be referenced by your subroutine by calling SYSFNC with a VARVAL argument.