Welcome, Guest
Username: Password: Remember me

TOPIC: FLOT3D - Empty Particle File - Particle Tracking

FLOT3D - Empty Particle File - Particle Tracking 5 years 3 months ago #34117

  • Jose_filho
  • Jose_filho's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 42
  • Thank you received: 2
Hello Everyone,

I am performing a T3D simulation for my PhD and the hydrodynamics is running ok. However, I would like to start to do some particle tracking experiments. I have read the 2D and 3D manual for drogues, algal and oilspill tracking and done the modifications to the FLOT3D.f code, however it is not working as the same way in the given example. The compilation just does not start.

Precisely, if I clean up the example and define only XFLOT, YFLOT and ZFLOT (as the manual reccomends) in FLOT3D, the simulation starts an the hydrodynamics runs well, but the .dat file is empty at the end.
The log file shows me this:
"APPEL DE METEO
RETOUR DE METEO
APPEL DE BORD3D
RETOUR DE BORD3D
APPEL DE TBORD
RETOUR DE TBORD, APPEL DE TFOND
RETOUR DE TFOND
APPEL DE THOMPS
RETOUR DE THOMPS
APPEL DE THOMPS_2DTO3D
RETOUR DE THOMPS_2DTO3D
APPEL DE TRISOU
RETOUR DE TRISOU, APPEL DE SOURCE
RETOUR DE SOURCE
APPEL DE MESH_PROP
RETOUR DE MESH_PROP
APPEL DE CVDF3D POUR U
RETOUR DE CVDF3D POUR U
APPEL DE CVDF3D POUR V
RETOUR DE CVDF3D POUR V
APPEL DE CVDF3D POUR W
RETOUR DE CVDF3D POUR W
APPEL DE WAVE_EQUATION
RETOUR DE WAVE_EQUATION
APPEL DE CORRECTION_DEPTH_3D
RETOUR DE CORRECTION_DEPTH_3D "

I've also read a bunch of old experiences from the people here in the forum, but I still did not solve my trouble. I am hopeless in Fortran coding.
I did the correct modification in the steering file as well.
Please, could anyone point out what am I missing? Or, if anyone has any FLOT3D.f modified, also could help me.

File Attachment:

File Name: flot3d.f
File Size: 4 KB
- If I use this one, the FLOT3D does not compile.

File Attachment:

File Name: flotteurs3d.f
File Size: 4 KB
- If I use this one, It compiles but the file is empty at the end.

Thanks in advance,
The administrator has disabled public write access.

FLOT3D - Empty Particle File - Particle Tracking 5 years 3 months ago #34127

  • Jose_filho
  • Jose_filho's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 42
  • Thank you received: 2
No one? Could anyone share a FLOT3D.f used for a personal work?
I am doing exactly what the manual recommends, but it just do not work and I can not see whats going on.
I am running in parallel.
The administrator has disabled public write access.

FLOT3D - Empty Particle File - Particle Tracking 5 years 3 months ago #34128

Dear Jose,

I never used particules in T3D.
Nevertheless, I think it is difficult - for all - to answer to your questions.

1) Which version of TELEMAC do you use?
2) Could you post your steering file?
3) What is the compilation error?
4) Did you try to start from $HOMETEL/examples/telemac3d/particules test case?

Best regards,
Jacques
The administrator has disabled public write access.

FLOT3D - Empty Particle File - Particle Tracking 5 years 3 months ago #34129

  • Jose_filho
  • Jose_filho's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 42
  • Thank you received: 2
Dear Jacques,

1) I am using V8P0R2.
2) Yes. It is attached now.
3) I can not see the error (Im on ssh), but I suspect that is some bad written code.
4) Yes, it runs smoothly and the file is generated for the particles example. I tried to copy FLOT3D.f and modify only the coordinates and time of releasing, but the error persists.

Actually, it is running now if I comment the example lines and define only XFLOT, YFLOT and ZFLOT. However, the file is empty at the end. I saw that I have to define also DEBFLO and FINFLO, but the error persists.

File Attachment:

File Name: 3D_.cas
File Size: 11 KB


Im trying this one now, but does not work at all.

File Attachment:

File Name: flot3d_2019-07-26.f
File Size: 4 KB


Best regards,

Jose
The administrator has disabled public write access.

FLOT3D - Empty Particle File - Particle Tracking 5 years 3 months ago #34131

Dear Jose,

Why you comment add_particule function? You probably have to use it. As the example (and as $HOMETEL/examples/telemac2d/canalagae).

Something like this sounds good to me:
      IF(LT.EQ.1) THEN
          CALL ADD_PARTICLE(292743.313D0,9156701.D0,-0.5D0,1,NFLOT,
    &                    NFLOT_MAX,XFLOT,YFLOT,ZFLOT,TAGFLO,
    &                    SHPFLO,SHZFLO,ELTFLO,ETAFLO,MESH3D,NPLAN,
    &                    0.D0,0.D0,0.D0,0.D0,0,0)
          CALL ADD_PARTICLE(313596.813D0,9099688.D0,-10.D0,2,NFLOT,
    &                    NFLOT_MAX,XFLOT,YFLOT,ZFLOT,TAGFLO,
    &                    SHPFLO,SHZFLO,ELTFLO,ETAFLO,MESH3D,NPLAN,
    &                    0.D0,0.D0,0.D0,0.D0,0,0)
      ENDIF

best regards,
J
The administrator has disabled public write access.

FLOT3D - Empty Particle File - Particle Tracking 5 years 3 months ago #34132

  • Jose_filho
  • Jose_filho's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 42
  • Thank you received: 2
Dear Jacques,

It is running now. Thank you very much for your kindness. The error was just about indentations. I've never coded in Fortran, but now on I will look closer to it. Maybe this kind of trouble is trivial for you, but for some of us is quite tricky.

Anyway, I wish you all the best.


Regards,

Jose
The administrator has disabled public write access.

FLOT3D - Empty Particle File - Particle Tracking 5 years 3 months ago #34228

  • mhbeula2
  • mhbeula2's Avatar
Hello Jose Filho

I have the same problem with you and I need your help

I am performing a T3D simulation for my PhD and the hydrodynamics is running ok. However, I would like to start to do some particle tracking experiments, to simulate eggs and larvae transport and dispersion.
I have read the 2D and 3D manual for drogues, and done the modifications to the FLOT3D.f code.
However it is not working as the same way in the given example. I define only XFLOT, YFLOT and ZFLOT, as the manual examples in FLOT3D, the simulation starts an the hydrodynamics runs well,the compilation just does not start. When it starts on the first time step of the tracking particles, the simulation hangs.

Please help me, how did you solve your problem??
I'm in Brazil. You are Brazilian?
The administrator has disabled public write access.
Moderators: pham

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