CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

implement a diffusion term in the source

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

LinkBack Thread Tools Display Modes
Old   April 22, 2012, 02:55
Default implement a diffusion term in the source
Join Date: Feb 2012
Posts: 30
Rep Power: 5
chenxizh is on a distinguished road
I want to implement the diffusion of a scalar \nabla\bullet(\nabla\Phi) in the source term , my ideal is use another scalar in DEFINE_ADUST, then get the gradient of the scalar by C_UDSI_G in the DEFINE_SOURCE finally use NV_DOT(C_UDSI_G,A);
can that be possible? has anybody done it before ?
any suggestion is appreciate !
chenxizh is offline   Reply With Quote


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
swak4foam building problem GGerber OpenFOAM Installation 54 April 24, 2015 16:02
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 06:12
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
Large source term in species equation MACFD FLUENT 4 January 4, 2011 15:16
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 11:23

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