Welcome, Guest
Username: Password: Remember me

TOPIC: new to TOMAWAC

new to TOMAWAC 3 years 7 months ago #38162

  • Jason
  • Jason's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hi,
I am new to TOMAWAC.I tried to make a simple test to know how to setting TOMAWAC.I want to make a regular wave in a flume.How to set the wave height,wave period and wave direction?
I tried to use the example LITTORAL to test the case,but there is no wave generated when TYPE OF INITIAL DIRECTIONAL SPECTRUM = 0 and TYPE OF BOUNDARY DIRECTIONAL SPECTRUM = 0.
is there something wrong in my cas file??

THANKS!!!
The administrator has disabled public write access.

new to TOMAWAC 3 years 7 months ago #38168

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Start with a more simple example as this one is a couple one...
Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Jason

new to TOMAWAC 3 years 7 months ago #38193

  • Jason
  • Jason's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hello,

Thanks for your suggestion. Actually, our ultimate goal is to compare an experiment of bed evolution conducted in the lab using regular waves. For this reason, we try to simulate the effect of wave-induced currents using TOMAWAC + Telemac3D for further bed erosion simulation and use TOMAWAC to simulate waves on the boundaries. Since the BCs given in TOMAWAC are spectrums, we would like to know if it’s possible to simulate regular waves?? If the answer is yes, how to set it up? We thought the Zero Spectrum setting on the BCs would mean regular waves by default, but it doesn’t seem so. The attached files are settings of a basin with the Zero Spectrum setting on the BCs, but no observable wave heights are found. We are also considering using a very narrow banded spectrum, but how narrow would be appropriate? Any suggestion?

Thanks in advance.
The administrator has disabled public write access.

new to TOMAWAC 3 years 7 months ago #38195

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
Hello Jason,

Even if your aim is to simulate in a coupled case, you should follow christophe's suggestion to start with tomawac in a simpler case.

Tomawac is not made to simulate regular wave, but a way to do it can be found in the example dean. In that example, with a user fortran you can cancel the frequencies you do not want to have.

The zero spectrum setting means no wave on the boundary. So if you want energy on the BC you should choose another type of spectrum and filter the frequencies with the user fortran i just mentioned.

As for narrow banded spectrum, the peak factor (initial or boundary) will allow you to set your band, the bigger the peak factor is, the narrower the band is.

regards

thierry
The administrator has disabled public write access.
The following user(s) said Thank You: Jason

new to TOMAWAC 3 years 7 months ago #38210

  • Jason
  • Jason's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hello thierry,

Thanks for your suggestion.I checked example dean and found the userfortran file user_limwac.f.I have some simple questions to ask.

1.in user_limwac. line60
DF3=0.5D0*(FREQ(4)/FREQ(3)-1.0D0)*(FREQ(4)+FREQ(3)).How this equation come about?any theory?

2.in user_limwac. line61
AUX=(3.54D0)**2/(16.0D0*DTETAR*DF3).How this equation come about?any theory?
I look into usermanual P.9 energy E=1/8*waterdensity*g*H**2

3.how to define MINIMAL FREQUENCY in .cas file?


4.does the fortran file monocro.f take into the calculation?

Thanks in advance.
Attachments:
The administrator has disabled public write access.

new to TOMAWAC 3 years 7 months ago #38298

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
Hello,

As explained (in french) above line 60, this is how to get hm0=3.54
as you are going to integrate on theta and frequencies those formula put on F, how to get HM0.

DF3 is discretisation of Delta Frequency and then you calculate HM0 according formula in documentation about
A.1 Output variables of TOMAWAC

3.how to define MINIMAL FREQUENCY in .cas file?
try to use the keyword 'MINIMAL FREQUENCY'...

4.does the fortran file monocro.f take into the calculation?
No it is just another example.
The administrator has disabled public write access.
The following user(s) said Thank You: Jason
Moderators: tfouquet

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