Problems with slow adsorption-desorption outputs in S1Problems with slow adsorption-desorption outputs in S1https://oss.deltares.nl/c/message_boards/find_thread?p_l_id=183924&threadId=6297022020-10-30T05:23:31Z2020-10-30T05:23:31ZRE: Problems with slow adsorption-desorption outputs in S1Fabricio Fiengohttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=6365392015-05-11T10:13:23Z2015-05-11T10:13:23ZDear Christophe,<br /><br />You are absolutely right. I made the mistake to choose SEG=1 thinking that for all the segments the treatment was the same, but for the boundaries the area and volume of the segment is set equal to 1, while for the interior cells the volume is equal to cell area times depth <br /><br />Thank you very much for your help and time<br /><br />Best regards <br /><br />FabricioFabricio Fiengo2015-05-11T10:13:23ZRE: Problems with slow adsorption-desorption outputs in S1Christophe Thiangehttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=6350492015-05-08T09:28:13Z2015-05-08T09:19:53ZHi Fabricio,<br /><br />I ran your slow and fast simulations and exported the variables you mentioned for observation point (6,3) (i.e. segment 26) but could not see any difference with the values reported in the *.his files.<br /><br />Just to make sure we are looking at the same things, this how variables in partmp.f compare to variables in the *.his files:<br /> - variable FDIS is FrCdDisS1 in the his file<br /> - variable FPART is not an output item<br /> - variable CDIS is DisCdS1<br /> - variabel QUAL is QCdDMS1<br /><br />I attached my version of partmp with the output statements at line 802.<br /><br />In your spreadsheet you also have Cdis and CPar masses printed from partmp, but none of the variables you mentioned in your previous post corresponds to these masses. Did you print any other variables to obtain these values?<br /><br />Regards,<br />ChristopheChristophe Thiange2015-05-08T09:19:53ZRE: Problems with slow adsorption-desorption outputs in S1Fabricio Fiengohttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=6335212015-05-06T12:47:12Z2015-05-06T12:47:12ZDear Christophe<br /><br />Inside 'partmp', I printed <br /><br />FDIS, FPART, CDIS and QUAL, the modifications are in line 824 to 827<br /><br />Thank you very much in advanced<br /><br />Best regards <br /><br />FabricioFabricio Fiengo2015-05-06T12:47:12ZRE: Problems with slow adsorption-desorption outputs in S1Christophe Thiangehttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=6333982015-05-06T10:44:34Z2015-05-06T10:44:06ZDear Fabricio,<br /><br />Could you mention which variables you printed out as debug statements or perhaps attach the modified file?<br /><br />Thanks,<br />ChristopheChristophe Thiange2015-05-06T10:44:06ZProblems with slow adsorption-desorption outputs in S1Fabricio Fiengohttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=183924&messageId=6297012015-04-30T10:36:56Z2015-04-30T10:35:57ZDear ,<br /><br />My case study is designed as a batch reactor; it is just a square pond with stagnant water with constant depth, not subject to any forcing function or external source. I use this to verify the result of the radionuclide model that I am developing. While I was doing the verification of my results I found than, the results of the S1 were quite strange. Then I decided to repeat the same model schematisation for the modelling of Cd. My substances are:<br /><br />IM1 in layer S1<br />Cd in layer S1<br />Dissolved mass Cd in layer S1<br />Particulate mass Cd in layer S1<br /><br />In the first trial, I applied the slow sorption-desorption model for the partitioning of Cd with all the Cd dissolved in the pore water. The change in the fractions in the pore water and in the particulate phase were so small that after 1 month just the 2e-2 % of the total dissolved concentration was transfer to the particulate phase. Then I decided to debug the code and to print the internal computation, I realize that the values calculated internally were different from the values reported in the ‘his’ file. After verification, the internal computation were quite approximated to my control calculations (based on the formulae reported in the technical manual). <br /><br />As a second trial, I repeat the same but this time the half life times were set to zero in order to represent fast sorption-desorption. The results in the ‘his’ file were the same as those calculated internally by delwaq, but for the dissolved mass Cd in S1 and particulate mass Cd in S1 the ‘his’ file shows values that decrease in time (like it was performing the slow case) while the values computed internally represent the equilibrium conditions as expected.<br /><br />As a conclusion, based on my small experiment; the internal computations of slow sorption – desorption follow the model described in the technical manual, Why the results stored in the ‘his’ file are different?<br /><br />For fast sorption – desorption, why the internal computation and the results printed in the ‘his’ file for the case of dissolved mass Cd in S1 and particulate mass Cd in S1 are different?<br /><br />Attach you can find the substance file, the input files, an excel file with a summary of the comparison between internal computations and the values stored in the his file.<br /><br />I hope you can help to understand or to solve the problem <br /><br />Thank you very much in advanced <br /><br />FabricioFabricio Fiengo2015-04-30T10:35:57Z