CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   User Coding in steady state simulation (https://www.cfd-online.com/Forums/star-ccm/214480-user-coding-steady-state-simulation.html)

nalamyogesh February 1, 2019 12:31

User Coding in steady state simulation
 
Hello,

If I want to write a user code that changes the heat flux on a boundary cell based on the temperature. And I am running a steady state CHT simulation.

1. Does the user code update the heat flux every iteration (steady state) ?
2. Is it better to just update the heat fluxes after the steady state simulation has converged ?

Thanks !!

me3840 February 1, 2019 18:43

I could be wrong but I believe you can just use a field function for this. There's a checkbox on field functions to return the cell value instead of the face value.


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