how can define a depth-dependent property?
If I want to define the viscosity or gravity acceleration or anything else as a function of depth, what should I do? in example, g=ay^2+b, where y is the height from bottom surface. I searched the internet but I couldn't find anything.
anybody knows how can I do it? can I use pos().y, which is used in groovyBC?
thanks a lot
I don't know if it helps you, but you can access the coordinates as (e.g. z-coordinate)
I have never worked with groovyBC so I can't help you with that.
Thank you for your reply. I think your post is what I want. I will test it.
|All times are GMT -4. The time now is 07:32.|