Welcome, Guest
Username: Password: Remember me

TOPIC: new bedload formula?

new bedload formula? 10 years 11 months ago #11377

  • najibsadid
  • najibsadid's Avatar
Hello everyone,
I'd like to know if someone has tried to programm a new bed load formula(other than those offered by SISYPHE)and what tips you can give me. Im trying to program a new bed load formula using qsform.f. If you have already used it,please send me also a copy to have a look.
Regards
Najib
The administrator has disabled public write access.

new bedload formula? 10 years 11 months ago #11379

  • Pablo
  • Pablo's Avatar
  • OFFLINE
  • Moderator
  • Posts: 316
  • Thank you received: 121
Dear Najib,

please find attached a simple example of qsform.f (implementation of Grass formula).

Do not forget to include the following in your steering file (sisyphe):

BED LOAD = YES
BED-LOAD TRANSPORT FORMULA = 0 / user defined qb = Au^3

I hope it helps,

Pablo
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: najibsadid

new bedload formula? 10 years 6 months ago #12779

  • momo
  • momo's Avatar
i am triying also to program a simple bed load formula
In the first step i am trying to use your simple example of qsform.f (but no result). the same error "INITIALISATION EN CAS DE COUPLAGE : PART= forrtl: severe (157):Program Exception - access violation
or DEBIMP : PROBLEME SUR LA FRONTIERE 2
DONNER UN PROFIL DE VITESSES
DANS LE FICHIER DES CONDITIONS AUX LIMITES
OU VERIFIER LES HAUTEURS D'EAU
The administrator has disabled public write access.

new bedload formula? 10 years 6 months ago #12780

  • Pablo
  • Pablo's Avatar
  • OFFLINE
  • Moderator
  • Posts: 316
  • Thank you received: 121
Hello,
the test case KD09/ includes the implementation of the Grass formula. You can run this test case to see if the code has been correctly installed and get inspiration for your own implementation.

Before that, please run your case with one of the already implemented sediment transport formulae and also be sure that the hydrodynamics has been correctly solved.

Cheers,

Pablo
The administrator has disabled public write access.

new bedload formula? 10 years 6 months ago #12810

  • momo
  • momo's Avatar
Hello
First I would like to thank you for your answer.
As you told me I tried to run the test case KD09, with Telemac V6P1 but I get a lot of errors, I think I have to install V6P3.
For my simple case (study of bed load transport in a small rectangular channel) when I choose one of the already implemented sediment transport formula ( Van Rijn, Einstein, etc..) I have no problem. But when I try to use my formula or (qsform.f implementation of Grass formula), I have an error message.
Just as an indication, i tried to run qsform.f (implementation of Grass formula with the training case, also i have the same problem. DONNER UN PROFIL DE VITESSES
DANS LE FICHIER DES CONDITIONS AUX LIMITES
OU VERIFIER LES HAUTEURS D'EAU!!
I don’t know where is the problem ?
The administrator has disabled public write access.

new bedload formula? 10 years 6 months ago #13002

  • momo
  • momo's Avatar
Hello

I try to follow what you have told me. My project works well with the formulas already established (van Rijn, Meyer, etc ...). But when I try to use my own formula I still have this error message.
INITIALISATION EN CAS DE COUPLAGE : PART= 0
forrtl: severe (157):Program Exception - access violation
Image PC Routine line Source
Out4216_win.exe 004011a1 QSFORM 74 te2fort.f
May you just tell me it’s due to what exactly??
Thank you for your understanding
The administrator has disabled public write access.

new bedload formula? 10 years 11 months ago #11400

  • najibsadid
  • najibsadid's Avatar
Hello
First of all thank you for the sample,
I tried to program the formula for bed load transport in steep channels by Tetsuro Tsujimoto, but i face some problems while compiling it. It encounter some errors,Please have a look at the Qsform and the problem i get and give me some hints to correct it.
Thanking you in advance!
Regards
Najib
Attachments:
The administrator has disabled public write access.

new bedload formula? 10 years 11 months ago #11401

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
You cannot use bief objects directly in formulas like you're doing it.
You should use OV or OS functions for computations or use loops to compute each values
Take care on the length of your lines you shouldn't have more than 72 characters per lines...

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: najibsadid

new bedload formula? 8 years 5 months ago #22168

  • Lufia
  • Lufia's Avatar
Hi,

Sorry for posting in this old thread. I'm a little bit confused.

It looks like the way the Grass formula is implemented is only one-dimensional (see also test case KD09)
QSC%R(I) = ACOEFF * U2D%R(I) * (U2D%R(I)**2+V2D%R(I)**2)

I'm not sure, but it looks like all bedload fluxes are defined as 1d fluxes in Sisyphe. Later the x,y-dependency is computed via the velocity.

qsc_u = QSC *  u/sqrt(u**2 + v**2)
qsc_v = QSC *  v/sqrt(u**2 + v**2)

This means that the Grass formula should look like

QSC%R(I) = ACOEFF * (U2D%R(I)**2+V2D%R(I)**2) * sqrt(U2D%R(I)**2+V2D%R(I)**2)

Best regards,

Leo
The administrator has disabled public write access.
Moderators: Pablo, pavans

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