Welcome, Guest
Username: Password: Remember me

TOPIC: Defining tracer value at sources dynamically?

Defining tracer value at sources dynamically? 4 years 7 months ago #35662

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi all!

I wonder if someone has already implemented a method allowing to dynamically prescribe a tracer value at a given source point based on a tracer value read at a given reference mesh point at previous time-step? This to model time dependant fluctuations of a given tracer in a intake/outlet system.

I tried to search on the forum but did not find anything. Any guidance regarding which subroutine is to be amended is highly appreciated!

Thanks in advance,

Kind regards
PL
The administrator has disabled public write access.

Defining tracer value at sources dynamically? 4 years 7 months ago #35707

  • OBD
  • OBD's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 16
Hi Pierre-Louis,

In the Telemac3D subroutine, you have to add the line below

TA_SCE%ADR(ITRAC)%P%R(1)=TA%ADR(ITRAC)%P%R(ISCE(I)+(KSCE(I)-1)*NPOIN2)

With ITRAC between 1 and NTRAC (number of tracers; Temp, salinity...)
I between 1 and NPTSCE

So in my example, the value of the tracer ITRAC imposed at the first source point is equal to the value of the tracer at the source point I.

Be carreful if you work in parallel you have to add a P_DMAX in order to collect the true value.

You have not all the answer, but you are on the right way ;-)
Don't hesitate to contact me if necessary, Regards
The administrator has disabled public write access.
The following user(s) said Thank You: pilou1253

Defining tracer value at sources dynamically? 4 years 7 months ago #35708

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Salut Olivier!

Thanks, that's what I needed to know, I can figure out the rest of the implementation myself.

Note to the consortium: this would be a very nice new feature to add as a standard function ;-)

Kind regards
PL

PS: Hope you are doing well!
The administrator has disabled public write access.
Moderators: pham

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