Problems with .tim file - substance discharge FLOW and WAQ - Home - Delft3D
Problems with .tim file - substance discharge FLOW and WAQ
José Rafael Cavalcanti, modified 6 Months ago.Youngling Posts: 6 Join Date: 10/21/18 Recent Posts
I am having problems with the import of concentration values from an already existing discharge. I will explain it better....
From the FLOW simulations I have the discharges all set and nice. However, for running a WAQ simulation I need to add the concentrations of water quality variables. I can't figure out a way to add the concentrations of specific substances. I am trying to create a time series using the manual but I am not going anywhere. Every time I get an error message saying that the syntax is wrong. I am attaching the .tim file and some pictures.
Does any one knows how to add the concentrations?
Reproducing the problem was easy enough. I first thought it was the comment line (I do not usually use an asterisk), but it tunrs out that the file contains "smart" quotes - these are well defined via UNICODE, but the reading routines assume basic ASCII. So replace the smart codes by an ordinary quote (') and it all works fine.
thanks for the reply. I am now facing a different issue.
When I import the concentrations time series my flow column turns to zero. How can I import the concentrations while maintaining the flow rate values? Is it better to just import everything again and neglect the flow rate time series that I already have there (neglect what comes from the FLOW simulation, but simply importing it again)?
Also, I have noticed that WAQ_gui is lumping my flow rate values. I mean, during the FLOW simulations I have daily values of flow rate which are repeated to replicate a monthly average. The WAQ_gui seems to reduce the time series and instead of showing daily values it only uses the first and last day of each month (which is reasonable). Do you think I should work on my concentration series to respect this entries (only the first and last day of the month) or WAQ is able to adapt and understand the time series?
Ah, the import procedure assumes that all data are there to define the waste load completely. The easiest way to do this is by defining the flow rate as a separate column. You should call it "FLOW", as it has special significance to WAQ.
Okay. Does it change my previous simulated hydrodynamic simulation? I mean, I am adding a flow rate to my discharge in WAQ that could be different than the one I am using to force the FLOW.
I know that's a silly mistake and we should avoid it but if that is the case, will WAQ recompute velocity fields or just compute some load using the different flow rates imported to the discharge?
Rest assured: the hydrodynamic is taken as is - when you define a waste load in WAQ the flow rate is used to calculate the amount of mass per unit of time that should be added. There is no volume added whatsoever. There is a tiny bit of magic involved if you use zero or negative flow rates and/or zero concentrations, but for that I refer you to the manual. It might confuse things, if I try to explain them.
To put it in another way: the flow rate as specified for waste loads in WAQ is independent of the hydrodynamics (although usually you will want the discharges in FLOW to correspond to the waste loads in WAQ). It is only used to calculate the mass per second to add. If you define extra waste loads, again, just mass will be added, no volume.
Thank you very much for the explanation. It works now.