Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion BC conditions

Received: by 10.14.127.4 with SMTP id c4mr4668151eei.3.1338885955045;
        Tue, 05 Jun 2012 01:45:55 -0700 (PDT)
X-BeenThere: claw-dev@googlegroups.com
Received: by 10.14.99.194 with SMTP id x42ls2380111eef.6.gmail; Tue, 05 Jun
 2012 01:45:54 -0700 (PDT)
Received: by 10.14.101.2 with SMTP id a2mr4646749eeg.6.1338885954455;
        Tue, 05 Jun 2012 01:45:54 -0700 (PDT)
Received: by 10.14.101.2 with SMTP id a2mr4646748eeg.6.1338885954414;
        Tue, 05 Jun 2012 01:45:54 -0700 (PDT)
Return-Path: <kh.kori...@gmail.com>
Received: from mail-ey0-f173.google.com (mail-ey0-f173.google.com [209.85.215.173])
        by gmr-mx.google.com with ESMTPS id b15si1072863een.0.2012.06.05.01.45.54
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 05 Jun 2012 01:45:54 -0700 (PDT)
Received-SPF: pass (google.com: domain of kh.kori...@gmail.com designates 209.85.215.173 as permitted sender) client-ip=209.85.215.173;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of kh.kori...@gmail.com designates 209.85.215.173 as permitted sender) smtp.mail=kh.kori...@gmail.com; dkim=pass header...@gmail.com
Received: by eaak12 with SMTP id k12so2030219eaa.4
        for <claw-dev@googlegroups.com>; Tue, 05 Jun 2012 01:45:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=YOQiP3/8a3XkDyNjjJMeII9s/uBeAOi+BAChjuyMyRw=;
        b=H2c5w9pvHJ8ILxc5q5nlyadpA3xteTM9yPKk8MIWDFORRaVUH2PmuPR2rKw0Rh2ylR
         1PQ+D4HDFLfs2/BtxlmxiqMXxNf2gfpmPNPaYzH2S2oPxJbfGti1ANL08EZowCEpcSiy
         cZmypNgy+TRI4RZ9dFwQxtDlMYZaDidFltbC+wouvQr8hirOlspCPCdUaUqwC0CGv01K
         /laB6pbU/LkbDo0bZUnGc4uQvoYklVGNItNzq0sZads2saDiiWvPPkMYy/FGq5pwqIAE
         ZDkzj8lejHYyEmtGHkCFKf97m0tX2/BZbKXdhXvOWLCIBSN3EGoZw04hsC8oHq5UnjBm
         BmQA==
MIME-Version: 1.0
Received: by 10.14.99.136 with SMTP id x8mr7752200eef.64.1338885954150; Tue,
 05 Jun 2012 01:45:54 -0700 (PDT)
Received: by 10.14.2.73 with HTTP; Tue, 5 Jun 2012 01:45:54 -0700 (PDT)
In-Reply-To: <CAO1YWcZU0iz-ZHy_yuF7uHLsot5d2MKiEERpMqgjJXWOf8j...@mail.gmail.com>
References: <CADtcrRBKUUWeWFKoBBYcG-pvJprdwboBXNvuJXi63Vav=3W...@mail.gmail.com>
	<CAO1YWcZU0iz-ZHy_yuF7uHLsot5d2MKiEERpMqgjJXWOf8j...@mail.gmail.com>
Date: Tue, 5 Jun 2012 10:45:54 +0200
Message-ID: <CADtcrRDWGfissRZVgkEcriFfYscj5+cxrqBcK5j-7d6f0NV...@mail.gmail.com>
Subject: Re: [claw-dev] BC conditions
From: Khaled Korichi <kh.kori...@gmail.com>
To: claw-dev@googlegroups.com
Content-Type: multipart/alternative; boundary=bcaec52c6a6db1252004c1b5adc0

--bcaec52c6a6db1252004c1b5adc0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thank you very mauch. I tried these instructions. It work on 1D but in 2D I
receiced thid message.

 WARNING: topotype 1 has been deprecated
 converting to topotype > 1 is encouraged
 python tools for converting files are provided

I dispose Topo file arranged in XYZ How can I convert it to topotype2.
I used this instruction but it did not work
pyclaw.geotools.topotools.converttopotype(inputfile, outputfile,
topotypein=3D1, topotypeout=3D2, nodata_value=3DNone).

