Welcome, Guest
Username: Password: Remember me

TOPIC: Tuning of head loss coefficients

Tuning of head loss coefficients 7 years 4 months ago #27093

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Hi,

Thanks to Phelype and Sven, I solved my problem.

Changing PRIVE1 into N gave me discharge values in my result file.
OK for the length of the string taken in OS.

Alexis
The administrator has disabled public write access.

Tuning of head loss coefficients 6 years 6 months ago #30026

  • Binguo
  • Binguo's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 34
  • Thank you received: 1
Hi,

I am working on culverts modelling recently. But my model could Only run in single processor. I think the problem is at the input of culvert data file.

I wounder could you run Culvert model in paralell?

Best Regards,
Bin
The administrator has disabled public write access.
The following user(s) said Thank You: Svensmolders

Tuning of head loss coefficients 6 years 5 months ago #30418

  • Svensmolders
  • Svensmolders's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 105
  • Thank you received: 20
Hi Bin,

sorry for the late reply. Yes I almost always run in parallel mode.
Could you solve your problem by now?

Sven
The administrator has disabled public write access.

Tuning of head loss coefficients 4 years 10 months ago #35238

  • Christof
  • Christof's Avatar
Hi together,

thanks for the great content so far. I changed my fortran file and the steering file, as you suggested. During the simulation there is a discharge through the culvert calculated, but the variable in bluekenue shows no data at all.
Further I wouldn´t need it as an output over the whole mesh, but a single graph of the discharge over time would be enough (comparable to the discharge being printed by a normal crosssection in the river).

In the future I will have to simulate and print the discharges of a few hundred culverts/tubes in my domain. Is there anything to keep in mind?
I´m just wondering how I will handle them all, as there are only 4 additional private arrays available. An output into an own result file would be great, but I didn´t manage to do so, as I´m not familiar with fortran. (I´m running on v7p3r1)

Thanks for any advices!
Regards
Chris
The administrator has disabled public write access.

Tuning of head loss coefficients 4 years 9 months ago #35287

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Hi Chris,

For the first point (No data in the result file), can you post your telemac2d.f modified and your steering file.

For the second point, I can't help you as my skills in fortran are almost the same as yours.

You can have a look at fluxpr_telemac2d.f to see how discharge throught control section are printed.

Alexis
The administrator has disabled public write access.

Tuning of head loss coefficients 4 years 9 months ago #35301

  • Christof
  • Christof's Avatar
Hi Alexis,

thanks for you response! Attached you´ll find the two files.
Maybe you´re able to identify my problem.
I´ll check fluxpr_telemac2d.f to see if I find something useful.

Best regards
Chris

File Attachment:

File Name: telemac2d.f
File Size: 65 KB


File Attachment:

File Name: steering.cas
File Size: 6 KB
The administrator has disabled public write access.

Tuning of head loss coefficients 4 years 9 months ago #35303

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Hi Chris,

I don't see anything wrong with what you've done.
Can you send me your whole case : bc_channel.cli, culvert_bridge2.txt, Geometry.slf




You can find a case working with v7p3r1 (.txt to be renamed in .zip)
The administrator has disabled public write access.

Tuning of head loss coefficients 4 years 9 months ago #35304

  • Christof
  • Christof's Avatar
Hi Abernard,
attached you´ll find my test case. The channel is not perfect but runs and the culvert discharge is calculated to around 0.9 m³/s, but as I mentioned before not written to the private variable.

Regards
Chris

File Attachment:

File Name: bc_channel.cli
File Size: 41 KB


File Attachment:

File Name: culvert_bridge2.txt
File Size: 0 KB


File Attachment:

File Name: Geometry.slf
File Size: 231 KB
The administrator has disabled public write access.

Tuning of head loss coefficients 4 years 9 months ago #35305

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Hi Chris,

I got it. You have to compile the modified fortran file. Put it in a folder called user_fortran and add the following instruction in your steering file :

FORTRAN FILE = 'user_fortran'

It works for me.

In your case, modifications done in your fortran file are not taken into account.

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

Tuning of head loss coefficients 4 years 9 months ago #35306

  • Christof
  • Christof's Avatar
Hi Alexis,

thanks a lot for your help, it´s working now! So whenever I change one of the fortran files I have to add it to my own folder, so the changes are taken into account?

Still I would like to get an output file as it´s possible for the sections. I´ll keep on trying. ;D

Regards
Chris
The administrator has disabled public write access.
Moderators: pham

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