|
[Sponsors] | |||||
User Defined function for scalar gradient caculation with Star ccm+ V4 |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
|
#1 |
|
New Member
NVilius
Join Date: Jul 2010
Posts: 3
Rep Power: 3 ![]() |
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 Last edited by coolio; July 26, 2010 at 03:16. |
|
|
|
|
|
|
|
|
#2 |
|
New Member
NVilius
Join Date: Jul 2010
Posts: 3
Rep Power: 3 ![]() |
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! |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Can Huang
Join Date: Oct 2010
Posts: 4
Rep Power: 3 ![]() |
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 |
|
|
|
|
|
|
|
|
#4 |
|
Member
Join Date: Feb 2011
Location: DE-PB
Posts: 56
Rep Power: 3 ![]() |
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))". Last edited by willimanili; December 22, 2011 at 02:09. Reason: changed abs to mag |
|
|
|
|
|
![]() |
| Tags |
| fortran, scalar gradient, user code |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 04:38 |
| solving passive scalar by user function in AVLFIRE | huyp | Main CFD Forum | 0 | September 4, 2008 10:21 |
| Gradient of a User defined Variable | Ramadas | CFX | 2 | August 21, 2007 09:19 |
| User defined function for density gradient | ben akih | CFX | 3 | October 10, 2006 21:47 |
| user defined function | cfduser | CFX | 0 | April 29, 2006 10:58 |