I change the linearspring.c in openfoam to reach some aims, but I don’t know how to use it with calculix.
I am not sure I understand your question, and I have no idea what
linearspring.c does. Could you please elaborate on what you are trying to do, what you have tried, and what has failed? Do you get any error messages?