CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Gradient of a quantity inside define diffusivity

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2025, 12:08
Default Gradient of a quantity inside define diffusivity
  #1
Member
 
Rodrigo Villarreal
Join Date: Nov 2016
Posts: 43
Rep Power: 11
rodrigovime is on a distinguished road
Hello everyone,
To calculate a custom flux using define diffusivity, I need to calculate the gradient of a variable that it's not a dependent or UDS variable, it's rather a evaluation of a table on each cell.
How can I do that? Is there a vector operation macro to take the gradient of something already built in? Can define a gradient function and make a vector? How can I pass that vector to the UDF macro?
Thanks for your answer
Thanks for yout answer
rodrigovime is offline   Reply With Quote

Reply

Tags
define diffusivity, gradient calculation, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
RANS shape optimization all gradients are zero cfd-jg SU2 Shape Design 1 February 28, 2025 04:11
How to calculate the gradient of diffusivity? Raymond.Leoi FLUENT 0 February 4, 2013 08:29
gradient for scalar quantity tseo FLUENT 6 August 6, 2005 00:15
How to define a gadient boundary inside domain windhair CFX 4 October 20, 2004 06:05
meshing F1 front wing Steve FLUENT 0 April 17, 2003 13:37


All times are GMT -4. The time now is 10:31.