- **CD-adapco**
(*http://www.cfd-online.com/Forums/cd-adapco/*)

- - **User Defined function for scalar gradient caculation with Star ccm+ V4**
(*http://www.cfd-online.com/Forums/cd-adapco/78545-user-defined-function-scalar-gradient-caculation-star-ccm-v4.html*)

User Defined function for scalar gradient caculation with Star ccm+ V4Hi all!
I m modeling flow and heat transfer in a heat exchanger model. After convergence of a simulation (or even during the simulation), i would like to caculate the temperature gradient at any point of the computational domain. I have tried to have a look at the User guide for the implementation of user Fortran code into Star CCM+ but the examples found concern only very simple user profile codes. Could anyone help me please? Coolio |

Sorry!
I found a solution! I was using an old version of the software! After updating to the new release (5.04), i found many derivative operators! Regards! |

how do you realize it?can you tell me how did you adapt the derivative operator in the STAR-CCM+?
thank you very much, my email is 54acan@gmail.com |

The field function "grad($Temperature)" provides you the gradient vector of temperature for your given coordinate system.
If you are just interested in the magnitude value of the gradient vector just use "mag(grad($temperature))". |

All times are GMT -4. The time now is 03:29. |