Welcome, Guest
Username: Password: Remember me

TOPIC: Drogue Color

Drogue Color 2 years 5 months ago #40469

Hello,

I am wondering if there is a way to assign a color to drogues released at varying locations in the model domain through the Fortran file within the subroutine Flot3d. For example, I am releasing particles at several locations using the following code within my Fortran file:

IF(LT.GE.268560.AND.LT.LE.327960) THEN
CALL ADD_PARTICLE(568280.2123D0,4926718.367D0,0.D0,
& LT,NFLOT,
& NFLOT_MAX,XFLOT,YFLOT,ZFLOT,TAGFLO,
& SHPFLO,SHZFLO,ELTFLO,ETAFLO,MESH3D,NPLAN,
& 0.D0,0.D0,0.D0,0.D0,0,0)
ENDIF

The resulting drogue .dat file has the header:

TITLE = "DROGUES FILE"
VARIABLES = "LABELS","X ","Y ","ELEVATION Z M ","COLOUR"

Which suggests to me that it is possible to assign a color to drogues within the Fortran file. Is this possible, and if so could someone please instruct me on how to do this?

Thank you,
Taylor
The administrator has disabled public write access.

Drogue Color 2 years 5 months ago #40495

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello Taylor,

The drogues file is written in UTIMP_DROGUES subroutine (available in $HOMETEL/sources/utils/bief

It seems that inside this subroutine, the last column COLOUR is hard coded at 1.

You should be able to implement what you want by using UTIMP_DROGUES.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
Moderators: pham

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