[Hedge] initialisation, angles, interpolation

Islam El Salawi islamelsalawi at gmx.de
Wed Apr 6 07:45:37 PDT 2011


-------- Original-Nachricht --------
Datum: Wed, 06 Apr 2011 16:44:09 +0200
Von: "Islam El Salawi" <islamelsalawi at gmx.de>
An: Andreas Kloeckner <lists at informa.tiker.net>
Betreff: Re: [Hedge] initialisation, angles, interpolation

        Hi Andreas,

thanks for your fast response. I have assigned three different 
UniformMachFlow classes with different data for direction and mach number:

var1=UniformMachFlow(data1)
var2=UniformMachFlow(data2)
var3=UniformMachFlow(data3)

But how can I feed the variable "fields" with these three initial datasets. 
This "fields" variable appears in the shearflow.py script, for example, and 
it is assigned as follows:

fields=var.volume_interpolant(0, discr) 

with "var" being of class UniformMachFlow. I can set "fields" for one 
"var", but how about two or more?

Thanks,
Islam
>         -------- Original-Nachricht --------
> Datum: Tue, 05 Apr 2011 11:52:38 -0400
> Von: Andreas Kloeckner <lists at informa.tiker.net>
> An: Islam El Salawi <islamelsalawi at gmx.de>, hedge at tiker.net
> Betreff: Re: [Hedge] initialisation, angles, interpolation
> 
>         On Tue, 05 Apr 2011 17:17:06 +0200, "Islam El Salawi" 
> <islamelsalawi at gmx.de> wrote:
> > Hi everybody,
> > 
> > I'd like to set a specific initial  velocity angle at the inlet, and in 
> the 
> > rest of the field the angle should be 0. Right now I'm using the 
> > UniformMachflow class, though it sets the same angle for the whole 
> field. I 
> > tried something like:
> 
> Just instantiate two different UniformMachFlows, and use one to specify
> the inlet, and the other for the IC the other BCs.
> 
> HTH,
> Andreas
>  
         


-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone    
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tiker.net/pipermail/hedge/attachments/20110406/ca416032/attachment-0001.html>


More information about the Hedge mailing list