CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

User Defined function for scalar gradient caculation with Star ccm+ V4

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 25, 2010, 12:04
Default User Defined function for scalar gradient caculation with Star ccm+ V4
  #1
New Member
 
NVilius
Join Date: Jul 2010
Posts: 3
Rep Power: 7
coolio is on a distinguished road
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.
coolio is offline   Reply With Quote

Old   July 27, 2010, 12:21
Default
  #2
New Member
 
NVilius
Join Date: Jul 2010
Posts: 3
Rep Power: 7
coolio is on a distinguished road
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!
coolio is offline   Reply With Quote

Old   December 21, 2011, 11:36
Smile how do you realize it?
  #3
New Member
 
Can Huang
Join Date: Oct 2010
Posts: 5
Rep Power: 6
onlyacan is on a distinguished road
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
onlyacan is offline   Reply With Quote

Old   December 21, 2011, 18:13
Default
  #4
Member
 
Join Date: Feb 2011
Location: DE-PB
Posts: 56
Rep Power: 6
willimanili is on a distinguished road
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 03:09. Reason: changed abs to mag
willimanili is offline   Reply With Quote

Reply

Tags
fortran, scalar gradient, user code

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05: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


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