CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   step like volField (https://www.cfd-online.com/Forums/openfoam-programming-development/157696-step-like-volfield.html)

kcn August 5, 2015 09:54

step like volField
 
Hello,

I need to use a volume vector field which has value 0 everywhere except for the set of cells attached to an immersed patch, where it has a constant value.

I cannot figure out the code to do this. Can someone please give me the correct piece of code?

Thank you,
kcn


All times are GMT -4. The time now is 23:19.