# Initial Condition: user\_condin\_h.f and free surface

**URL:** <https://opentelemac.org/forum/t/initial-condition-user-condin-h-f-and-free-surface/8037>\
**Category:** TELEMAC-2D\
**Created:** [August 8, 2025, 6:23am UTC](https://opentelemac.org/forum/t/initial-condition-user-condin-h-f-and-free-surface/8037 "2025-08-08T06:23:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user\_17382](https://opentelemac.org/forum/letter_avatar_proxy/v4/letter/u/ec9cab/32.png) [@user\_17382](https://opentelemac.org/forum/u/user_17382)\
**Post date:** [August 8, 2025, 6:23am UTC](https://opentelemac.org/forum/t/initial-condition-user-condin-h-f-and-free-surface/8037/1 "2025-08-08T06:23:57Z")

</div>

Hi [name removed],

i’m trying to model a dam break with flooding of the surrounding areas. To initiate the model I want to have water in the river but not in surrounding areas that are below the riverbed.

As far as i understand, I could use the initial condition “special” and use the “user\_condin\_h.f” but i don’t know how.

Can anyone provide an example or tell me, if there is an example on telemac-2d that comes with the user\_condin\_h.f ?

My idea would be to provide an intial free surface with the water levels that i want and define in the user\_condin\_h.f that water depth = free surface - bottom.

Can anyone tell me if that works or give some advice how to setup the model?

Thanks so much!

[name removed]

---

<div class="post-metadata">

**Author:** ![user\_438](https://opentelemac.org/forum/letter_avatar_proxy/v4/letter/u/c77e96/32.png) [@user\_438](https://opentelemac.org/forum/u/user_438)\
**Post date:** [October 23, 2025, 5:46pm UTC](https://opentelemac.org/forum/t/initial-condition-user-condin-h-f-and-free-surface/8037/2 "2025-10-23T17:46:19Z")

</div>

Hello [name removed],

The TELEMAC-2D examples are located in $HOMETEL/examples/telemac2d folder.

Examples of user\_condin\_h.f can be found in subfolders user\_fortran (or a name with this prefix) of a few examples.

You can have a look at breach, malpasset, digue, balzano or wesel e.g.

Hope this helps,

[name removed]