Regards

2012/6/4 Kyle Mandli <kyle.man...@gmail.com>

> You need to modify the bc.f code for this to work.  Create a local copy
> and modify the Makefile to use that rather than the library version and
> modify the particular side you want to have the boundary condition and se=
t
> the boundary condition for the appropriate side to the user specified one
> (for instance this would be clawdata.mthbc_xlower =3D 0 for the left
> boundary).  As a first go I think I would copy the zero-order extrapolati=
on
> boundary condition (method 1) and set the cell nearest your gauge to the
> correct height and let it go and see if it gives you what you want.
>
> Kyle
>
>
>
> On Mon, Jun 4, 2012 at 11:35 AM, Khaled Korichi <kh.kori...@gmail.com>wro=
te:
>
>> Hi all
>> I want to simulate flood in our watershead in 2D, there is gauge station=
,
>> located at (x,y), which records time evolution of discharge.
>>
>> How can I set time evolution of discharge (reading from a file (t, q)) a=
s
>> upstream boundary condition?
>> With best regards.
>>
>> --
>>
>> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-=
*-*-*-*-*-*-*-*-*-*
>> Mr KORICHI Khaled
>> Universit=E9 Djillali Liabes Sidi Belabbes, ALG=C9RIE
>> Laboratoire de Mod=E9lisation et M=E9thodes de Calcul, Saida, ALG=C9RIE
>> Tel : 213-793909464
>>
>> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-=
*-*-*-*-*-*-*-*-*-*
>>
>>  --
>> You received this message because you are subscribed to the Google Group=
s
>> "claw-dev" group.
>> To post to this group, send email to claw-dev@googlegroups.com.
>> To unsubscribe from this group, send email to
>> claw-dev+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/claw-dev?hl=3Den.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "claw-dev" group.
> To post to this group, send email to claw-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> claw-dev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/claw-dev?hl=3Den.
>



--=20
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*=
-*-*-*-*-*-*-*-*
Mr KORICHI Khaled
Universit=E9 Djillali Liabes Sidi Belabbes, ALG=C9RIE
Laboratoire de Mod=E9lisation et M=E9thodes de Calcul, Saida, ALG=C9RIE
Tel : 213-793909464
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*=
-*-*-*-*-*-*-*-*

--bcaec52c6a6db1252004c1b5adc0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thank you very mauch. I tried these instructions. It work =
on 1D but in 2D I receiced thid message.<br><br>=A0WARNING: topotype 1 has =
been deprecated<br>=A0converting to topotype &gt; 1 is encouraged<br>=A0pyt=
hon tools for converting files are provided<br>
<br>I dispose Topo file arranged in XYZ How can I convert it to topotype2.<=
br>I used this instruction <cite>but </cite><span id=3D"result_box" class=
=3D"short_text" lang=3D"en"><span class=3D"hps">it</span> <span class=3D"hp=
s">did not work</span></span><br>
<cite>pyclaw.geotools.topotools.converttopotype(inputfile, outputfile,
topotypein=3D1, topotypeout=3D2, nodata_value=3DNone)</cite>.<br><br>Regard=
s<br><br><div class=3D"gmail_quote">2012/6/4 Kyle Mandli <span dir=3D"ltr">=
&lt;<a href=3D"mailto:kyle.man...@gmail.com" target=3D"_blank">kyle.mandli@=
gmail.com</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">You need to modify the bc.f code for this to=
 work. =A0Create a local copy and modify the Makefile to use that rather th=
an the library version and modify the particular side you want to have the =
boundary condition and set the boundary condition for the appropriate side =
to the user specified one (for instance this would be=A0clawdata.mthbc_xlow=
er =3D 0 for the left boundary). =A0As a first go I think I would copy the =
zero-order extrapolation boundary condition (method 1) and set the cell nea=
rest your gauge to the correct height and let it go and see if it gives you=
 what you want.<div>

<br clear=3D"all">Kyle<br><br>
<br><br><div class=3D"gmail_quote"><div><div class=3D"h5">On Mon, Jun 4, 20=
12 at 11:35 AM, Khaled Korichi <span dir=3D"ltr">&lt;<a href=3D"mailto:kh.k=
ori...@gmail.com" target=3D"_blank">kh.kori...@gmail.com</a>&gt;</span> wro=
te:<br>
</div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"h5">
<div dir=3D"ltr"><font size=3D"4">Hi all<br>I want to simulate flood in our=
 watershead=20
