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/)
-   -   Set gradient of temperature from outside (https://www.cfd-online.com/Forums/openfoam-programming-development/197081-set-gradient-temperature-outside.html)

kaanm December 27, 2017 03:53

Set gradient of temperature from outside
 
Hi

I have a problem to set gradient of temperature to a value for boundary cells. I need to take gradient values from another file or read from file and assign them as new gradient of temperature. I only find fixedValue or fixedGradient in the forum. My values are changing every iteration but i could not find a way to assign them into gradient of temperature.

alexeym December 27, 2017 06:55

Hi,

Did you look at uniformFixedGradient? It can read gradient value from external CSV file. Though it will be single gradient value for the whole patch.


All times are GMT -4. The time now is 14:00.