CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Implementing USER FORTRAN in CFX Without Intel Compiler: Seeking Guidance (https://www.cfd-online.com/Forums/cfx/253512-implementing-user-fortran-cfx-without-intel-compiler-seeking-guidance.html)

Deok December 14, 2023 03:44

Implementing USER FORTRAN in CFX Without Intel Compiler: Seeking Guidance
 
I am currently working with CFX and aim to write a USER FORTRAN routine that monitors specific variable values over iterations and adjusts the inlet pressure accordingly. However, I'm using Windows and cannot access the Intel fortran compiler in my current setup. Therefore, I need to utilize a different compiler for USER FORTRAN. I know that modifying the cfx5mkext file can change the default compiler options, but I'm facing difficulties in generating the dll file when executing commands. Can anyone provide assistance or advice on this matter?

ghorrocks December 14, 2023 04:57

If you do not use the recommended fortran compiler then you are likely to have problems.

If you do not want to purchase Intel fortran then move to CFX on Linux and you can use open source fortran compilers.

Yanlu December 21, 2023 08:36

Hello, I have recently been trying to use user-defined Fortran in CFX Pre. Have you successfully compiled the cfx5mkext command? Are you willing to share relevant tutorials?


All times are GMT -4. The time now is 19:14.