On 19/08/14 19:43, Anthony Ashley wrote:
> Hello,
> 
> I was wondering if it is possible to specify an inflow (or outflow)
> boundary condition with a variable expression, similar to how one can be
> used in the soln-ics? 
> 
> If I try this in the .ini file:
> 
>     [soln-bcs-inflow]
>     type = sub-in-frv
>     rho = rho0
>     u = 1.0-(0.2*y)^2
>     v = v0
> 
> 
> I receive the error
> 
>     NameError: name 'y' is not defined
> 

This is not currently possible.  While expressions such as:

  u = 1.0*gamma^2

are permitted those which would give each point in space a different
value of u are not supported.  It is, I believe, on the to-do list.

Regards, Freddie.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to