Welcome, Guest
Username: Password: Remember me

TOPIC: how to give two liquid boundary files

how to give two liquid boundary files 8 years 2 weeks ago #24194

  • zqzuoan
  • zqzuoan's Avatar
Hello everybody,

I have to liquid boundary files, one for surface elevation and another for tracer. And the elevation of boundary is variable in time and space, so I use SL.f to give the elevation boundary. But the tracer is variable in time and constant in space, I cannot use two LIQUID FILE so I use the keywords:

LIQUID BOUNDARIES FILE ='lqd.txt'

FORMATTED DATA FILE 1 ='t2d_tr2.txt'

to represent elevation and TR respectively. And in the TR.f, I have made some modification: replaced the T2DIMP by T2DFO1. And the LITBOR in cli file is set 5. The elevation is ok, but the tracer is zero all the time.

The fortran file and case file are attached below.

Thank you for your directions.

zqzuoan
Attachments:
The administrator has disabled public write access.

how to give two liquid boundary files 8 years 2 weeks ago #24195

  • zqzuoan
  • zqzuoan's Avatar
The liquid file of tracers is attaced bellow.
The administrator has disabled public write access.

how to give two liquid boundary files 8 years 2 weeks ago #24196

  • zqzuoan
  • zqzuoan's Avatar
The liquid file of tracers is attaced bellow. Thank you.
Attachments:
The administrator has disabled public write access.

how to give two liquid boundary files 8 years 2 weeks ago #24200

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hi,
isn't it possible to prescribe tracer values as other columns in the liquid boundary file? like:
Time Q SL TR
without modifying any subroutine?
Any maybe you have to activate also the keyword
PRESCRIBED TRACERS VALUES =0;0;0;1
in the steering file.

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

how to give two liquid boundary files 8 years 2 weeks ago #24202

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Clemens is right.
You could define in the liquid boundary file the Tracer at the boundary.
As far as I remember, for tracers, there is 2 indexes, one for the tracer and one for the boundary number.

Hope this helps

regards
Christophe
The administrator has disabled public write access.

how to give two liquid boundary files 8 years 2 weeks ago #24208

  • zqzuoan
  • zqzuoan's Avatar
Thank you sir,

Yeah, TR(b,t) with b providing the rank of the boundary and t the number of the tracer. Since my elevation is variable in time and space, so I prescribe tracer values as other columns in the liquid boundary file like:Time ETA(the number of boundary points) TR(b,t), but TR seems not be read when running the model.

Thank you, bestwishes.
zqzuoan
Attachments:
The administrator has disabled public write access.

how to give two liquid boundary files 8 years 2 weeks ago #24210

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
It could be good to see all your files.
In case of SL varying in space and time it seems to me taht you have to add other fortran file (bord?)

Regards
Christophe
The administrator has disabled public write access.

how to give two liquid boundary files 8 years 2 weeks ago #24207

  • zqzuoan
  • zqzuoan's Avatar
Thank you Clements,

I have tried that method. Like the file attacehed below. But it cannot work too. The elevation can be read but the TR seems not be read in the model.The fortran file I used includ SL and TR.

BestWishes
zqzuoan
Attachments:
The administrator has disabled public write access.

how to give two liquid boundary files 8 years 2 weeks ago #24211

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Ok,
I missed the sentence in your first post ...elevation of boundary is variable in time and space...As Christophe says in that case you have to adapt the bord.f subroutine.

Do I understand correctly, in the liquid boundary file you specify the water elevation node by node? I don't know if this works.

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

how to give two liquid boundary files 8 years 2 weeks ago #24212

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
It works, this is sure.
there is on post on this topic where this solution is well described but it needs more change in some fortran file...

regards
Christophe
The administrator has disabled public write access.
Moderators: pham

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