I am new to Calculix but an experienced user of ABAQUS. I downloaded Calculix together with Prepomax pre and post-processing software and used it with no problem with some example problems. I want to work with some user subroutines and as far as I know you have to re-compile the ccx solver in order to use your own user subroutines. Does anyone have any hints on how to compile Calculix step by step on Windows?
To use subroutines you have to replace the dummy ones in the CalculiX source code with yours and then compile. Here you will find some instructions regarding compilation: Guide to compile CalculiX
Many thanks for your response. However, the guide you mention (correct me if I am wrong) is focused on a Linux environment. Is there any similar guide to compile it on Windows environment?
After downloading a different distribution from Download bConverged I am able to find the files. But it looks like I need to compile the subroutine after changing it in src/umat.f. Can you tell me, how to move forward from here?
I would suggest you install ccx from the source if you are going to be playing around with user subroutines. There are a ton of things to learn, but it would at least give you some sense of what to do.
Thank you for responding.
Looks like those instructions are for Linux environment. I’m using CalculiX in Windows, are there instructions for Windows as well? or Do you think subroutines work only for Linux environment?
If you are going to deal with subroutines, you better switch to Linux. If you have Windows 10 or 11, you can install the latest Ubuntu almost natively using wsl2- that’s what I use all the time, rather than virtual machines or dual boots. It should be almost painless to install wsl2 and then follow the instructions I linked above. Once you compile from source successfully, post again I could help you more.