CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   "sg.h" header (

MASOUD March 25, 2010 14:36

"sg.h" header
When should we use "sg.h" header in the code??

pghoseju June 24, 2013 06:59

sg.h header
I also want to know the same?

yashganatra June 24, 2013 08:35

Its given in the UDF Manual. Mostly in Connectivity Macros section

Nimmy Kovoor June 27, 2017 10:14

Hi, Its a late reply...but somebody will be helped I hope.
If you want to access details of cells or faces like the inter-cell-centroid distances or the cell and face centroid distances or even the diffusive flux terms, you must include the sg.h header files since they are not available in the udf.h.
please find the link below to be clear:

All times are GMT -4. The time now is 06:09.