CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Can I alter the field static pressure using UDF? (https://www.cfd-online.com/Forums/fluent-udf/211896-can-i-alter-field-static-pressure-using-udf.html)

anuarun November 21, 2018 05:39

Can I alter the field static pressure using UDF?
 
Hello all,
I know that C_P(cell, thread) will call the local static pressure variable into the UDF for each cell. Is there any way by which I can alter the local static pressure? Something like a macro. For example, If I want to introduce a pressure correction in momentum equation, is there a way to do that with or without UDF? :confused:

obscureed November 23, 2018 03:51

Hi Anuarun,


Not really, not in Fluent. The Fluent solver is continually trying to get pressure and velocity to match, so it will fight against any unexplained variation to pressure. I think if you want to explore the details of solver numerics, OpenFOAM might be a better option.


Good luck!
Ed

anuarun November 23, 2018 05:17

Thank you Ed for your suggestion.


All times are GMT -4. The time now is 02:11.