Welcome, Guest
Username: Password: Remember me

TOPIC: Line is too long in steering file?

Line is too long in steering file? 7 years 5 months ago #26835

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Hello Telemac fellows,

I encountered a small problem recently regarding the steering file.

I have two lines in the steering file that are very long, for example:

NUMBER OF TRACERS = 2
NAMES OF TRACERS = 'SALINITY        PSU             ';'SEDIMENT        G/L           
  '
PRESCRIBED TRACERS VALUES = 0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.
And I got the error messages saying the second line is too long. Then I fixed it by eliminating the units in the names of the tracers.

After that, I found the prescribed values are not read properly neither. I have 9 boundaries, and it should be 18 values for 2 tracers in total. But I only found 15 in the scree printouts.

Is there a limit of a line in steering file? Is it possible to split a long line into two separate lines?

Thanks!

Qilong
The administrator has disabled public write access.

Line is too long in steering file? 7 years 5 months ago #26839

  • Phelype
  • Phelype's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 64
Hello Qilong

Yes, there is a limitation of the line length in the steering file. The maximum length is (as far as I know) 72 characters.

You can split the line at the = sign like this:
PRESCRIBED TRACERS VALUES = 
0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.;0.

Best regards,

Phelype
The administrator has disabled public write access.
The following user(s) said Thank You: qilong

Line is too long in steering file? 7 years 5 months ago #26840

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Hi Phelype,

It works. Thanks a lot!

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

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