Welcome, Guest
Username: Password: Remember me

TOPIC: about the bottom friction when coupling with sisyphe

about the bottom friction when coupling with sisyphe 9 years 7 months ago #16561

  • zqzuoan
  • zqzuoan's Avatar
Hi, everyone
I want to simulate one class of cohesive sediment. And I wonder if I must definite the LAW OF BOTTOM FRICTION and FRICTION COEFFICIENT both in the sisyphe steering file and the telema2d steering file?
1. If it is, why? In some examples, the LAW OF BOTTOM FRICTION and FRICTION COEFFICIENT in the sisyphe steering file and the telema2d steering file are different. I donot understand.

2. In my case, my bottom friction is read from external file. When I run it without coupling with sisyphe, it is work. But when coupling with sisyphe, itshows that the bottom friction is error.

Can anybody help me? Thanks!
Attachments:
The administrator has disabled public write access.

about the bottom friction when coupling with sisyphe 9 years 7 months ago #16585

  • gourish
  • gourish's Avatar
Hi,

If you check the dictionary file for sisyphe, in the 'LAW OF BOTTOM FRICTION SECTION', you will find the note as mention below.

AIDE1 = 'Selects the type of formulation used for the bottom friction.
To know the possible laws see CHOIX1 above. See FRICTION COEFFICIENT. Beware: in the case
of internal coupling with Telemac, the friction coefficient is selected in the Telemac steering 
file, except when BED ROUGHNESS PREDICTION is set to YES'

from which we can clearly see that while coupling telemac2d with sisyphe the friction coefficient is selected in the Telemac steering file, except when BED ROUGHNESS PREDICTION is set to YES

What is the error which you are getting when you run the simulation coupled with sisyphe.
Are you using the following statement to read the friction data file given as FORMATTED DATA FILE 1
UL=FILES(FO1)%LU
READ(UL,* ..

With Best Regards,
Gourish
The administrator has disabled public write access.

about the bottom friction when coupling with sisyphe 9 years 7 months ago #16588

  • zqzuoan
  • zqzuoan's Avatar
Yes, I use the SUBROUTINE STRCHE and add the fllowing statement in this file:

NFO1=T2D_FILES(T2DFO1)%LU
write(*,*) 'NPOIN=',NPOIN
DO I = 1,NPOIN
READ(NFO1,*) friction(I)
write(*,*) friction(I)
CHESTR%R (I) = friction(I)
enddo

I have not use BED ROUGHNESS PREDICTION=YES, and I know the friction coefficient is selected in the Telemac steering file while coupling telemac2d with sisyphe. The error and related files are attached, Thank you for help me.

Best Regards.
The administrator has disabled public write access.

about the bottom friction when coupling with sisyphe 9 years 7 months ago #16591

  • jmhervouet
  • jmhervouet's Avatar
Hello,

A few remarks on your coding:

There is no need of an intermediate friction(I), you can write instead directly:

READ(NFO1,*) CHESTR%R(I)

this will avoid the problem of allocating the array friction.

Then the way you wrote the loop is meant for a file with one point given per line, is it what you have in the file ? If you have several values per line the program will read the first and will skip to the next line, and you must then change the coding.

I hope this brings you hints or solutions,

With best regards,

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

about the bottom friction when coupling with sisyphe 9 years 7 months ago #16595

  • zqzuoan
  • zqzuoan's Avatar
Thank you,JMH
YEAH,I have only one value per line . And it is right without couplint with sisyphe. The problem occured when coupling with sisyphe, so I think problem is it failed in reading data file when compute the sediment.
The administrator has disabled public write access.

about the bottom friction when coupling with sisyphe 9 years 7 months ago #16597

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Could it be that you read the file twice ? In this case add a command:

REWIND(NFO1)

before the loop.

Regards,

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

about the bottom friction when coupling with sisyphe 9 years 7 months ago #16612

  • zqzuoan
  • zqzuoan's Avatar
Dear, JMH
Yes, you are right. It is ok now. Thank you very much!
The administrator has disabled public write access.
Moderators: Pablo, pavans

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