Welcome, Guest
Username: Password: Remember me

TOPIC: Computing a flux through a given broken line

Computing a flux through a given broken line 8 years 1 day ago #24408

  • special_20
  • special_20's Avatar
Hello all,

I would like to compute the flux through a given broken line inside my mesh. What I call "broken line" is a sequence of connected segments. What I want to do is just the same as the calculation of the variable FLBOR for the liquid boundaries but for a given broken line inside the mesh. It looks like the subroutines vc05oo.f and vc10oo.f could do the job but it seems that those subroutines are designed for elements at the boundary.

Can you please help me ?

Regards.
The administrator has disabled public write access.

Computing a flux through a given broken line 7 years 11 months ago #24414

  • josekdiaz
  • josekdiaz's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 48
Hi,

If you are interested in programatically calculate the fluxes (e.g. flow discharge?) in a bunch of lines that can't be expressed as a CONTROL SECTION (i.e. has more than 2 vertices that arent aligned in a direction) using a python script to compute the flux along each element and integrate them is a good (and recommended if you plan to do this a bunch of times) approach.

In that case you could use sel2plot_1d from Pat's utilities as a base to program the script, it has an example of usage in that repo ,or you could try to dig in the bundled scripts (pytel) for useful functions and code one 'from scratch'.

A different approach would be to use Bluekenue as a graphical tool in a similar fashion as expressed in this topic.

Hope it helps somehow.

Regards,

José D.
The administrator has disabled public write access.
Moderators: pham

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