# Problem on the coupling of telemac3d and tomawac in wind-induced wave

**URL:** <https://opentelemac.org/forum/t/problem-on-the-coupling-of-telemac3d-and-tomawac-in-wind-induced-wave/6172>\
**Category:** TOMAWAC\
**Created:** [September 13, 2020, 6:26am UTC](https://opentelemac.org/forum/t/problem-on-the-coupling-of-telemac3d-and-tomawac-in-wind-induced-wave/6172 "2020-09-13T06:26:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user\_14008](https://opentelemac.org/forum/letter_avatar_proxy/v4/letter/u/ba8739/32.png) [@user\_14008](https://opentelemac.org/forum/u/user_14008)\
**Post date:** [September 13, 2020, 6:26am UTC](https://opentelemac.org/forum/t/problem-on-the-coupling-of-telemac3d-and-tomawac-in-wind-induced-wave/6172/1 "2020-09-13T06:26:26Z")

</div>

I’m trying to calculate the wind-induced wave using telemac3d coupling with tomawac,I hope to set up wind farm in telemac3d and transmit it to tomawac through anaven.F.But I don’t understand how to modify the anaven.F file.I hope someone can teach me how to modify anaven.F.I would appreciate it if anyone could help me. 🍻

[anaven.f](https://opentelemac.org/forum/uploads/short-url/ppLMJGBKGnDkoxq65yJEkMdYWBg.f) (3.32 KB)  
[TH1TOM.cas](https://opentelemac.org/forum/uploads/short-url/nCYBGb7JDHPdYbInUjkIZJIkTi8.cas) (4.5 KB)  
[TH1.cas](https://opentelemac.org/forum/uploads/short-url/PuWOncVa4nVnXv6B1IdM2lPpBx.cas) (2.22 KB)

---

<div class="post-metadata">

**Author:** ![user\_8473](https://opentelemac.org/forum/letter_avatar_proxy/v4/letter/u/8c91f0/32.png) [@user\_8473](https://opentelemac.org/forum/u/user_8473)\
**Post date:** [September 15, 2020, 1:49pm UTC](https://opentelemac.org/forum/t/problem-on-the-coupling-of-telemac3d-and-tomawac-in-wind-induced-wave/6172/2 "2020-09-15T13:49:23Z")

</div>

Hello

You can not write

```
  TYPE (BIEF_OBJ), INTENT(INOUT) [IP removed] wind

```

because wind is not an argument of anaven.f but if you put

```
  use declarations_telemac3d wind

```

it should work as wind is a variable of telemac3d. then you do not have to declare it as it has been declared in declarations\_telemac3d.

Hope it helps

[name removed]

---

<div class="post-metadata">

**Author:** ![user\_8473](https://opentelemac.org/forum/letter_avatar_proxy/v4/letter/u/8c91f0/32.png) [@user\_8473](https://opentelemac.org/forum/u/user_8473)\
**Post date:** [September 15, 2020, 1:51pm UTC](https://opentelemac.org/forum/t/problem-on-the-coupling-of-telemac3d-and-tomawac-in-wind-induced-wave/6172/3 "2020-09-15T13:51:11Z")

</div>

I meant

use declarations\_telemac3d, ONLY : wind

sorry

---

<div class="post-metadata">

**Author:** ![user\_14008](https://opentelemac.org/forum/letter_avatar_proxy/v4/letter/u/ba8739/32.png) [@user\_14008](https://opentelemac.org/forum/u/user_14008)\
**Post date:** [September 15, 2020, 2:17pm UTC](https://opentelemac.org/forum/t/problem-on-the-coupling-of-telemac3d-and-tomawac-in-wind-induced-wave/6172/4 "2020-09-15T14:17:19Z")

</div>

I modified the anaven.F as you suggested. Now the program runs well,thank you very much!
