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

Difference between C_U and F_U

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2017, 00:07
Unhappy Difference between C_U and F_U
  #1
New Member
 
HINTERLAND
Join Date: Aug 2017
Posts: 3
Rep Power: 9
hinterland1 is on a distinguished road
Hi everyone,

I'm currently setting a boundary condition for the shear stress on the walls, hence all faces i'm dealing with are interfaces.

My model is just a stationary 3-d cylindrical pipe with a velocity inlet and 0-pa outlet.

Why do I get different values for F_U and C_U? Aren't they supposed to be the fluid velocities of the same part/cell?

Code:
begin_f_loop(f,thread){
	v[0]=F_U(f, thread);
	v[1]=F_V(f, thread);
	v[2]=F_W(f, thread);
	cv[0]=C_U(F_C0(f,thread), THREAD_T0(thread));
	cv[1]=C_V(F_C0(f,thread), THREAD_T0(thread));
	cv[2]=C_W(F_C0(f,thread), THREAD_T0(thread));
}
hinterland1 is offline   Reply With Quote

Old   September 21, 2017, 04:39
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
F_X variables are those on the boundary, defined at the centroid of the cell's face residing on the boundary. C_X variables are defined in the cell centers. If they were equal you wouldn't get any stress at all.
sbaffini is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 16:07.