Welcome, Guest
Username: Password: Remember me

TOPIC: Problems with the writing of fortran files, or their coupling to telem

Problems with the writing of fortran files, or their coupling to telem 11 months 3 weeks ago #43701

  • Xinjie Zhang
  • Xinjie Zhang's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 50
  • Thank you received: 2
Hi everyone!
I have recently encountered some difficulties. I found an error while running my program and this error still cannot be solved after many debugging searches. I want to define the flow field by reading the flow rate file in the path through the fortran subroutine. In my previous debugging, this file was successfully read and output, but there was an error when I applied it to telemac calculation. Forgive me for not being a native English speaker, many expressions may not be clear enough. Now I am uploading my documents, including fortran files, and hope that someone can give me some advice, thank you very much!
Attachments:
The administrator has disabled public write access.

Problems with the writing of fortran files, or their coupling to telem 11 months 3 weeks ago #43702

  • Xinjie Zhang
  • Xinjie Zhang's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 50
  • Thank you received: 2
This attachment contains the missing fortran file and my flow rate file from the previous post.
Attachments:
The administrator has disabled public write access.

Problems with the writing of fortran files, or their coupling to telem 11 months 3 weeks ago #43703

  • Xinjie Zhang
  • Xinjie Zhang's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 50
  • Thank you received: 2
Hi all!
I seem to have found the cause of the problem, because my fortran subroutine was written incorrectly, now I have modified the program, I am sorry to take up the forum space.
The administrator has disabled public write access.

Problems with the writing of fortran files, or their coupling to telem 11 months 2 weeks ago #43761

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello Xinjie,

Perhaps you can write what was the cause of the problem as it may help other users (I have not opened your files as you solved your issue).

Chi-Tuan
The administrator has disabled public write access.

Problems with the writing of fortran files, or their coupling to telem 11 months 2 weeks ago #43764

  • Xinjie Zhang
  • Xinjie Zhang's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 50
  • Thank you received: 2
Sure, I'm happy to share my experience!
The main cause of the problem was that I failed to assign a variable to the loop in the fortran subroutine, so that it did not read my file correctly. Below is my corrected subroutine file.
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: pham, Renault
Moderators: pham

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