CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   setValues() equivalent for fixing gradients? (http://www.cfd-online.com/Forums/openfoam-programming-development/98377-setvalues-equivalent-fixing-gradients.html)

lrunber March 9, 2012 08:08

setValues() equivalent for fixing gradients?
 
Dear Foamers,

I would like to be able to fix the pressure gradient within the domain at arbitrary points in an unsteady fashion.

The functionality is available for setting fixed "Dirichlet" values with setValues(), however I was wondering if there is perhaps a similar function for fixing gradients? Also, any advice w.r.t. writing such a function myself would be highly appreciated.

lazio.


All times are GMT -4. The time now is 22:13.