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

what variable F_C1 returns if c1 is undefined?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2019, 19:37
Default what variable F_C1 returns if c1 is undefined?
  #1
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
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
Weiqiang Liu is offline   Reply With Quote

Reply

Tags
f_c1, udf, undefined

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
LEMOS InflowGenerator r_gordon OpenFOAM Running, Solving & CFD 103 December 18, 2018 00:58
-Xlinker --add-needed -Xlinker --no-as-needed NH1994 OpenFOAM Programming & Development 7 December 31, 2014 10:24
LiencubiclowRemodel nzy102 OpenFOAM Bugs 14 January 10, 2012 08:53
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 00:34


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