CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   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)

coolio July 25, 2010 12:04

User Defined function for scalar gradient caculation with Star ccm+ V4
 
Hi 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

coolio July 27, 2010 12:21

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!

onlyacan December 21, 2011 10:36

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

willimanili December 21, 2011 17:13

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:06.