setFieldsDict for spatially varying field
Hi all, I was hoping someone could shed some light.
I am looking to create a scalar field that varies linearly as a function of space and would like to know if there's a way to do it through setFieldsDict. I am using OF v4.1 on ubuntu 16.06 so unfortunately swak4foam isn't available for me without a complete overhaul. Any help would be deeply appreciated. |
Hi Joanne
Not sure if this is what you are looking for but this post may assist: https://www.cfd-online.com/Forums/op...ed-volume.html Regards JFM |
A while ago I used this snippet for setting a parabolic boundary condition for U at the inlet:
Code:
inlet |
All times are GMT -4. The time now is 04:21. |