Welcome, Guest
Username: Password: Remember me

TOPIC: Use of coordinates in the "control sections" file

Use of coordinates in the "control sections" file 11 years 4 months ago #9589

  • mfaf
  • mfaf's Avatar
Hello to all,

I´m trying to create a "sections input file" but instead of using the node numbers I´m trying to use the node number I want to use coordinates. In the manual there is only a example using the node numbers.

My question is how should I separate the coordinates in the imput file. I´ve tried to use everything, from commas, space, semi-commas and the Telemac still doesn´t reconigze it.

I´ve attached my file so you guys can take a look.

Thank you.
The administrator has disabled public write access.

Use of coordinates in the "control sections" file 11 years 4 months ago #9604

  • riadh
  • riadh's Avatar
Hello

There is no attachment in your post!
Just be sure that your are using POSITIVE interger at the second line of the sections input file.

For example, you should write:

# Control sections definition
3 1 # there are 3 sections, given by coordinates
section_name1
890. 700.
section_name2
11152. 2514.
section_name3
2215. 1124.

I hope that this helps

Kind regards

Riadh ATA
The administrator has disabled public write access.

Use of coordinates in the "control sections" file 11 years 4 months ago #9626

  • mfaf
  • mfaf's Avatar
Hi Riadh,

You are right, I´ve must forgotten the attachment, let me try again.

Yes, I´ve read in the manual about the positive integer but I have one question about your example. Isn´t a section definened by two points? So don´t I need to use 4 coodinates (two for each point) to define the section?

Thank you very much
The administrator has disabled public write access.

Use of coordinates in the "control sections" file 11 years 4 months ago #9629

  • mfaf
  • mfaf's Avatar
Here is my input file.

What is the extention of the input file.

File Attachment:

File Name: Secao.txt
File Size: 0 KB
The administrator has disabled public write access.

Use of coordinates in the "control sections" file 11 years 4 months ago #9664

  • riadh
  • riadh's Avatar
Hello,

I can not see any problem in your file. What kind of error message you have?
Is it possible de send us your case?
An important information, when you give coordinates at your control section file, Telemac looks for the nearest node to the starting and arriving points that you have introduced.

With my best regards,

Riadh ATA
The administrator has disabled public write access.

Use of coordinates in the "control sections" file 11 years 4 months ago #9668

  • mfaf
  • mfaf's Avatar
Hi Riadth,

Good to know about that info.

I´ve attached my CAS file and the error message. Hope it helps.

Thank you for your help.
Marcus
Attachments:
The administrator has disabled public write access.

Use of coordinates in the "control sections" file 11 years 4 months ago #9670

  • riadh
  • riadh's Avatar
Hello,

I can't check the problem without the complete model (geo, cli etc.)
Just a recommandation, do not use folder names that contain spaces( RESERVATORIO INTERMEDIARIO) This could generate problems. Instead use attached names RESERVATORIO_INTERMEDIARIO for example.

With my best regards,

Riadh
The administrator has disabled public write access.

Use of coordinates in the "control sections" file 11 years 4 months ago #9674

  • mfaf
  • mfaf's Avatar
Hello,

The SLF file of that problem was way too big to be attached so I´m sending you another one (smaller) with the same erro.

Thank you for that recomendation, i will definally do so on my next projects.

Best regards,
Marcus
Attachments:
The administrator has disabled public write access.

Use of coordinates in the "control sections" file 11 years 4 months ago #9709

  • riadh
  • riadh's Avatar
Hello Marcus,

You need to change the second line like
2 0
instead of
2 1

There is a wrong sentence in the user manual which recommend to use "positive integer" to use coordinates for cross sections.
Actually you need absolutely to put 0 and not a positive integer.

Therefore, your control sections file becomes :

# Definicao das secoes de controle de vazao
2 0
UPSTREAM
213.1748 160. 213.1748 0.
DOWNSTREAM
797.454 167.0941 717.454 305.6582


We will update the user manuals to include this correction.

With my best regards

Riadh ATA
The administrator has disabled public write access.

Use of coordinates in the "control sections" file 11 years 4 months ago #9710

  • mfaf
  • mfaf's Avatar
Dear Riadh,

I´ve made the change and it is working perfectly. Thank you very much for your help.

Best regards,
Marcus
The administrator has disabled public write access.
Moderators: pham

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