Welcome, Guest
Username: Password: Remember me

TOPIC: How to define the friction coefficient varies in space ?

How to define the friction coefficient varies in space ? 7 years 8 months ago #25506

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
If I understand correctly... if you don't have the value in the bottom friction file, telemac will use the value given through the key words FRICTION COEFFICIENT = 0.03.
The administrator has disabled public write access.

How to define the friction coefficient varies in space ? 7 years 8 months ago #25507

  • Wang_D
  • Wang_D's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 47
OK,Huy, I think I got your meaning, and I will do some test next, hope the progress.
Thanks all your help with this question and the former one.
Regards
W_D
The administrator has disabled public write access.

How to define the friction coefficient varies in space ? 7 years 8 months ago #25523

  • mourad
  • mourad's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 6
Hi Wang,
Did you resolved the your problem? this kind of Manning coefficient variables in space?
The administrator has disabled public write access.

How to define the friction coefficient varies in space ? 7 years 8 months ago #25525

  • Wang_D
  • Wang_D's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 47
Hello, mourad:
I haven't now, if I don't use the key word FRICTION COEFFICIENT = xxxx, it always shows GIVE THE CORRESPONDING PRICTION COEFICIENT.
Firstly, I import f.xyz file (which to drag to the interpolator as you suggested) and my Mike21 Mesh into BlueKenue;
then, I create the friction file as a selafin object : click on File - New – SELAFIN Object;
next, I add variable to the SELAFIN Object, 1) BOTTOM, and select Copy Node Values from Source, 2)BOTTOM FRICTION, and Default Node Value through my Mike21 Mesh, and then use NewInterpolator2D to MAP it,(also I tried map it firstly and then add variable to SELAFIN Object with Copy Node Values from Source);
next I save the SELAFIN Object with BOTTOM and BOTTOM FRICTION as eh_geo_z_f.slf. And in the streeling file, only use the key word GEOMETRY FILE = eh_geo_z_f.slf
I'm not sure is that some steps wrong with my SELAFIN Object ? Also, if I use the key word FRICTION COEFFICIENT = xxxx, which coefficient friction it use, just the value xxxx, or the value in my GEOMETRY FILE = eh_geo_z_f.slf ?
Thanks,
W_D
The administrator has disabled public write access.

How to define the friction coefficient varies in space ? 7 years 8 months ago #25527

  • mourad
  • mourad's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 6
Hi Wang
I've had some time this Week-End and I think found a solution. It work when you use a geo file with both the bathymetry and the friction : inside the GEO file you will have the bottom elevation and the friction values. I suppose that you can carry out the GEO file (interpolator, selafin, etc...).
Once this GEO file is done, open a new 2D interpolaror and drop inside it your friction file. For the friction file I've imported a shapefile with these attributes X,Y,n (n is the manning coefficient) and I saved it as Points sets (pt2 not XYZ). I've than interpolated the manning coefficient over the mesh. After that, I've added the manning coefficient to my GEO file : I suppose here too that you can do it...
In the steering file you have to add these two keywords :
LAW OF BOTTOM FRICTION : 4
FRICTION COEFFICIENT : 0
In fact, whatever the value of the keyword FRICTION COEFFICIENT, TELEMAC will look for the friction inside the geo file if the later exist and automatically ignore the value you mentionned in the steering file (I know, it's not evident but it works as it is).
To be sure the friction is considered variable in space, add W to the keyword VARIABLES FOR GRAPHIC PRINTOUTS and open the result file in BlueKenue to check it.
You can also run your simulation with this : telemac2d.py -s your-cas_file to generate the simulation log (something like ...sortie). You can then find out that the friction is extracted from the GEO file.

I can send you a full example if you still have difficulties.
Hope this help
Mourad
The administrator has disabled public write access.
The following user(s) said Thank You: Wang_D

How to define the friction coefficient varies in space ? 7 years 8 months ago #25528

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Also, please follow this post:

www.openmascaret.org/index.php/assistanc...on-coefficient#21474

It had tested, it worked well in both 2D and 3D model.

Regards
Huy
The administrator has disabled public write access.
The following user(s) said Thank You: Wang_D
Moderators: pham

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