Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Displaying Free Surface Clipped to Edge of Water

Displaying Free Surface Clipped to Edge of Water 9 years 5 months ago #17140

  • ingénieure
  • ingénieure's Avatar
I'd like to display water surface elevation results in BlueKenue only for inundated areas (where the water depth is > 0).

One work around that I have found is to:
- Extract isoline for WATER DEPTH = 0.01 m.
- Generate a closed polyline from extracted isoline
- Use new closed polyline to specify area to extract a subset of FREE SURFACE

However, this method requires significant amounts of manual editing to generate a closed polyline. Furthermore, it does not work for a complex floodplain domain with islands and/or dry high spots.

Any tips or suggestions would be most welcome!
The administrator has disabled public write access.

Displaying Free Surface Clipped to Edge of Water 9 years 5 months ago #17141

  • Fauret
  • Fauret's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 44
  • Thank you received: 12
First you need to display the Depth.

In PROPERTIES of Depth, modify the ColourScale

Set 2 levels with two different colours

minimum 0
interval 0.05

in the Legend display the RANGE

Thierry
The administrator has disabled public write access.

Displaying Free Surface Clipped to Edge of Water 9 years 5 months ago #17142

  • ingénieure
  • ingénieure's Avatar
Thanks for the quick response. If I'm interpreting your post correctly, I don't think that will get me what I'm looking for.

I have attached two images as examples to further describe what I'm trying to get.

Max water depth image: shows that the area to the south is dry.
Max water surface elevation image: shows water surface elevation in inundated areas AND ground elevation in dry areas.

My goal is to display ONLY the water surface elevations (and NOT the ground elevations).
The administrator has disabled public write access.

Displaying Free Surface Clipped to Edge of Water 9 years 5 months ago #17144

  • ingénieure
  • ingénieure's Avatar
Here are the images.
Attachments:
The administrator has disabled public write access.

Displaying Free Surface Clipped to Edge of Water 9 years 5 months ago #17145

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi,

Open the properties dialog box of your WATER DEPTH object, then go to the ColorScale tab, and simply change the value of the lowest bound in the color scale table (if you have lowest value = 0 due to dry areas, change it into 0,01 for example - your water depth map displays then only areas where the water depth is more than 1 cm).

I hope this answers your question.

Best regards,
PL
The administrator has disabled public write access.

Displaying Free Surface Clipped to Edge of Water 9 years 5 months ago #17146

  • ingénieure
  • ingénieure's Avatar
Thanks but I've already done that as shown in the WaterDepth.jpg image.
The administrator has disabled public write access.

Displaying Free Surface Clipped to Edge of Water 9 years 5 months ago #17147

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
In my opinion, you should create a new variable with the calculator. Then you could manage to have the right value for the free surface if the water height is higher than 1cm and a default value otherwise

hope this helps

PS: think to update your profile
Christophe
The administrator has disabled public write access.

Displaying Free Surface Clipped to Edge of Water 9 years 5 months ago #17148

  • ingénieure
  • ingénieure's Avatar
Thank you, that sounds promising. Could you elaborate on how to use conditional statements in the BlueKenue Calculator? I didn't see any information on "if...then" type expressions in the User Manual.
The administrator has disabled public write access.

Displaying Free Surface Clipped to Edge of Water 9 years 5 months ago #17149

  • ingénieure
  • ingénieure's Avatar
I was able to "clip" the free surface using this approach:

First, I saved a copy of my mesh and assigned a value of 0.01m to all nodes (I named this mesh "Allnodes0p01"). I then used the calculator tool as follows:

Step1.jpg


Step2.jpg


Step3.jpg
The administrator has disabled public write access.

Displaying Free Surface Clipped to Edge of Water 9 years 5 months ago #17151

  • Fauret
  • Fauret's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 44
  • Thank you received: 12
Sorry I misunderstood that you needed to visualize free surface elevation and not water depth.

You can do this in BK, as you have showed above, but another method is to do it in Telemac itself.

Use the routines NOMVAR_TELEMAC2D to give a name to a new variable, and PRERES_TELEMAC2D to define this variable at every node for every time step.

In Fortran you define this variable as <0 (ie =-1) when depth < .05 and equal to the surface elevation when depth > .05. Depth and free surface are readily available in PRERES. This new variable is printed in the result Telemac file and will be visualized with BK.

The advantage of defining this variable in Telemac rather than in BK is that you prepare the fortran procedure to define it in PRERES only once. Otherwise, if you do it in BK, you will have to create this new variable each time for every run.
Another advantage is that, in the Fortran code, you have a trace of the procedure used to calculate this new variable (was it depth<1cm or 5cm?). In BK you do not have a trace of what you did with the calculator.

This is one of the advantages of Telemac: The user can control easily, within the code itself, the input and the output of the model, to suit her requirements.

Thierry
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: Serrer, a.barton

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