Welcome, Guest
Username: Password: Remember me

TOPIC: How to transfer CHESTR from SISYPHE to TELEMAC-2D

How to transfer CHESTR from SISYPHE to TELEMAC-2D 10 years 10 months ago #11649

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Hello,

I have a telemac 2d model and it's coupled with sisyphe in order to simulate the sediment movements in the domain. I also implement a roughness law in the model using the customized subroutine CORSTR_SISYPHE.

But recently I noticed that this subroutine doesn't change the roughness value CHESTR in Telemac 2D. And I tested two different parameters in CORSTR_SISYPHE but these two cases gave the same results and the values of CHESTR remian constant everywhere.

Then I checked the definition of CHESTR and I found it is defined in Telemac 2D and the same name is also defined in Sisyphe. So I'm wondering how does the CHESTR work when Telemac 2D is coupled with Sisyphe?

If I change it in subroutine CORSTR in Telemac 2D, it seems that Sisyphe uses this modified value too. But how about the opposite? If I want to change it in subroutine CORSTR_SISYPHE in Sisyphe, how can I pass the modified CHESTR from Sisyphe to Telemac 2D?

Thanks in advance!

Qilong
The administrator has disabled public write access.

How to transfer CHESTR from SISYPHE to TELEMAC-2D 10 years 10 months ago #11651

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Hello,

I think I have found the solution for this problem. I add the line

USE DECLARATIONS_SISYPHE, ONLY: UNORM,HN,QSCL_C,CS,NPOIN
USE DECLARATIONS_TELEMAC2D, ONLY: CHESTR

in the subroutine CORSTR_SISYPHE then it only changes the value of CHESTR in Telemac 2D. And this modified value will be sent back to Sisyphe later.

Kind regards,
Qilong
The administrator has disabled public write access.

How to transfer CHESTR from SISYPHE to TELEMAC-2D 10 years 10 months ago #11654

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Yes, this is it.

JMH
The administrator has disabled public write access.
Moderators: pham

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