in 2D, there is gauge station, located at (x,y), which records time=20
evolution of discharge.<br><br></font><span lang=3D"en"><span></span></span=
><font size=3D"4">How can I set time evolution of discharge (reading from a=
 file (t, q)) as upstream boundary condition?<br>
With best regards.=A0 </font><br clear=3D"all"><span><font color=3D"#888888=
"><br>-- <br><div dir=3D"ltr"><span style=3D"color:rgb(0,0,153)">*-*-*-*-*-=
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*=
-*-*-*</span><br style=3D"color:rgb(0,0,153)">


<span style=3D"color:rgb(0,0,153)">Mr KORICHI Khaled</span><br style=3D"col=
or:rgb(0,0,153)"><span style=3D"color:rgb(0,0,153)">Universit=E9 Djillali L=
iabes Sidi Belabbes, ALG=C9RIE</span><br style=3D"color:rgb(0,0,153)"><span=
 style=3D"color:rgb(0,0,153)">Laboratoire de Mod=E9lisation et M=E9thodes d=
e Calcul, Saida, ALG=C9RIE</span><br style=3D"color:rgb(0,0,153)">


<span style=3D"color:rgb(0,0,153)">Tel : <a href=3D"tel:213-793909464" valu=
e=3D"+213793909464" target=3D"_blank">213-793909464</a></span><br style=3D"=
color:rgb(0,0,153)"><span style=3D"color:rgb(0,0,153)">*-*-*-*-*-*-*-*-*-*-=
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*</sp=
an></div>


<br>
</font></span></div></div></div><span class=3D"HOEnZb"><font color=3D"#8888=
88"><span><font color=3D"#888888">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;claw-dev&quot; group.<br>
To post to this group, send email to <a href=3D"mailto:claw-dev@googlegroup=
s.com" target=3D"_blank">claw-dev@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:claw-dev%2B=
unsubscribe@googlegroups.com" target=3D"_blank">claw-dev+unsubscribe@google=
groups.com</a>.<br>

For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/claw-dev?hl=3Den" target=3D"_blank">http://groups.google.com/group/cla=
w-dev?hl=3Den</a>.<br>


</font></span></font></span></blockquote></div><span class=3D"HOEnZb"><font=
 color=3D"#888888"><br></font></span></div><span class=3D"HOEnZb"><font col=
or=3D"#888888">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;claw-dev&quot; group.<br>
To post to this group, send email to <a href=3D"mailto:claw-dev@googlegroup=
s.com" target=3D"_blank">claw-dev@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:claw-dev%2B=
unsubscribe@googlegroups.com" target=3D"_blank">claw-dev+unsubscribe@google=
groups.com</a>.<br>

For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/claw-dev?hl=3Den" target=3D"_blank">http://groups.google.com/group/cla=
w-dev?hl=3Den</a>.<br>


</font></span></blockquote></div><br><br clear=3D"all"><br>-- <br><div dir=
=3D"ltr"><span style=3D"color:rgb(0,0,153)">*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*=
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*</span><br styl=
e=3D"color:rgb(0,0,153)">
<span style=3D"color:rgb(0,0,153)">Mr KORICHI Khaled</span><br style=3D"col=
or:rgb(0,0,153)"><span style=3D"color:rgb(0,0,153)">Universit=E9 Djillali L=
iabes Sidi Belabbes, ALG=C9RIE</span><br style=3D"color:rgb(0,0,153)"><span=
 style=3D"color:rgb(0,0,153)">Laboratoire de Mod=E9lisation et M=E9thodes d=
e Calcul, Saida, ALG=C9RIE</span><br style=3D"color:rgb(0,0,153)">
<span style=3D"color:rgb(0,0,153)">Tel : 213-793909464</span><br style=3D"c=
olor:rgb(0,0,153)"><span style=3D"color:rgb(0,0,153)">*-*-*-*-*-*-*-*-*-*-*=
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*</spa=
n></div>
<br>
</div>

--bcaec52c6a6db1252004c1b5adc0--