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

Calculate diffusion term from UDS transport equation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2020, 05:01
Default Calculate diffusion term from UDS transport equation
  #1
New Member
 
Anne-Sophie
Join Date: Feb 2020
Location: Belgium
Posts: 17
Rep Power: 5
Anne-Sophie is on a distinguished road
Hi,



I am looking for a way to plot the diffusion term from the UDS transport equation that is internally calculated by Fluent.


Is there an easy way to do this? Since this term contains a second order gradient, I don't know how to implement it in a UDF without defining 2 extra user defined scalers.



Thanks in advance for the advice!



Kind regards,
Anne-Sophie
Anne-Sophie is offline   Reply With Quote

Old   May 27, 2020, 05:42
Default Secondary Gradient
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
You can use SECONDARY_GRADIENT_SOURCE function to retrieve the required data. It does not return the diffusion term but the required terms for the calculation of diffusion term. It is very similar to BOUNDARY_SECONDARY_GRADIENT_SOURCE and its usage is given in UDF manual in P1 Radiation model implementation example.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 27, 2020, 06:00
Default
  #3
New Member
 
Anne-Sophie
Join Date: Feb 2020
Location: Belgium
Posts: 17
Rep Power: 5
Anne-Sophie is on a distinguished road
Hi,

Thank you for your advice, Vinerm! I will try what you suggested.



Kind regards,
Anne-Sophie
Anne-Sophie is offline   Reply With Quote

Reply

Tags
diffusion

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
Species transport equation source term udf Anshs Main CFD Forum 2 May 28, 2020 11:30
pimpleFoam - lower nonzero limit for the production term in k transport equation cyln OpenFOAM Running, Solving & CFD 1 April 12, 2018 04:34
Adding a Source Term to an User Defined transport equation rma OpenFOAM Programming & Development 1 January 2, 2017 05:55
udf and uds for transport equation m003020002 Fluent UDF and Scheme Programming 1 September 15, 2015 01:02
How to add a sink term to the transport equation for the volume fraction ASLAN_1987 STAR-CCM+ 2 September 14, 2015 21:57


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