Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Parallel compatibility: converting global to local IDs from text file

Parallel compatibility: converting global to local IDs from text file 6 years 5 months ago #30267

  • SDAC
  • SDAC's Avatar
Thankyou. Unfortunately didn't seem to be the issue: head losses still aren't applied at the nodes...
The administrator has disabled public write access.

Parallel compatibility: converting global to local IDs from text file 6 years 5 months ago #30277

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Hi,

In addition of the mistake pointed out by Christophe, you just have to reverse the order of the DO and IF instructions in the 3rd DO loop.
Your case runs fine for me with the enclosed modifications.
I also did some optimisations on your code so as to remove unused variables and to keep only one DO loop instead of 3. I only look at the source.f subroutine.

File Attachment:

File Name: ptest.f
File Size: 22 KB


Note also that you can stay in hydostatic version if you don't apply head loss to vertical component of momentum.

I hope it helps.

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

Parallel compatibility: converting global to local IDs from text file 6 years 5 months ago #30416

  • SDAC
  • SDAC's Avatar
Thankyou, Laurent!

That's great of you to do so. I see where I went wrong. It works well! Thanks for your help.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: pham

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