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

TOPIC: Liquid Boundaries - Help Please

Liquid Boundaries - Help Please 12 years 1 month ago #5748

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
It's a little bit more complex...
If you want to use FORMATTED DATA FILE 1 to 7 you should create some new keywords in the dictionnary and adapt dome other subroutines (like lecdon_telemac2d.f)
I'm not sure this will be really feasible for someone who never program in the telemac code by the past.

In my opinion, you should just use bord.f in which you manually open your different files and use the values in it.
Just take care telemac works in a temporary directory so you should add ..\ in the name of the file in order to allow the code to find your file at the right place.
Keep also in mind this way of programming doesn't allow the computation to run in parallel

Hope this helps

PS: have a look into the forum in detail, it seems to me this have been already discuss and another solution (given by SEBOURBAN) was described
Christophe
The administrator has disabled public write access.

Liquid Boundaries - Help Please 12 years 1 month ago #5749

  • zheng
  • zheng's Avatar
Hi, Coulet,

Thanks you very much but I add a open file as below:

open(20, file='boundary_1.txt',STATUS='old')

after ruuning out the message as below:

forrt1; severe ,29.: file not found, unit 20, file ......

How I add the open file in bord.f, please?

Zheng
The administrator has disabled public write access.

Liquid Boundaries - Help Please 12 years 1 month ago #5750

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
As I wrote in my previous post, you should have open(20,file='..\boundary_1.txt',STATUS='OLD')
because telemac i launched in a working directory in which your file boundary_1.txt doesn't exist.

regards
Christophe
The administrator has disabled public write access.

Liquid Boundaries - Help Please 12 years 1 month ago #5751

  • zheng
  • zheng's Avatar
it is work now. Thanks
The administrator has disabled public write access.

Liquid Boundaries - Help Please 12 years 1 month ago #5758

  • zheng
  • zheng's Avatar
Hi, Coulet,

I would like to inset some fortran sentences replaced to function sL in bord.f .

How I declared current time in bord.f same as AT in function SL and subroutine read_fic_frliq.f ?

Is TELEMAC2D call bord.f for each time step or only call once in it running procedures?

Thanks,

zheng
The administrator has disabled public write access.

Liquid Boundaries - Help Please 12 years 1 month ago #5759

  • zheng
  • zheng's Avatar
or some open files are added in bord.f and in read_fic_frliq.f with some modification. What command to use running the telemac2d code?

thanks,

zheng
The administrator has disabled public write access.

Liquid Boundaries - Help Please 12 years 1 month ago #5760

  • zheng
  • zheng's Avatar
sorry the current time I got.
The administrator has disabled public write access.

Liquid Boundaries - Help Please 12 years 1 month ago #5769

  • jmhervouet
  • jmhervouet's Avatar
Hello,

The subroutines modified for a given application must be in a file, for example named princi.f, and declared in the parameter file as :

FORTRAN FILE : princi.f

then it will be compiled and used to replace the subroutines in the telemac-2D library.

I hope this is the answer to your question,

Jean-Michel Hervouet
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.