Welcome, Guest
Username: Password: Remember me

TOPIC: Cross section data extrapolation

Cross section data extrapolation 12 years 9 months ago #3871

  • Musner
  • Musner's Avatar
Hi to all!!!

I repost here a former message. I'm trying to export data in ascii format along specific cross sections without using FUDAA and other applications. How Can I do it?

I tried the CONTROL SECTION procedure but it's useful only for discharge and not for other variable as water depth and tracer concentration. Can I change the subroutine in order to add these variables??

I found that data are stored in a BIEF_OBJ called BVARSOR. Can anyone suggest me how is the structure of BVARSOR??

Thx!
The administrator has disabled public write access.

Re: Cross section data extrapolation 12 years 9 months ago #3880

  • jmhervouet
  • jmhervouet's Avatar
Hello,

The subroutine that writes the data on sections is fluxpr_telemac2d, you can add here other writes at your will. If a data is not in the arguments, you can see it by adding it in the list :

USE DECLARATIONS_TELEMAC2D, ONLY : ......

For example if you add H, you will get the depth, H%R(143) being the depth of point 143 (it is more complicated in parallel...).)

Depth is also in the list of the variables for graphic printouts (block VARSOR), in fourth position (see at the end of point_telemac2d), so you have:
H%R(143)=VARSOR%ADR(4)%P%R(143), so it is more complex through VARSOR.

Regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Re: Cross section data extrapolation 12 years 8 months ago #4035

  • Musner
  • Musner's Avatar
Thanks!!!

I want to print in the section file only the value of the water depth in the boundary nodes. These nodes are already red in the boundary condition file but I couldn't find the data structure in which they are stored. Can I exchange this structure as you suggested before?

I'm now simulating a solute transport problem with decay. I modified subroutines DIFSOU in order to account for decay and I see that the program calls subroutine BILAN that calculates the mass of tracer flowing through liquid boundaries. Two questions: 1: Is there any difference between BILAN and BILAN1?? 2: I would like to write the flux of tracers through liquid boundaries in the same file produced by fluxpr_telemac2d. Is it possible?

Thanks!!
The administrator has disabled public write access.

Re: Cross section data extrapolation 8 years 8 months ago #19891

  • gasha.sh
  • gasha.sh's Avatar
Dear Jean Michel,

Looking to this poste, I did not understand very well where should I modify the code to obtain the Water depth at a specific node? I added H after ONLY in fluxpr_telemac2d, but no given data as results.
Or maybe this is a very old post!

Could you please help me to facilitate the data extraction?
I'm using Vp.0.

Kind regards,
Gashin
The administrator has disabled public write access.

Re: Cross section data extrapolation 8 years 8 months ago #19898

  • jmhervouet
  • jmhervouet's Avatar
Hello,

By adding H in the "ONLY" list, you just get a view on it in the memory, then to see a value you must add a print, e.g. for point 453 you would add:

PRINT*,'VALUE OF DEPTH AT POINT 453=',H%R(453)

With best regards,

JMH
The administrator has disabled public write access.

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