Welcome, Guest
Username: Password: Remember me

TOPIC: WEIRS MODELLING

WEIRS MODELLING 1 year 1 month ago #42273

  • SANDOVAL
  • SANDOVAL's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 1
Hello everyone

I am trying to model weir using telemac2d, but in my simple model (flume with 1% slope, Q=400 ls/s, length=8m, width=0.60m) where the weir is located at the middle of the channel, the result shows a big disturbance upstream and downstream the singularity; also the flow discharge at the inflow report values around 1E-06 m3/s.

I don't know if the definition of the weir is okay or if it is necessary to allocate boundaries conditions in the weir location.

Could you help me to understand what i am doing wrong?

Best regards for all

Pd: i attached the files that i am using
Attachments:
The administrator has disabled public write access.

WEIRS MODELLING 1 year 1 month ago #42309

  • SANDOVAL
  • SANDOVAL's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 1
Hello everyone

I was researching about this singularity (weir) trying to set the cas file and the weir data file as technical literature does.

Last simulations shows another problem, in each time step flux boundaries (inlet and outflow) give NaN m3/s values.

How can i solve this issue?

Best,
Ricardo
Attachments:
The administrator has disabled public write access.

WEIRS MODELLING 1 year 1 month ago #42335

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1464
  • Thank you received: 563
Hello Ricardo,

As told in other posts, when getting NaN in your listing (Not a Number), you should use a debug configuration with debug options to investigate.
See e.g. the S9.gfortran.debug configuration in the $HOMETEL/configs/systel.edf.cfg configuration file, in particular the flag fflags_debug_gfo for gfortran compiler.
fflags_debug_gfo: -g -Wall -fcheck=all -fbacktrace -fbounds-check -finit-integer=-1 -finit-real=nan -ffpe-trap=invalid,zero,overflow

It will show in which subroutine the issue/nan occurs and may help you to change something in your computation.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

WEIRS MODELLING 1 year 1 day ago #42602

  • ssiddi7
  • ssiddi7's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 66
Hi Sandoval,

How you created mesh for weir? I didn't find this in Bluekenue section and curious to know how I can create the mesh assigning the weir values? Thanks.
The administrator has disabled public write access.

WEIRS MODELLING 1 year 1 day ago #42601

  • ssiddi7
  • ssiddi7's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 66
Hi Sandoval,

I am looking into creating weirs as well in a channel. I saw your weir file. I wanted to know what does it refer to in points side 1 and the level of dykes in your weir? Will you share any of your results where it shows what the weirs look like?
The administrator has disabled public write access.
Moderators: pham

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