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 Defined function for scalar gradient caculation with Star ccm+ V4 (https://www.cfd-online.com/Forums/star-ccm/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))".

Krishna Thombare August 11, 2023 05:38

I want to take dot product of gradient operator and unit normal vectopr for this i need to take just gradient operator so is it like "grad" only or $$grad please help?

thanks
krishna.


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