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

Defining a source term

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

LinkBack Thread Tools Display Modes
Old   September 28, 2012, 08:00
Default Defining a source term
New Member
Join Date: May 2012
Posts: 8
Rep Power: 5
fleure_Jasmin is on a distinguished road
Im trying to create an UDF which define an ultrasonic source term in the momentum equation, and I have the analytical expression of the radiation pressure/ volume :S = a exp(- r2) exp (-x2) ; where a is a constant, r is the radial component ant x is the axial one.
The function must return an x-momentum source term that varies with x and r position
The problem here is that the expression is not depending on x-velocity Vx so we can set dS[eqn] to dS/dVx
Do you have please any idea about haw can I write this UDF in a different way from that of the UDF manual-section 4.3.15
Thank you, I will be grateful
fleure_Jasmin 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
groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Pre-Processing 24 August 23, 2015 22:41
swak4Foam-groovyBC build problem zxj160 OpenFOAM 18 July 30, 2013 13:14
gradient source term UDF ak6g08 Fluent UDF and Scheme Programming 0 July 9, 2009 06:37
Source term defining in k-epsilon equation Q FLUENT 0 March 8, 2006 12:52
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 03:43

All times are GMT -4. The time now is 18:37.