Fortran kinetic subroutine in aspen plus
Fortran kinetic subroutine in aspen plus
(OP)
H all, I want to write a fortran subroutine to insert a reaction kinetic to Aspen plus, because the kinetic I have is not in the form as in aspen plus kinetics.as I have no idea to do that,I would be so grateful if you send me the example you metioned starting by the compiler. Many thanks.





RE: Fortran kinetic subroutine in aspen plus
RE: Fortran kinetic subroutine in aspen plus
RE: Fortran kinetic subroutine in aspen plus
RE: Fortran kinetic subroutine in aspen plus
TTFN

FAQ731-376: Eng-Tips.com Forum Policies
Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers
RE: Fortran kinetic subroutine in aspen plus
RE: Fortran kinetic subroutine in aspen plus
I need your great help.I have been beating around the bush for months without any headway.I believe I shall have respite afterwards.
First,I have an old ASPEN(V8.2) input file written code for natural gas plant way back in 1993.I can not tell really if these source code was written in Fortran as I am a novice in computer sciences.But from some researches and comparisons I have made so far,I see that it is a Fortran file,which are input file codes for ASPEN simulation.
Now,my duty has been to re-write these codes,since I have the hard copy only,and afterwards compile them using Intel Fortran Visual Composer 13.0 or any Visual Compilers that is compatible with ASPEN Plus.But,what to do,for the past 60 days has been my greatest worries.I wrote the codes in silverfrost Fortran 95,but discovered this is not compatible in ASPEN.At this moment,I am at a cross road,and know nothing else to do anymore.
Please,I need great help,as to how to go about the whole thing,starting from the silverfrost Fortran 95 I currently have the codes in,to compiling the codes in Visual Compilers 13.0(current version) as well as Visual Studio 2012 and then finally linking the source codes to ASPEN Plus for simulation.
Any positive suggestion and,possibly request for the codes for assistance on how to get it to work will be highly appreciated.
Boyd.
RE: Fortran kinetic subroutine in aspen plus
The version of ASPEN you have will probably not take F95 code: it will probably only take F77 code. No problem: you can write the code in F95 and do the interface in F77. Basically F77 code does not live in modules: they just stand by themselves outside modules. So all you need is some F77 subroutine that calls into the F95 code.
Not sure what you mean when you say Silverfrost is not compatible with IVF. You can develop in Silverfrost but you must rebuild everything in IVF before linking it into ASPEN. Are you developing on a 64bit machine and running on a 32-bit piece of code? Check that IVF is in win32 mode.
RE: Fortran kinetic subroutine in aspen plus
First issue Xwb: Could you give me the procedure to doing the interface from F95 to F77? Please send me the commands.This will be well appreciated.That is,like you said,help me with how to obtain the F77 subroutine that will call into the F95 codes.
About the other statement you asked about,what I am trying to say is that I do not know if there is any connection between silverfrost Fortran 95 and Intel Visual Fortran?But you have been able to clarify this already that all I needed is Fortran 77.So please,on how to go about this F77,kindly send commands to use.If you don't mind,I could send you the entire input file for you to see.Who knows,I might be lucky for you to be able to help out on this long-standing problem.
Yes,I am developing on a 64bit machine.Yes,the IVF i have is on a 32 mode.
Xwb,you understand so well what all my problems are.This I can tell based on your comments.Please,I will need all your helps.
1)Please help with step by step procedure on how TO DO THE INTERFACE ON F77 from Silverfrost F95 codes.
2)Step by step procedure on HOW TO REBUILD (1) in IVF.
3)Step by step procedure on HOW TO LINK (2) INTO ASPEN
Regards.
Boyd.