CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   "sg.h" header (https://www.cfd-online.com/Forums/fluent-udf/74168-sg-h-header.html)

MASOUD March 25, 2010 13: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:
http://www.afs.enea.it/project/neptu...udf/node99.htm


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