Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: How to read *.res file using fortran

Re: How to read *.res file using fortran 12 years 3 months ago #5301

  • hong
  • hong's Avatar
Sorry, Jmhervouet.

I think just now I misunderstand what you said.

You mean I should add a "return" before "continue",right?

But this is a main program, so the use of "return" is forbidden.

I'm wondering if I can do something else instead of "return".
The administrator has disabled public write access.

Re: How to read *.res file using fortran 12 years 3 months ago #5303

  • jmhervouet
  • jmhervouet's Avatar
Hello,

So put a label "1000 CONTINUE" at the end, and a GO TO 1000 instead of the return.

JMH
The administrator has disabled public write access.

Re: How to read *.res file using fortran 12 years 3 months ago #5305

  • hong
  • hong's Avatar
It didn't work either.

I opened the res file with editor.

Please see attached the file.
Attachments:
The administrator has disabled public write access.

Re: How to read *.res file using fortran 12 years 3 months ago #5349

  • fezai
  • fezai's Avatar
Hi hong ,

I wrote a fortran file that deals with reading serafin files to convert Telemac output to SMS output.

take a look at this post : www.opentelemac.org/index.php?option=com...itstart=8&Itemid=100

there is also a great Matlab code that reads serafin files : www.mathworks.com/matlabcentral/fileexch.../25021-telemac-tools

I hope this helps

Regards,

Fezai
The administrator has disabled public write access.

Re: How to read *.res file using fortran 12 years 3 months ago #5358

  • hong
  • hong's Avatar
Hello, fezai.

My problem has been solved.

I forgot to post here that the "convert=big_endian" should be added to the open sentence.

Thanks a lot.

Your posts are very helpful anyway:)

Best wishes
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.