Hi Kun-Dar,

DistanceVariable  is fairly specialized class, basically, only to be
used when using the level set method and it only works in 2D. It is
the shortest distance to the nearest interface. DistanceVariable is
not required if you can write down your function based on spatial
position, then you should just be able to simply assign the value.

Cheers

2009/10/13 Kun-Dar Li <[email protected]>:
> Hello all,
>
> I'm trying to assign different values of variable in each mesh point in 3D
> mesh, which is a function of interface distance (or Z axial). Can I use
> DistanceVariable( ) in 3D mesh? Is that a value of the shortest distance
> from the nearest interface? Thank you so much for any help or suggestion.
>
> Kundar
>



-- 
Daniel Wheeler

Reply via email to