Welcome, Guest
Username: Password: Remember me

TOPIC: Flux through control sections in 3D

Flux through control sections in 3D 2 years 7 months ago #40169

  • Lux
  • Lux's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 96
  • Thank you received: 39
Hello the community,

I would like to compute fluxes (ie. hydraulic discharge) through control sections during the Telemac-3D computation (I need to know these fluxes in my user fortran subroutines).
I already know how to do it in Telemac-2D (everything is already implemented with keywords in the CAS file), but it does not seem to be implemented in 3D...
Has somebody already implemented something in Telemac-3D?
For my purpose, the flux can be approximated from 2D variables (H, U and V) because I need the flux through sections from bottom to free surface.

Best Regards,
Luc
The administrator has disabled public write access.

Flux through control sections in 3D 2 years 7 months ago #40179

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello Luc,

Indeed, nothing is implemented in TELEMAC-3D as it is done for 2D.

Anyway, looking quickly at what is implemented in 2D and as using Shallow Water Equations variables is sufficient for you, I think you can do as it is done for 2D: use U2D, V2D and H when calling FLUSEC_TELEMAC2D + use MESH2D rather than MESH + use other 2D work arrays instead of BM1, BM2 and CV1. You can try.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
The following user(s) said Thank You: Lux

Flux through control sections in 3D 2 years 7 months ago #40181

  • Lux
  • Lux's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 96
  • Thank you received: 39
Thank you Chi-Tuan, we will try and let you know.
Best Regards, Luc
The administrator has disabled public write access.

Flux through control sections in 3D 2 years 2 months ago #40954

  • Lux
  • Lux's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 96
  • Thank you received: 39
Dear Telemac community,

We managed to implement the calculation of discharges through cross-sections in TELEMAC-3D.

Here is the procedure for v8p2r0 :

(1) Modify `$HOMETEL/scripts/python3/execution/study.py` to enable the partitionning of sections file, see (and remove extension .txt):

File Attachment:

File Name: study.py.txt
File Size: 27 KB


(2) Modify `$HOMETEL/sources/telemac3d/telemac3d.dico` to add a keyword named `SECTIONS INPUT FILE` in the dico file, see:

File Attachment:

File Name: telemac3d.dico.txt
File Size: 278 KB


(3) Include the `FORTRAN FILE` with 5 subroutines and the module VAR_SEC, see:

File Attachment:

File Name: pildepon_with_sections_v8p2r0.zip
File Size: 103 KB


Hope it will help others users and wish it will be integrated in the trunk in a near future,
Luc
The administrator has disabled public write access.
The following user(s) said Thank You: pham

Flux through control sections in 3D 2 years 2 months ago #40983

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello Luc,

Thanks a lot for your work.
I will have a look when I have time and see if it can be integrated to the main.

Kind regards,

Chi-Tuan
The administrator has disabled public write access.
Moderators: pham

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