Welcome, Guest
Username: Password: Remember me

TOPIC: change the way to impose on the boundary condition during calculation

change the way to impose on the boundary condition during calculation 11 years 7 months ago #8090

  • Proust_Nicolas
  • Proust_Nicolas's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 136
  • Thank you received: 2
Hi everybody,

Is it possible to change the way to impose on the boundary conditions during calculation? For example, changing level imposed to flow imposed?

Regards
Nicolas
The administrator has disabled public write access.

change the way to impose on the boundary condition during calculation 11 years 7 months ago #8091

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

As TELEMAC is open source, you can change everything you want...
In a standard use of TELEMAC, the type of boundary conditions is read in the BOUNDARY CONDITIONS FILE (the first 3 columns as described in the user manuals, for the water depth and the components of velocities). In TELEMAC-2D, these values are stored in LIHBOR, LIUBOR and LIVBOR arrays. But during the simulation, you can change them if you want. Just be carefull if you want to run in parallel...

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

change the way to impose on the boundary condition during calculation 11 years 7 months ago #8092

  • Proust_Nicolas
  • Proust_Nicolas's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 136
  • Thank you received: 2
Thank you for the name of the variables to change.
Is the boundary conditions file only read at the first time step?
When you say be carefull to run in parallel do you think about something in particular?

Regards
Nicolas
The administrator has disabled public write access.

change the way to impose on the boundary condition during calculation 11 years 7 months ago #8094

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
FYI, homere_telemac2d program calls telemac2d where many things are done, in particular reading the boundary conditions file (LECLIM subroutine). I let you check ;)

In parallel, do not use hard coded numbers like LIHBOR%I(115) because the numbering will be changed with the partitioning or find in other posts how to do, it was just a warning.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
The following user(s) said Thank You: Proust_Nicolas

change the way to impose on the boundary condition during calculation 11 years 7 months ago #8097

  • Proust_Nicolas
  • Proust_Nicolas's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 136
  • Thank you received: 2
Thank you for the subroutine to check and how to code it (or rather not code it!). I will try to do something

Regards
Nicolas
The administrator has disabled public write access.
Moderators: pham

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