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

How to write Dot Product of Gradient and UDSI_G

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 3, 2022, 06:38
Default How to write Dot Product of Gradient and UDSI_G
  #1
New Member
 
goksu
Join Date: Jan 2022
Posts: 3
Rep Power: 4
goksue is on a distinguished road
Hello!
I have to define the source term of the UDS Transport Equation as ∇. (f(T)∇T) where the function f is like a coefficient dependent on T and I already defined it. The problem is dot product of the gradient. How can I define a Gradient vector so that I can take the dot product?? Thank you so much !
goksue is offline   Reply With Quote

Old   January 3, 2022, 06:57
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
The dot product is just notation, not an operator. What you have is the divergence operator (del dotted with the gradient) which is a Laplacian if you actually carried out the operator. But you shouldn't actually do this because this is FVM...

If you take this term and integrate it over the control volume you end up with surface integrals of gradients. So really your task is to find the gradients on the cell faces and add them all up.
LuckyTran is offline   Reply With Quote

Reply

Tags
gradient, source term, udf, uds


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



All times are GMT -4. The time now is 12:52.