Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: MANAGING TRACER SOURCES: Using a SOURCES FILE

MANAGING TRACER SOURCES: Using a SOURCES FILE 10 years 2 weeks ago #14710

  • doeby
  • doeby's Avatar
Hello,

I tried to model an inflow via nodes in my mesh. With:

ABSCISSAE OF SOURCES : -553
ORDINATES OF SOURCES : 153
WATER DISCHARGE OF SOURCES : 10

it works but if I use

ABSCISSAE OF SOURCES : -553
ORDINATES OF SOURCES : 153
SOURCES FILE : MyInflow.txt

and in MyInflow.txt is defined as
T Q(1)
s m3/s
0 10
1000 10

I get following error:

0 ABSCISSAE OF SOURCES EXPECTED
1 FOUND

PLANTE: PROGRAM STOPPED AFTER AN ERROR
_____________
runcode::main:
:
|runCode: Fail to run

Could anyone help me out here?

Doeby
The administrator has disabled public write access.

MANAGING TRACER SOURCES: Using a SOURCES FILE 10 years 2 weeks ago #14711

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

This is not evident but you should let the keyword "Water discharge of sources : 10"
The source file will supersede the keyword value but the keyword is needed for some array dimension.

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: wn

MANAGING TRACER SOURCES: Using a SOURCES FILE 10 years 2 weeks ago #14712

  • doeby
  • doeby's Avatar
Thanks! Its working now.
The administrator has disabled public write access.

MANAGING TRACER SOURCES: Using a SOURCES FILE 1 year 2 months ago #43205

  • Hsuan
  • Hsuan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
I have the same problem. What keywords did you use to put the final MyInflow.txt into the cas file?

Thanks
The administrator has disabled public write access.

MANAGING TRACER SOURCES: Using a SOURCES FILE 1 year 2 months ago #43209

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Thank you received: 39
here the content of a cas file which use a separate file for water discharge of source:
ORDINATES OF SOURCES : 56011.921875;57046.37890625;57051.3359375
ABSCISSAE OF SOURCES : 8056.39111328125;6967.13916015625;6969.06982421875
WATER DISCHARGE OF SOURCES : 0.0;0.0;0.0
SOURCES FILE : "Sources.txt"

Source.txt
# Mandatory comment line
T	Q(1)	Q(2)	Q(3)
s	m2/s	m2/s	m2/s
0	0	0	0
1800	0	0	0
70200	2.65	1.325	1.325
298800	0.002210365	0.001105182	0.001105182

If you still have an error, share cas file and source file.
The administrator has disabled public write access.

MANAGING TRACER SOURCES: Using a SOURCES FILE 1 year 2 months ago #43212

  • Hsuan
  • Hsuan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
Thank you very much, I solved my problem
The administrator has disabled public write access.

MANAGING TRACER SOURCES: Using a SOURCES FILE 1 year 2 months ago #43227

  • Hsuan
  • Hsuan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
I'm sorry, it's me again.
It was working fine when I tested it yesterday, but today, for some reason, it's not working again.

Today, when I configure the CAS file as follows, it runs smoothly:
/SOURCES FILE = 'flow_1.txt'
SOURCE REGIONS DATA FILE = 'geo_source_init_1.txt'
WATER DISCHARGE OF SOURCES = 10;20;30

However, if I set it like this, it doesn't work:
SOURCES FILE = 'flow_1.txt'
SOURCE REGIONS DATA FILE = 'geo_source_init_1.txt'
WATER DISCHARGE OF SOURCES = 0;0;0

It gives the following error:
T= 601.00000000000000 OUT OF RANGE
OF THE SOURCES FILEapplication called MPI_Abort(MPI_COMM_WORLD, 2) - process 3

application called MPI_Abort(MPI_COMM_WORLD, 2) - process 2 PLANTE: PROGRAM STOPPED AFTER AN ERROR

application called MPI_Abort(MPI_COMM_WORLD, 2) - process 1 RETURNING EXIT CODE: 2

application called MPI_Abort(MPI_COMM_WORLD, 2) - process 7
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 0
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 5
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 12
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 4
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 6
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 8
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 14
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 9
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 10
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 13
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 15
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 11

My SOURCES FILE:
T Q(1) Q(2) Q(3)
s m2/s m2/s m2/s
0 0 0 0
300 0 0 0
600 2.65 1.325 1.325
1000 0.002210365 0.001105182 0.001105182

My SOURCE REGIONS DATA FILE:
#
# Coordinates of the source regions
#
X(1) Y(1)
167577.71875 2550508.75
167538.25 2550531.75
167529.453125 2550482.5

X(2) Y(2)
169335.28125 2552392.25
169384.671875 2552410.0
169335.421875 2552442.0

X(3) Y(3)
168914.4375 2549883.75
168909.96875 2549826.25
168949.796875 2549856.25

Can you help me with this?
The administrator has disabled public write access.

MANAGING TRACER SOURCES: Using a SOURCES FILE 1 year 2 months ago #43228

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Thank you received: 39
The error can't be more explicit
T= 601.00000000000000 OUT OF RANGE OF THE SOURCES FILE

But it's strange because you have a line with T = 1000 in your Sources file.

Double check your run folder.
The administrator has disabled public write access.

MANAGING TRACER SOURCES: Using a SOURCES FILE 1 year 2 months ago #43229

  • Hsuan
  • Hsuan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
I found it strange too, but I've solved the problem now, thank you very much

Best regards
The administrator has disabled public write access.

MANAGING TRACER SOURCES: Using a SOURCES FILE 1 year 1 week ago #43605

  • ryuuame
  • ryuuame's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Hi, I got this problem too.


T= 150.00479292033339 OUT OF RANGE
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 0
OF THE SOURCES FILE

PLANTE: PROGRAM STOPPED AFTER AN ERROR
RETURNING EXIT CODE: 2

Could you tell me how to figure it out?

Regards.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: pham

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