Welcome, Guest
Username: Password: Remember me

TOPIC: [Edit] Time-dependant tracer sources and boundary conditions

[Edit] Time-dependant tracer sources and boundary conditions 2 years 4 weeks ago #41379

  • guillaume.goodwin
  • guillaume.goodwin's Avatar
[repost with missing sources file] Hello,

I'm fairly new to Telemac and trying to simulate the diffusion-advection of salinity in a tidal river.

The values of the tracers at the sources or the boundaries are always those given respectively by the PRESCRIBED TRACERS VALUES (VALEURS IMPOSEES DES TRACEURS) or VALUES OF THE TRACERS AT THE SOURCES (VALEURS DES TRACEURS DES SOURCES) keywords even though I have included the T(Boundary#,Tracer#) columns in the liquid file and T(Source#,Tracer#) in the source file. I thought the liquid and sources file should supercede these keywords for tracers, since they work like this for the discharge.

If I comment out PRESCRIBED TRACERS VALUES the tracer value at boundaries becomes 0, and if I comment out VALUES OF THE TRACERS AT THE SOURCES I get an expected error and end of run.

Anyway, I have surely missed something but I can't see what...


I have included the .cas file, the liquid boundary file and the source file. I am running v8p3.

Thanks in advance,

Guillaume
The administrator has disabled public write access.

[Edit] Time-dependant tracer sources and boundary conditions 2 years 4 weeks ago #41384

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

I wonder why you use TREATMENT OF THE LINEAR SYSTEM (TRAITEMENT DU SYSTEME LINEAIRE) = 1 (i.e. primitive equations) rather than the default value 2 (i.e. wave equation).

Can you try with the default value (= 2) and tell me if you still get the same error please? If not, can you also try with TREATMENT OF THE LINEAR SYSTEM = 2 + DISCRETIZATIONS IN SPACE (DISCRETISATIONS EN ESPACE) = 11;11 (default value).

Moreover, if you only model 1 tracer, there are useless columns in your LIQUID BOUNDARIES FILE (FICHIER DES FRONTIERES LIQUIDES), the one with indices 2.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

[Edit] Time-dependant tracer sources and boundary conditions 2 years 4 weeks ago #41385

  • guillaume.goodwin
  • guillaume.goodwin's Avatar
Hi Ti-Chuan and thinkds for your quick reply,

Apologies, I am using the LIQUID BOUNDARIES FILE now attached (ultimately I want to simulate temparature too, hence the first file).

I changed the values as you mentioned. The model still runs if the VALUES OF THE TRACERS AT THE SOURCES is not commented, but the tracer quantities are still 0. I've included a copy of printed logs if this helps.

Thanks,
G
Attachments:
The administrator has disabled public write access.

[Edit] Time-dependant tracer sources and boundary conditions 2 years 4 weeks ago #41386

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

Please read carrefully the TELEMAC-2D user manual available here:
wiki.opentelemac.org/doku.php?id=documentation_latest
And be rigorous with the syntax: for tracers, the short name to be used is TR not T in the LIQUID BOUNDARIES FILE and SOURCES FILE.

Hope this helps,

Chi-Tuan (not Ti-Chuan)
The administrator has disabled public write access.
The following user(s) said Thank You: guillaume.goodwin

[Edit] Time-dependant tracer sources and boundary conditions 2 years 4 weeks ago #41388

  • guillaume.goodwin
  • guillaume.goodwin's Avatar
Ouch, the changing T to TR was indeed the solution. Thanks so much, sorry for the trouble!
The administrator has disabled public write access.

[Edit] Time-dependant tracer sources and boundary conditions 2 years 4 weeks ago #41389

  • guillaume.goodwin
  • guillaume.goodwin's Avatar
Also apologies for misspelling your name. Maybe this and my initial mistake in the variable names have a diagonal reading issue in common ...
The administrator has disabled public write access.
Moderators: pham

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