← Back to team overview

dolfin team mailing list archive

Re: [Question #128351]: making a vector fields with previous solution

 

Question #128351 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/128351

    Status: Open => Answered

Anders Logg proposed the following answer:
On Thu, Oct 07, 2010 at 08:01:27PM -0000, Sungick Kim wrote:
> New question #128351 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/128351
>
> Let  'u' be a scalar nodal value.
> Now I want to construct a nodal vector field as below.
>
> velocity = Expression(('u', '0.0', '0.0'))
>
> There comes no error related this.
> However, it seems that velocity = (0,0,0) all throughout domain.
> Can anyone help me to know the right way to do this?

Have you set the value of u?

--
Anders

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups