|
[Sponsors] |
Question about DEFINE_DPM_BC from ANSYS Fluent help |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 9, 2017, 04:36 |
Question about DEFINE_DPM_BC from ANSYS Fluent help
|
#1 | ||
New Member
Alexander
Join Date: Dec 2016
Posts: 24
Rep Power: 9 |
Here is example udf from ANSYS Fluent 17 help (2.5.1.3. Example 1):
Quote:
Quote:
|
|||
February 9, 2017, 05:08 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
You are correct in saying that without this line, you will get the same results. The line has no effect on the simulation.
(I even suspect that the compiler recognizes this, and that the line is completely ignored.) But I would not call it an error. An error is something that (potentially) causes problems. This line will not cause problems. And you have to see it in the context of a manual: this specific UDF does not use the angle alpha, but if somebody wants to change the UDf to make it angle-dependent, the angle is already there. |
|
March 26, 2018, 19:31 |
|
#3 |
New Member
Matt
Join Date: Mar 2018
Posts: 11
Rep Power: 8 |
As pakk said Alpha is not used in this code. The definition of Alpha however is wrong. The way that Alpha is defined, it is the angle of particle path with the surface itself and not with the surface normal.
or "angle of particle path with face normal"=pi/2-Alpha |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF Defining in ANSYS FLUENT 16.2 in Win 10 | Sadegh.A | Fluent UDF and Scheme Programming | 11 | February 15, 2017 15:45 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
gambit in Ansys FLuent 13 | saharesobh | FLUENT | 0 | August 1, 2012 16:30 |
[GAMBIT] 3.5 years overtake by Ansys: Where are the enhancements in grid generation | Volker P. | ANSYS Meshing & Geometry | 22 | January 17, 2012 18:27 |
Fluent & Ansys FSI architecture help | DillonS | FLUENT | 1 | April 7, 2010 17:00 |