Welcome, Guest
Username: Password: Remember me

TOPIC: Accessing Binary data file 1 from SISYPHE

Accessing Binary data file 1 from SISYPHE 9 years 8 months ago #16170

  • f.luxford
  • f.luxford's Avatar
Hi

I wish to initialise my SISYPHE simulation with spatially varying fractions of three sediment classes. I've modified init_compo.f (please find attached) to read in the fractions at every model point from a selafin file, which is defined in the TELEMAC steering file as BINARY DATA FILE 1 (I am running TELEMAC and SISYPHE internally coupled). Note this file is only designed for scalar runs so far.

I added: USE DECLARATIONS_TELEMAC2D, ONLY:T2DBI1 to the start of init_compo.f to try and gain access to BINARY DATA FILE 1 (as I have done in previous TELEMAC2D modifications). However it doesn't work as I get the following errors:

forrtl: No such file or directory
forrtl: severe (29): file not found, unit 24, file ...

Can anyone tell me how I can access BINARY DATA FILE 1 inside init_compo.f please?

Cheers

Fay
Attachments:
The administrator has disabled public write access.

Accessing Binary data file 1 from SISYPHE 9 years 8 months ago #16171

  • jmhervouet
  • jmhervouet's Avatar
Hello Fay,

When coupling two programs, the unit numbers are changed and parameterised, so in your case it should be :

T2D_FILES(T2DBI1)%LU

but you will have to add T2D_FILES in your USE ONLY list.

You can probably find more accurate posts on this topic, I'm afraid I am in Madagascar and cannot help much...

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Accessing Binary data file 1 from SISYPHE 9 years 8 months ago #16206

  • pprodano
  • pprodano's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 96
  • Thank you received: 55
Hi Fay,

This is how I used Binary Data File 1 within a coupled t2d-sis simulations. The same file was used by t2d and sis to read wave data.

I hope it helps,

Pat
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: f.luxford
Moderators: Pablo, pavans

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