|
[Sponsors] |
what variable F_C1 returns if c1 is undefined? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 16, 2019, 20:37 |
what variable F_C1 returns if c1 is undefined?
|
#1 |
Senior Member
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9 |
Hi all,
I am trying to use macros F_C0 and F_C1 to obtain cell indexes of a specific face. I read user manual of UDF and found the following statement: "F_C1 returns the cell index for c1 if it exists" if the face I am handling is a boundary face, then c1 would be undefined. I am wondering what F_C1 will return if c1 is not defined. I need to use c1 cell index in my UDF code. If c1 is not defined, then will F_C1 return a void or a cell index? Best regards Weiqiang |
|
Tags |
f_c1, udf, undefined |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LEMOS InflowGenerator | r_gordon | OpenFOAM Running, Solving & CFD | 103 | December 18, 2018 01:58 |
-Xlinker --add-needed -Xlinker --no-as-needed | NH1994 | OpenFOAM Programming & Development | 7 | December 31, 2014 11:24 |
LiencubiclowRemodel | nzy102 | OpenFOAM Bugs | 14 | January 10, 2012 09:53 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 01:35 |
G95 + CGNS | Bruno | Main CFD Forum | 1 | January 30, 2007 01:34 |