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

TOPIC: How to add a fortran subroutine in Telemac ?

How to add a fortran subroutine in Telemac ? 7 years 4 months ago #27203

  • wafaa93
  • wafaa93's Avatar
Hello
Please does anyone have an example of fortran file ?
cheers wafaa
The administrator has disabled public write access.

How to add a fortran subroutine in Telemac ? 7 years 4 months ago #27204

  • Phelype
  • Phelype's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 64
Hello Wafaa,

You can copy any fortran file from the telemac sources to the folder where your simulation files are located and point it with the FORTRAN FILE keyword.

For example, to add the corpor.f (attachment) subroutine, just add in your steering file:
FORTRAN FILE = corpor.f

But the fortran file is a very user-specific modification of the code, so there's no "example of fortran file" that will be useful for you.
Once you know exactly what you will modify in the code then you can start by finding out if someone has already done such modification to the code and asking them for this fortran file.

Hope this can clarify things for you.

Best regards,

Phelype

Attachment: The corpor.f subroutine as found in the soueces folder of telemac2d.

File Attachment:

File Name: corpor.f
File Size: 3 KB
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.