CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Phoenics (https://www.cfd-online.com/Forums/phoenics/)
-   -   PIL command (https://www.cfd-online.com/Forums/phoenics/51155-pil-command.html)

Mehdi BEN ELHADJ February 1, 2001 13:45

PIL command
 
HI,

Can I make a « PIL command » in a Q1 file wich call fortran soubroutines written by me.

PIL command : like GRDPWR

I can't find how PHOENICS calls fortran soubroutines from « PIL command ».

Please can some one help me ?

vincent February 7, 2001 08:03

Re: PIL command
 
Hello,

I don't know if it's possible to call a fortran routine from a PIL command. I don't think that's possible, because the q1 file is only a command file

If you want to call a fortran routine with PHOENICS, you have to use ground.f which is a PHOENICS fortran routine, where you can add your own coding. The ground.f file is subdivised into different sections corresponding to different parts of the simulation (inlet conditions, boundary conditions, ...). You have to add your code in the good section of this file corresponding at what your code do.

Vincent


All times are GMT -4. The time now is 07:36.