<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://forum.basement.ethz.ch/extern.php?action=feed&amp;tid=474&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[User Forum of Software BASEMENT / Coupling a baseplane and a basechain through source coupling]]></title>
		<link>https://forum.basement.ethz.ch/viewtopic.php?id=474</link>
		<description><![CDATA[The most recent posts in Coupling a baseplane and a basechain through source coupling.]]></description>
		<lastBuildDate>Tue, 05 Jul 2016 09:35:07 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Coupling a baseplane and a basechain through source coupling]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?pid=906#p906</link>
			<description><![CDATA[<p>Hi,</p><p>I have been able to run the model. I am reproducing the relevant parts from the run files suitably amended with comments to explain what not to do. Anyone can compare it with relevant parts from the run file in previous post to see what error has been committed and should avoid it.</p><p>2d subdomain &#039;street&#039;<br />****************<br />&#160; &#160; &#160; &#160; &#160; &#160; SOURCE&#160; &#160;&#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; &#160; &#160;&#160; EXTERNAL_SOURCE<br />&#160; &#160; &#160; &#160; &#160; &#160; { type = source_discharge<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; &#160; file&#160; &#160; =rain.txt<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; &#160; element_ids=( 6571 6572 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6623 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6725 6730 6732 6733 6734 6740 6742 6743 6744 6745 6746<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; )<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; }<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; EXTERNAL_SOURCE<br />&#160; &#160; &#160; &#160; &#160; &#160; { type = coupling_source_discharge<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; &#160; element_ids&#160; &#160; = (2309 )//earlier, i coupled many cells in the 2d subdomain &#039;street&#039; to 1d subdom &#039;sewer&#039;. Wrong. for each cell in&#160; 2d subdom&#160; //add&#160; &#160; a separate&#160; &#160;ext_source block<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; &#160; &#160;name= 2d_rain_prod&#160; // always give name. This will be required while defining coupling interfaces.<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; }<br />&#160; &#160; &#160; &#160; }<br />1D sudomain &#039;sewer&#039;<br />***************<br />&#160; &#160; &#160; &#160; &#160; &#160; SOURCE&#160; &#160;&#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; &#160; &#160;&#160; EXTERNAL_SOURCE&#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; type = coupling_off_channel<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; name = 1d_receptor // always give name. This will be required while defining coupling interfaces.<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; cross_sections =(CS7_lft CS8_lft) // define the 1d compartment which will be coupled to &#039;2d_rain_prod&#039;. earlier missed<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; }<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; }<br />Coupling block<br />*************<br />&#160; &#160; &#160; &#160; COUPLINGS {<br />&#160; &#160; &#160; &#160; &#160; &#160; COUPLING {<br />&#160; &#160; &#160; &#160; &#160; &#160; type&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;= sequential<br />&#160; &#160; &#160; &#160; &#160; &#160; upstream_subdomain&#160; &#160;= street<br />&#160; &#160; &#160; &#160; &#160; &#160; downstream_subdomain = sewerchan<br />&#160; &#160; &#160; &#160; &#160; &#160; two_way_coupling&#160; &#160; &#160;= yes<br />&#160; &#160; &#160; &#160; &#160; &#160; espilon&#160; &#160; &#160; &#160; &#160; &#160; &#160; = 1E-6<br />&#160; &#160; &#160; &#160; &#160; &#160; HYDRAULICS {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; upstream_interface&#160; &#160;= 2d_rain_prod<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; downstream_interface = 1d_receptor<br />&#160; &#160; &#160; &#160; }<br />&#160; &#160; &#160; &#160; }<br />}</p>]]></description>
			<author><![CDATA[dummy@example.com (sajjad)]]></author>
			<pubDate>Tue, 05 Jul 2016 09:35:07 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?pid=906#p906</guid>
		</item>
		<item>
			<title><![CDATA[Coupling a baseplane and a basechain through source coupling]]></title>
			<link>https://forum.basement.ethz.ch/viewtopic.php?pid=903#p903</link>
			<description><![CDATA[<p>Hi,</p><p>I am trying to couple a street model of 2d flow with a 1d sewer model (basechain) through source coupling. I have defined a source block in&#160; 2d containing two external_source blocks. One ext_source block is for rainfall over the street and another is coupling_source_discharge. Then in 1d basechain, I have a coupling_off_channel. I want the flow from 2d street model towards the 1d sewer model and vice versa. I have a coupling block at the end in which, i am perplexed about &#039;Hydraulics&#039; because there are no interfaces which connect (i have left it out, as can be seen below). When the basement v 2.6 is launched, the program gets stuck and has to be closed. No error message is generated.</p><p>I am reproducing the relevant blocks in the 2d baseplain and 1d basechain as explained above.</p><p>2D baseplain (subdomain : street)<br />***********<br />&#160; &#160; &#160; &#160; &#160; &#160; SOURCE&#160; &#160;&#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; &#160; &#160;&#160; EXTERNAL_SOURCE<br />&#160; &#160; &#160; &#160; &#160; &#160; { type = source_discharge<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; &#160; file&#160; &#160; =rain.txt<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; &#160; element_ids=( 6571 6572 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6623 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6725 6730 6732 6733 6734 6740 6742 6743 6744 6745 6746&#160; &#160; )<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; } // rainfall generating discharge<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; EXTERNAL_SOURCE<br />&#160; &#160; &#160; &#160; &#160; &#160; { type = coupling_source_discharge<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; &#160; element_ids&#160; &#160; = (2309 2524 2862 4190 4695 5585 6479 8981 9477)&#160; //cells corresponding to street inlets which exchange flow b/w the two //subdomains<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; }<br />&#160; &#160; &#160; &#160; }</p><p>1D basechain (subdomain : sewerchan)<br />**********<br />&#160; &#160; &#160; &#160; &#160; &#160; SOURCE&#160; &#160;&#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; &#160; &#160;&#160; EXTERNAL_SOURCE&#160; {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; type = coupling_off_channel<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; }<br />&#160; &#160; &#160; &#160; &#160; &#160;&#160; }<br />Coupling<br />**********<br />&#160; &#160; &#160; &#160; COUPLINGS {<br />&#160; &#160; &#160; &#160; COUPLING {<br />&#160; &#160; &#160; &#160; &#160; &#160; type&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;= sequential<br />&#160; &#160; &#160; &#160; &#160; &#160; upstream_subdomain&#160; &#160;= street<br />&#160; &#160; &#160; &#160; &#160; &#160; downstream_subdomain = sewerchan<br />&#160; &#160; &#160; &#160; &#160; &#160; two_way_coupling&#160; &#160; &#160;= yes<br />&#160; &#160; &#160; &#160; &#160; &#160; average_steps&#160; &#160; &#160; &#160; = 1<br />&#160; &#160; &#160; &#160; &#160; &#160; print_series&#160; &#160; &#160; &#160; &#160;= no<br />&#160; &#160; &#160; &#160; &#160; &#160; espilon&#160; &#160; &#160; &#160; &#160; &#160; &#160; = 1E-6<br />&#160; &#160; &#160; &#160; &#160; &#160; HYDRAULICS {<br />&#160; &#160; &#160; &#160; &#160; &#160; //&#160; &#160; upstream_interface&#160; &#160;= left_down<br />&#160; &#160; &#160; &#160; &#160; &#160; //&#160; &#160; downstream_interface = inflow_left1<br />&#160; &#160; &#160; &#160; &#160; &#160; }<br />&#160; &#160; &#160; &#160; }<br />&#160; &#160; &#160; &#160; }</p><p>Any help would be greatly appreciated.</p><p>Regards</p>]]></description>
			<author><![CDATA[dummy@example.com (sajjad)]]></author>
			<pubDate>Sat, 02 Jul 2016 20:15:47 +0000</pubDate>
			<guid>https://forum.basement.ethz.ch/viewtopic.php?pid=903#p903</guid>
		</item>
	</channel>
</rss>
