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

begin_c_loop vs begin_c_loop_all

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By vinerm
  • 1 Post By vinerm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2020, 12:32
Default begin_c_loop vs begin_c_loop_all
  #1
Member
 
vav noon
Join Date: May 2020
Posts: 49
Rep Power: 5
vavnoon is on a distinguished road
Dear friends,

Could anyone please tell me about the difference between begin_c_loop and begin_c_loop_all for looping over all cells?

Thank you so much
vavnoon is offline   Reply With Quote

Old   June 15, 2020, 15:43
Default Loops
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
In most cases, these are equivalent. The differences arise based on the models being used, such as, with overset mesh or multiphase. Refer mem.h for more details.
vavnoon likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 16, 2020, 05:30
Default
  #3
Member
 
vav noon
Join Date: May 2020
Posts: 49
Rep Power: 5
vavnoon is on a distinguished road
Dear Vinerm,

Many thanks for your valuable comment.

I have studied FLUENT 6.3 UDF Manual. I only found three or four examples including begin_c_loop_all without further explanation.
I searched for the header you suggested, but without success.

Could you please help me in this regard?

Thank you
vavnoon is offline   Reply With Quote

Old   June 16, 2020, 05:59
Default mem.h
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
Go to

Fluent.Inc/fluent6.3.26/src/mem.h
vavnoon likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm 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 17:04.