Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fortran kinetic subroutine in aspen plus 1

Status
Not open for further replies.

rp144

Chemical
Feb 4, 2013
3
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.
 
Replies continue below

Recommended for you

The guide wasn't usefull. Can someone explain me step by step the procedure to follow, please?
 
I suggest you find an Aspen user group forum on the web and ask there.

TTFN
faq731-376
7ofakss

Need help writing a question or understanding a reply? forum1529
 
The step by step guide is in chapter 4 of Link from how to declare it to how to run it which was posted earlier. Which part of that step-by-step guide do you not understand?
 
Dear Colleagues,

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.
 
olugabsy: You should have started this on a separate thread instead of tagging on to this one. It has the word Aspen in it but it is a completely different problem and rp144 won't know whether an answer posted is for his question or your question. If you have any more questions or even to reply to this post, start a new thread, put your original question plus the new bits.

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.
 
Xwb,I appreciate your good post.Thank you so much for the corrections about posting on this thread and your contributions.The fact is,I am new on this forum.But please,permit me to talk one more time about this problem here so you could help out.I sure will go on new thread next time.

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor