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

Pls help me with the scattering phase function UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2017, 00:22
Default Pls help me with the scattering phase function UDF
  #1
New Member
 
cszssj
Join Date: Aug 2017
Posts: 1
Rep Power: 0
cszssj is on a distinguished road
Here is a simple two dimensional case, the DO model is uesd, the inlet and outlet boundary is semitransparent. A source term is added to the solid phase (3e7 W/m3) .
When i use the default isotropic scattering phase function, the sum of radiation flux on the boundaries is equal to the integral of source term(3.6e5 W),which is right. But when i use the UDF( copied from the user manual), the sum of radiation flux changes , which is wrong. Even I use the "ScatIso" UDF, which basically is isotropic scattering phase function, the answer still changes.
So please help me to solve this problem, thanks advance.



https://drive.google.com/file/d/0B-G...ew?usp=sharing
cszssj is offline   Reply With Quote

Reply

Tags
udf


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
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27
asymmetry factor (C1/3) Scattering phase function Ahmed Main CFD Forum 1 September 24, 2003 05:31


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