Welcome, Guest
Username: Password: Remember me

TOPIC: NUMBER OF LETTERS PER WORD of tracers

NUMBER OF LETTERS PER WORD of tracers 8 months 3 weeks ago #44279

  • Raphaël
  • Raphaël's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 21
  • Thank you received: 1
Hello,
I'm using aed2 examples (waq3d_aed2_flume) and I wanted to output other tracers than those initialy proposed (i. e. TA1 to TA16). But when I want to output for example TA18 and TA19, I have this error message when running the computation :
"MORE THAN 8 LETTERS PER WORD IN THE CHAIN TA1 TA2...TA18 TA19 ".
I saw in the manuel that 8 characters max is needed per name of tracers, but is it possible to change that ? For example, I'll never be able to output "CAR_atm_co2_flux" variable without changing this number of letters...
Thanks for your help
Raphaël
The administrator has disabled public write access.

NUMBER OF LETTERS PER WORD of tracers 8 months 3 weeks ago #44285

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

Can you provide every modified file you have used to get this error please?

Chi-Tuan
The administrator has disabled public write access.

NUMBER OF LETTERS PER WORD of tracers 8 months 3 weeks ago #44287

  • Raphaël
  • Raphaël's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 21
  • Thank you received: 1
Hello
Here the steering file modified. This is from the example "waq3d_aed2_flume"

File Attachment:

File Name: test1_t3d_waq3d_aed2_flume.cas
File Size: 4 KB

Raphaël
The administrator has disabled public write access.

NUMBER OF LETTERS PER WORD of tracers 8 months 3 weeks ago #44288

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

I have a look at SORTIE subroutine and your problem seems to be that the string you use for the keyword VARIABLES FOR 2D GRAPHIC PRINTOUTS is exactly 72 long (and does not end with a blank). If it is 71 long or less, it seems that it should be OK.

Do you really need to store every tracer you declare?
If you cannot decrease the list, one workaround is to use TA*. In that case, you store every tracer. The main drawback is that the size of your results file will increase.
Otherwise, you have to change the hard-coded size 72 of SORT2D in declarations_telemac3d.py (LEN=72) + lecdon_telemac3d.F (the length to be read: MOTCAR(ADRESS(4, 3))(1:72)) in the source code of the version you use + full compilation with --clean option. I have not tried if it works, but it could be tried.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

NUMBER OF LETTERS PER WORD of tracers 8 months 3 weeks ago #44289

  • Raphaël
  • Raphaël's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 21
  • Thank you received: 1
Ok thanks, the problem was here.

I have another question. How do I get the "diagnostic" mentioned in "aed.see.uwa.edu.au/research/models/aed/aed_nutrient.html". Particularly in aed_carbon, I'm interested in CAR_pco2 and CAR_atm_co2_flux.
I have no problems obtaining the variables, I saw that they were stored between TA1 and TA25. But I don't know how to get "diagnostic"...

Thanks a lot
Raphaël
The administrator has disabled public write access.

NUMBER OF LETTERS PER WORD of tracers 8 months 3 weeks ago #44293

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

I am not an AED2 specialist, but talking quickly with a colleague of mine, he told me that "diagnostics" are variables that may be computed by AED2, but for sure not sent back to TELEMAC-3D. Only the tracers advected and diffused by TELEMAC-3D can be stored in the results file (what is called "variables" in the page you mention).

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

NUMBER OF LETTERS PER WORD of tracers 8 months 2 weeks ago #44296

  • Raphaël
  • Raphaël's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 21
  • Thank you received: 1
Hello

Ok... If you have any tips on how to obtain these diagnostics (even without telemac), I'd be interested. Or perhaps I could contact your colleague directly (because this forum may no longer be suitable)?

thanks again

Raphaël
The administrator has disabled public write access.

NUMBER OF LETTERS PER WORD of tracers 8 months 2 weeks ago #44302

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

The tips seem to be to go and see what is done in AED2 source code (my colleague cannot help more). Perhaps you can try to contact AED2 developers from University of Western Australia to get some help?

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

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