|
[Sponsors] |
September 28, 2012, 09:00 |
Defining a source term
|
#1 |
New Member
Join Date: May 2012
Posts: 8
Rep Power: 14 |
Hello,
I’m 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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[swak4Foam] swak4Foam-groovyBC build problem | zxj160 | OpenFOAM Community Contributions | 18 | July 30, 2013 14:14 |
gradient source term UDF | ak6g08 | Fluent UDF and Scheme Programming | 0 | July 9, 2009 07: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 04:43 |