Welcome, Guest
Username: Password: Remember me

TOPIC: Frontieres solides et liquides

Frontieres solides et liquides 13 years 8 months ago #1146

  • Dufour
  • Dufour's Avatar
Bonjour,

J'essaie d'utiliser Artemis, mais je ne comprends pas une ligne du fichier Fortran du cas creocean.

Pouvez-vous me dire à quoi correspondent les caractères suivants: DO 10 I = 1,1029 ?

De plus, est-il important d'écrire la ligne suivante: write(*,*) 'je suis dans bord1' ?

Merci.
The administrator has disabled public write access.

Re:Frontieres solides et liquides 13 years 8 months ago #1148

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

First of all, as indicates on the forum rules, please use English on this forum. It allows the answers of the most part of users and this could help other users later.

About this test case.
The line with write is just place here to allow the user to check the program run and pass in this modified subroutine. This is not necessary for the run.

The DO line is a loop on the boundary nodes. to assign different values (H, TETA...) to all boundary nodes.

Regards
Christophe
The administrator has disabled public write access.

Re:Frontieres solides et liquides 13 years 8 months ago #1193

  • jmhervouet
  • jmhervouet's Avatar
Hello,

DO 10 I=1,1029
...
10 CONTINUE

is an old way to write loops in Fortran, it is equivalent to:

DO I=1,1029
...
ENDDO

write(*,*) 'je suis dans bord1'

is not important, it is just to check that the present subroutine is called, I would prefer:

write(LU,*) 'je suis dans bord1'

because in parallel only the messages from processor 0 are kept.

Regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

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