Welcome, Guest
Username: Password: Remember me

TOPIC: Returning domain water volume as a variable

Returning domain water volume as a variable 11 years 11 months ago #6637

Hello,

What would be the best way to return the volume of a river domain as an additional variable in the results file? The User manual states that this can be done by programming in the NOMVAR-TELEMAC2D and PRERES_TELEMAC2D routines, but I'm unsure as to the best way to go about it. I don't need the volumes of each element per say, but rather the integrated volume over the domain at each time step.

Thank you in advance for your assistance.

Best regards,

Chris
The administrator has disabled public write access.

Returning domain water volume as a variable 11 years 11 months ago #6650

  • jmhervouet
  • jmhervouet's Avatar
Hello,

If it is a single value, it is not very convenient to give it in the results file, you should better put the subroutiner bilan.f from telemac2d library in your Fortran file and change it so that you can print in a file the value MASSE2 which is the total mass of the domain. bilan.f is called at every time step.

Regards,

JMH
The administrator has disabled public write access.
Moderators: pham

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