waterrocks 0 Report post Posted October 1, 2018 Hi all I am getting what I think is an error for a flow link in SMS/SRH2D: ==> NUMBER-OF-INTERNAL-FLOW-LINKS Enter: N_LINKS N_LINKS = total number of pairs of Internal LINKs specified in BC-TYPE *************************************************************************** * Internal LINKs have been specified using LINK Type with Nodestrings * * Number of LINK Pairs = 1 * Each link is defined by a pair of nodestringsv * *************************************************************************** ==> DEFINE-INTERNAL-LINK-Pairs-by-Nodestrings end of file _SIF.dat reached! start on-screen input! --> INTERNAL-LINK-FLOW-TYPE: for Link = 1 Enter: QTYPE where: QTYPE = CONSTANT, Time_Series or WEIR Anyone have any clue what is going on? Thanks for reading Share this post Link to post Share on other sites
calberts 0 Report post Posted October 5, 2018 (edited) Typically when SRHPre asks for “on screen input” it means that a required variable for the structure has not been provided. This usually means that something went wrong exporting the simulation and the variable was not written to the .srhhydro file or It was written in an incorrect format. Could you include a screenshot or copy of the text in the .srhhydro file? Also, what version of SMS are you using? -Cody Edited October 5, 2018 by calberts Share this post Link to post Share on other sites
waterrocks 0 Report post Posted October 16, 2018 On 10/4/2018 at 7:54 PM, calberts said: Typically when SRHPre asks for “on screen input” it means that a required variable for the structure has not been provided. This usually means that something went wrong exporting the simulation and the variable was not written to the .srhhydro file or It was written in an incorrect format. Could you include a screenshot or copy of the text in the .srhhydro file? Also, what version of SMS are you using? -Cody Hi Cody, Thanks so much for your reply. I am using 12.2.12. I am pasting the .srhhydro file below: Any help would be amazing because this has been driving me bonkers! SRHHYDRO 30 Case "lower3712cfs" Description "lower3712cfs" RunType FLOW ModelTemp OFF UnsteadyOutput UNSTEADY SimTime 0 1 2 TurbulenceModel PARABOLIC ParabolicTurbulence 0.7 InitCondOption DRY Grid "1mhybrid.srhgeom" HydroMat "1mhybrid.srhmat" MonitorPtFile "1mhybrid.srhmpoint" OutputFormat XMDF ENGLISH OutputOption 1 OutputInterval 1 ManningsN 0 0.02 ManningsN 1 0.07 ManningsN 2 0.07 ManningsN 3 0.035 BC 5 EXIT-Q BC 8 EXIT-H BC 9 INLET-Q BC 10 INLET-Q BC 11 EXIT-H BC 12 MONITORING BC 13 MONITORING BC 14 MONITORING IQParams 9 600 EN CONVEYANCE IQParams 10 3112 EN CONVEYANCE EQParams 5 250 EN EWSParamsC 8 437.05 EN C EWSParamsC 11 439.94 EN C BC 3 WEIR BC 4 WEIR BC 6 WEIR BC 7 WEIR WeirNodestrings 1 3 4 WeirNodestrings 2 6 7 WeirParams 1 471 -999 75 EN GRAVEL WeirParams 2 461 -999 55 EN GRAVEL BC 1 LINK BC 2 LINK LinkNodestrings 3 1 2 LinkFlowType 3 CONSTANT LinkConstantFlow 3 70 EN LinkLagtimeMethod 3 Spec LinkSpecifiedLagtime 3 3600 Share this post Link to post Share on other sites
calberts 0 Report post Posted October 17, 2018 Thanks for sharing the .srhhydro file, I believe Aquaveo has fixed this issue in SMS 12.3. As a workaround in SMS 12.2 try the following: 1. Export the simulation (Just choose "Export SRH-2D" and not "Save, Export, and Launch SRH-2D") 2. Open the .srhhydro file in a text editor and modify the last 5 lines to match the following lines: LinkNodestrings 1 1 2LinkFlowType 1 CONSTANTLinkConstantFlow 1 70 ENLinkLagtimeMethod 1 SpecLinkSpecifiedLagtime 1 3600 3. Save the changes to the .srhhydro file in the text editor. 5. Launch the simulation (Just choose "Launch SRH-2D" and not "Save, Export, and Launch SRH-2D") With these changes SRH should be good to run. Let us know if it still has issues. -Cody Share this post Link to post Share on other sites
waterrocks 0 Report post Posted October 25, 2018 This worked good, or at least the model actually started running. Thank you! Share this post Link to post Share on other sites