Welcome, Guest
Username: Password: Remember me

TOPIC: Looking for approporiate approaches to model rain and source

Looking for approporiate approaches to model rain and source 6 years 9 months ago #28725

  • huangziyi2017
  • huangziyi2017's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 2
Trying to run TELEMAC-2D model for a project, which involves rain and point water source. The model cannot run through or does not run ideally.


For rain case, the need is to add 12-hour time-dependent rain. I follow the Forum post:

opentelemac.org/index.php/kunena/16-tele...on-time-series#26752

and use a formatted data file with the format of "meteo_thermic_case1.txt" file from examples/waqtel. However, the model does not read any data from the file, leading to zero rain.


For water source, the need is to put 6 point sources in the domain, and each has time-dependent water discharge. Use keywords ABSCISSAE OF SOURCES and ORDINATES OF SOURCES to specify the coordinates. However it stops running.

The listing error information is as:

ERREUR LINE 48, REAL EXPECTED :
OREINATES OF SOURCES =624000.0;624800.0;627200.0;626400.0;624000.0;62280

or

... reading the main module dictionary
... processing the main CAS file(s)
runCAS:
|readCAS: ... could not find the following keyword in the selected dictionary file: 1959800.0 1957800.0 1957000.0 1955600.0 1952000.0 ORDINATES OF SOURCES
| ~> you may not be running the code associated to your CAS file.

In addition, the SOURCES FILE giving time-dependent discharge generates error and stop.

Since the project data is confidential, I attach all input files of baxter example, which has identical problem here.
Attachments:
The administrator has disabled public write access.

Looking for approporiate approaches to model rain and source 6 years 9 months ago #28746

  • shenh
  • shenh's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 148
  • Thank you received: 37
Looks like you are adding sources and rain separately. For case file baxter_source.cas, you need to do the following edits:
WATER DISCHARGE OF SOURCES = 0;0;0;0;0;0
ABSCISSAE OF SOURCES =
1963800.0;1959800.0;1957800.0;1957000.0;1955600.0;1952000.0
ORDINATES OF SOURCES =
624000.0;624800.0;627200.0;626400.0;624000.0;622800.0

Keyword WATER DISCHARGE OF SOURCES must be specified to allow the program to allocate memory for the sources. There is a line length limit for keywords.

For the rainfall modelling, your may first check the example examples\telemac2d\pluie.

Hailiang
The administrator has disabled public write access.
The following user(s) said Thank You: shahirah, huangziyi2017

Looking for approporiate approaches to model rain and source 6 years 9 months ago #28749

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hello!

I think you need to shorten the line where you define the ORDINATES OF SOURCES (and write ORDINATES correctly) since the program can only read something like 73 characters per line. Try something like:

ORDINATES OF SOURCES=
Y1;Y2;Y3;Y4

Regarding rainfall modelling, as Hailliang mentions, please check the pluie test case. It is an example of rainfall-runoff model including an example with rainfall definition as time series. If you don't want to have any infiltration just set your CN value to 100. Note that you must activate the rainfall-runoff model (RAINFALL-RUNOFF MODEL = 1) to be able to use the time dependant rainfall serie. Look at the example in test case pluie where you can see which part of the runoff_scs_cn.f subroutine you need to change, for instance only:

INTEGER, PARAMETER :: RAINDEF=3

For more details about this rainfall-runoff model and subroutine runoff_scs_cn.f, please look at my article from the 2016 TUC.

I don't know the details of your modelling goals but to model "just" rainfall and discharges sources you don't need to use WAQTEL.

Hope it helps!

Best regards
PL
The administrator has disabled public write access.
The following user(s) said Thank You: huangziyi2017
Moderators: pham

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