CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Importing external DLL to Ansys CFX using user Fortran (http://www.cfd-online.com/Forums/cfx/88945-importing-external-dll-ansys-cfx-using-user-fortran.html)

snpradeep May 31, 2011 05:19

Importing external DLL to Ansys CFX using user Fortran
 
Dear All,

I have written a program using load library function of Fortran to import an external dll and access functions. It works fine when i just use fortran. But User fortran in CFX doesn't recognize the load library function. Is there any other method to import a dll into ANSYS CFX User fortran.

Any help would be appreciable..

Regards,
Pradeep

rkiranmat May 16, 2014 04:34

UDF in CFX
 
Hi all,

Can any one help in finding in writing user defined functions (through fortran code) and calling external fortran code in CFX.

I would like to write third party code and use it in CFX simulations.

Can any one please mail me the tutorial if you have. My mail id: rkiranmat@gmail.com

Thanks in advance.

Thanks and Regards,
Ravikiran

snpradeep May 16, 2014 04:52

Hi Ravikiran,

You can find many examples of User fortran in CFX installation folder. You can refer them to write your user fortran code.

Regards,
Pradeep


All times are GMT -4. The time now is 18:24.