CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

how to exit begin_c_loop mannually

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

LinkBack Thread Tools Display Modes
Old   May 18, 2013, 00:27
Default how to exit begin_c_loop mannually
New Member
Leon Chen
Join Date: Aug 2012
Location: ShenZhen, China
Posts: 9
Rep Power: 7
759599290 is on a distinguished road
hi everyone, here is my question: I want to assign an udm on some specified cells, so I think I should use begin_c_loop. but the number of the cells in my case is so large ant only one of them should be assigned with udm. I wonde if there are any ways to realize such a function: when i get the udm assigned, the loop ends automatically.

if(x[0]>5.0 && x[0]<5.1)
what code should i write here to end this whole loop?

Thanks a lot for any help.
759599290 is offline   Reply With Quote


exit loop

Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
back pressure at exit for supersonic flow BigFrank FLUENT 6 April 24, 2014 15:13
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
[swak4Foam] Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Community Contributions 22 January 21, 2013 12:51
duct modeling with exit closed (v=0) geetha sri FLUENT 0 July 11, 2012 09:49
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30

All times are GMT -4. The time now is 18:31.