Welcome, Guest
Username: Password: Remember me

TOPIC: Bias on open boundary condition

Bias on open boundary condition 1 year 8 months ago #42153

  • vcloarec
  • vcloarec's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 6
Hi all,

I encounter a issue with TELEMAC 2D models on boundary condition built by Lekan (see: github.com/vcloarec/ReosProject).

I was wondering if this is a bad building of the boundary condition files, maybe I am missing something, or if it is a TELEMAC issue.

I have built a simple test cases to reproduce this issue:
  • a constant inflow at upstream
  • a constant level at downstream
  • a quite simple geometry with a large downstream limit with corners far away from the main flow.
  • important information: equation is Finite Volume, there is not issue with Finite Element
Here the mesh


You can found the model files for the case 2 in attachment.

Lekan builds open boundary condition for water level condition as follow:



If the the top right corner is right-angled, no problems, see dynamics results:



But if the geometry is changed with an obtuse angle on the top right:



Here a zoom to the corner:



Other changes, but with acute angle:



The bias is inverted.

Attachments:
The administrator has disabled public write access.

Bias on open boundary condition 1 year 8 months ago #42155

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello,
Interesting remark! According to T2D user manual, section 4.2.1:
The following convention is used in such cases to determine the nature of
a segment located between two points of different type. A liquid segment is one between two
points of liquid type. In a similar way, when a condition is being prescribed for a segment, the
point must be configured at the start of the segment.
Thus, for a symmetric outflow boundary, the boundary must span between (boundary) nodes 13 to 76, NOT 77, like so:

Screenshot2023-03-09101130.png


Also, overconstrained triangle at the boundary it is not advisable:

Screenshot2023-03-09101226.png


Swapping edges is generally recommended and should be done in a sensitive case like yours:

Screenshot2023-03-09101428.png


Best Regards,
Costas

PS. Excellent graphics!
The administrator has disabled public write access.

Bias on open boundary condition 1 year 8 months ago #42158

  • vcloarec
  • vcloarec's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 6
Thanks Costas for your answer,

I changed the mesh accordingly to your advice:

telemac_case_4-1.png


And there is still this big bias in the flow:

telemac_case_4-2.png



Even if I put the extremity of the liquid boundary further from the corner:

telemac_case_4-3.png



Here the files of the last case:

File Attachment:

File Name: telemac_case_4.zip
File Size: 30 KB
The administrator has disabled public write access.

Bias on open boundary condition 1 year 8 months ago #42159

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Which version are you using? In v8p3r2 I cannot reproduce the BIAS in your original case-2 set (HIGHEST VELOCITY plot):

Screenshot2023-03-09154233.png
The administrator has disabled public write access.

Bias on open boundary condition 1 year 8 months ago #42160

  • vcloarec
  • vcloarec's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 6
hmmm, maybe a too old one, mine is v8p3r1... I have to update...
The administrator has disabled public write access.

Bias on open boundary condition 1 year 8 months ago #42161

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
v8p3r1 is not that old. See the changelog for changes in default values or any other development that can affect your case. Anyway, v8p4r0 is out, try switching to the latest one.
The administrator has disabled public write access.

Bias on open boundary condition 1 year 8 months ago #42162

  • vcloarec
  • vcloarec's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 6
In the test I shared, the equation is Finite Element. And it seems to works with FE. Can you try to switch to Finite Volume?

(see github.com/vcloarec/ReosProject/issues/9...uecomment-1462154636)
The administrator has disabled public write access.

Bias on open boundary condition 1 year 8 months ago #42164

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Unfortunately, the BIAS error remains with v8p3r2 when switching to FV.
I only had to add
DESIRED COURANT NUMBER : 0.9
VARIABLE TIME-STEP : YES
The administrator has disabled public write access.
The following user(s) said Thank You: vcloarec

Bias on open boundary condition 1 year 8 months ago #42165

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Setting FINITE VOLUME SCHEME = 5
appears to eliminate the BIAS for me.
Here is my steering file:

File Attachment:

File Name: simulation.cas
File Size: 1 KB



Screenshot2023-03-09171536.png
The administrator has disabled public write access.

Bias on open boundary condition 1 year 8 months ago #42167

  • vcloarec
  • vcloarec's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 6
Perfect!!!
It works also on my side with v8p3r1.

That will make me add an option to change the VF scheme from the UI, to not use the default one...

Thanks a lot!
The administrator has disabled public write access.
Moderators: pham

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