This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interpolate Cross Section or 1D/2D River coupling in Open Flow FLOOD

Versión: OpenFlows FLOOD CONNECT Edition (build 10.03.00.01).

Hello,

I am trying to acopling a river to a MOHID Land project by interpolating cross sections. However, I have an error with the file "Cross Section File". This error is "No cross section found in file".

For this reason, I would like to know what type of file is necessary to use the "1D / 2D River Coupling" and the "Interpolate Cross Section" tools and how generate this file (Cross Section File).

Thans,

  • Hello Alvaro,

    In OpenFlows FLOOD, when running the 1D/2D River Coupling tool you'll indeed require the Cross Section File. This file has a FLOOD specific format and currently it doesn't have an automatic tool to build it. However, the format is ASCII text file, so you may create it manually in a relatively straightforward way. 

    The file format is as follows. For each river cross-section you need to create a "block" starting with <BeginCrossSection> and finishing with <EndCrossSection>. Inside this block you add a keyword: 

    NAME   : XS001 

    with the name/id of the cross-section. Then still inside <BeginCrossSection> / <EndCrossSection> you'll add a second block <<BeginSectionValues>>/<<EndSectionValues>> inside which you'll list 3 columns with X, Y and Z values for the cross-section. 

    Here what the file should look like with 2 cross-sections: 

    <BeginCrossSection>
    NAME : XS001
    <<BeginSectionValues>>
    384287.4 248624.9 13.21
    384283.1 248635.4 12.03
    384282.7 248636.3 10.55
    384281.2 248640.2 10.74
    384279.4 248644.6 12.97
    384279 248645.5 13.57
    <<EndSectionValues>>
    <EndCrossSection>

    <BeginCrossSection>
    NAME : XS002
    <<BeginSectionValues>>
    384189.1 248238.5 13.21
    384187.8 248238.2 12.15
    384183.2 248237.4 10.16
    384180.8 248236.9 10.93
    384180.3 248236.8 12.93
    384180.3 248236.8 13.08
    <<EndSectionValues>>
    <EndCrossSection>

    Please let me know if you require any additional information. 

    Kind regards,
    Luis

  • The solution provided is now documented in a wiki here: How to input river cross-section data in OpenFlows FLOOD?


    Regards,

    Yashodhan Joshi