This project is used to include user models in PyRAMSES. It requires the use of Visual Studio and Intel Fortran Compiler. You can find details how to install them in the file Installing the Intel oneAPI Fortran compiler.pdf.
Summarizing the methodology:
- Download the latest version from: https://github.com/SPS-L/URAMSES/releases/ and extract it
- Move your new f90 models (generated by CODEGEN) into the folder my_models
- Edit the file usr_???_models.f90 to enable the new models. The ??? stands for inj, twop, exc, etc. depending on the type of model.
- Open the URAMSES.sln with MS Visual Studio
- Add the new files from the my_models folder to the dllramses project in MS Studio (right-click on the project --> add existing files)
- Compile the dllramses project (right-click --> compile)
- Use the following command in pyramses to indicate the location of the newly generated dll file: ram = pyramses.sim(r'C:....') where inside the quotes you put the directory where your ramses.dll file is located
Please check the documentation under https://pyramses.sps-lab.org.