How to do water balance check and how to calculate thermal water fractionHow to do water balance check and how to calculate thermal water fractionhttps://oss.deltares.nl/c/message_boards/find_thread?p_l_id=183924&threadId=14854182020-01-26T16:28:07Z2020-01-26T16:28:07ZRE: How to do water balance check and how to calculate thermal water fractiMichelle Jeukenhttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=14938762018-03-20T15:48:10Z2018-03-20T15:46:09ZYou're welcome. And to get back to one of your first questions:<br /><br />>Another inqury, a thermal discharge effluent is simulated in the hydrodynamic model, is it possible to calculate thermal water fraction between the boundaries? if yes, how to do this?<br />I've searched the manual but reached no answer.<br /><br />You can do that using simple tracers. Attached is a sample 3 tracers file.<br /><br /> Use tracer one for the initial: initial concentration one, and zero at all boundaries<br /> Use tracer two for the river: initial concentration zero, and one at all river boundaries<br /> Use tracer three for the thermal waste loads: initial zero, and one at all waste loads<br /><br />You can edit the file with a text editor to give the tracers more sensible names (initial, river, thermal), or add other tracers to distinguish between the two thermal discharges by copying one of the definitions.<br /><br />MichelleMichelle Jeuken2018-03-20T15:46:09ZRE: How to do water balance check and how to calculate thermal water fractiAmaal Fathyhttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=14934772018-03-20T11:37:02Z2018-03-20T11:37:02ZThanks Michelle, that was really helpful. I moved the discharges and it worked proberly.Amaal Fathy2018-03-20T11:37:02ZRE: How to do water balance check and how to calculate thermal water fractiMichelle Jeukenhttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=14922332018-03-19T09:48:05Z2018-03-19T09:48:05ZDear Amaal,<br /><br />There might be a lot of reasons why the model still is unstable.<br /><br />First of all, check the discharges panel. If you select the hydrodynamics a second time in an existing scenario, you might have the discharges twice in the model. Selecting hydrodynamics always adds discharges, because existing discharge specifications might be modified. The time resolution of the discharges should match the time resolution of the other hydrodynamics files. You can't match your old 6h discharges with 1h hydrodynamics.<br /><br />You might want to make a test run without the discharges, so you can be more sure that they are the problem.<br /><br />Your grid is very fine (5x5m?), and I don't know the depth of your system. But I guess the depth near the shores is lower. With explicit scheme 12, your WAQ time step is limited to the residence time which is V divided by Q. Don't know how big the thermal discharges are, and the volumes of the segments they are discharged to, but you could make an estimate of V and Q.<br /><br />It might be a good idea to move the location of the discharges a bit further of the shore into somewhat deeper waters.<br /><br />You could also try to use scheme 15 (implicit) or scheme 21 (flexible explicit/implicit), which might be more stable.<br /><br />Also, you could make your grid less fine, or aggregate the results for the water quality calculation to bigger segments. This will make the V's per segment bigger, thus giving you higher residence times (=V/Q).<br /><br />I think you have <br /><br />MichelleMichelle Jeuken2018-03-19T09:48:05ZRE: How to do water balance check and how to calculate thermal water fractiAmaal Fathyhttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=14916282018-03-18T20:48:23Z2018-03-18T20:48:23ZDear Michelle,<br /><br />I reduced the time step to 1 minute and the model is still unstable. Where could be the problem?!!Amaal Fathy2018-03-18T20:48:23ZRE: How to do water balance check and how to calculate thermal water fractiAmaal Fathyhttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=14903532018-03-17T12:07:19Z2018-03-17T12:07:19ZI realized something here, After a few time steps, the unstability starts exactly from the discharge points so the problem is definitely here. I will reduce the time step to be 6 seconds and try the WQ simulation.<br /><br />Thanks.Amaal Fathy2018-03-17T12:07:19ZRE: How to do water balance check and how to calculate thermal water fractiAmaal Fathyhttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=14903442018-03-17T11:53:30Z2018-03-17T11:53:30ZThanks Michelle for your help,<br /><br />I repeated the hydro-dynamic run to reproduce the communication file with time step 1 hour but I still have the same problem. The Define input window appears as I attached although the discharge value is 10.2 m3/s(uniform over depth) . Why is the model unstable?<br /><br />- Hydro-dynamic time step is 6 sec, com. and WQ time step is 1 hour.<br />- Explicit scheme 12 is used.<br /><br />Thanks in advanceAmaal Fathy2018-03-17T11:53:30ZRE: How to do water balance check and how to calculate thermal water fractiMichelle Jeukenhttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=14881562018-03-15T12:50:48Z2018-03-15T12:50:48ZDeaar Amaal,<br /><br />I think your model has become unstable. A communication time step of 6 hours is indeed very large. You are also using an explicit scheme, (12), so your calculation time step in Delwaq is limited by the smallest residence time. You should lower your Delwaq calculation time step, because the automatic choice in the user interface is the coupling time step of 6 hours, which is probably (much) to big...<br /><br />MichelleMichelle Jeuken2018-03-15T12:50:48ZRE: How to do water balance check and how to calculate thermal water fractiAmaal Fathyhttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=14880802018-03-15T11:27:49Z2018-03-15T11:27:49ZThank you Arjen for your reply,<br /><br />I used the continuty substance as you mentioned but it seems there's a problem. Data for discharge points are not being read. I attached a photo for what appears to me.<br /><br />Model is 4 layers only and Both time step for communication file and WQ file is 6 hours.(I know it's too large but I'm only checking.<br /> I used the integration method 12.<br /><br />What might be the problem here ?Amaal Fathy2018-03-15T11:27:49ZRE: How to do water balance check and how to calculate thermal water fractiArjen Markushttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=14864812018-03-14T09:39:01Z2018-03-14T09:39:01ZRegarding your first question:<br /><br />The basic idea is that a conservative substance which has a concentration of 1 (or any other value) all over the area and which flows in over the boundaries with a concentration of 1 (or that same other value) must keep that value. If you see deviations from that value, then the flow field is not mass/volume conserving. Small deviations (let us say concentrations that range from 0.999 to 1.001 after several days or weeks) are not bad - they cannot even be avoided as there is always some inaccuracy in the calculations. <br /><br />That said, we normally use a substance called "continuity" and define the boundary concentrations as 1 and the initial condition as 1. If you do a calculation with this set-up and inspect the result, using a tool like QuickPlot, then you should see that the concentration remains near to 1 all over the model and from the start to the stop time.<br /><br /><br />Regarding your second question:<br /><br />Depending on what you want exactly, you could use QuickPlot to show the area where the temperature is above a certain threshold or you could use the statistical output facilities of DELWAQ to get numerical information. For the latter:<br /><ul><li>Define a monitoring area (use DIDO for this) over which the concentration or temperature is to be averaged</li><li>Import the temperature as a segment function - it is exported via the coupling procedure</li><li>Define the statistical output you need </li></ul>Arjen Markus2018-03-14T09:39:01ZHow to do water balance check and how to calculate thermal water fractionAmaal Fathyhttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=14854172018-03-13T12:18:58Z2018-03-13T12:18:58ZDear all,<br /><br />I'm simulating WQ of a low flow part of a river,and I have a few questions.<br /><br />I need to perform a water balance check before the simulation to ensure the validity of the model. I've read that to do this check, both continuty and boundary concentrations should be equal to 1 and the resulting solution must be equal to 1 as well. I've no idea how to perform this check so any help is appreciated.<br /> <br />Another inqury, a thermal discharge effluent is simulated in the hydrodynamic model, is it possible to calculate thermal water fraction between the boundaries? if yes, how to do this?<br />I've searched the manual but reached no answer.<br /><br />Thanks in advanceAmaal Fathy2018-03-13T12:18:58Z