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

F_C1 return for boundary cell

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2018, 09:52
Default F_C1 return for boundary cell
  #1
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
Hi all,

Quick (and hopefully simple) question - what is the return value of F_C1(f,t) for boundary cells, i.e. where C1 does not exist?

Also, how are cells on interfaces treated in this - there technically is a cell on the other side, but it does not share the same face (and may be non-conformal).
CeesH is offline   Reply With Quote

Old   June 18, 2018, 11:11
Default
  #2
Senior Member
 
Join Date: Sep 2017
Posts: 246
Rep Power: 12
obscureed is on a distinguished road
Hi CeesH,

Yes, I can answer the simple question: if(F_C1_THREAD==NULL){ ... } will test whether C1 does not exist.

As far as I'm concerned, interfaces in UDFs are not a simple question, not at all. (Well, most UDFs are fine. But the small subset of UDFs where you want to look up connections -- horrors.) Adaption is also a minefield.

Good luck!
Ed
obscureed is offline   Reply With Quote

Old   June 18, 2018, 12:15
Default
  #3
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
Thanks! Might be in for some fun then; the eventual UDF has to compute fluxes between cell clusters, which may or may not cross multiple cell zones. But ah well, I guess we don't get paid just to do easy stuff...

Cheers!
CeesH is offline   Reply With Quote

Old   June 18, 2018, 12:39
Default
  #4
Senior Member
 
Join Date: Sep 2017
Posts: 246
Rep Power: 12
obscureed is on a distinguished road
Crossing cell zones: not too bad.

Interfaces: you might find that interface cells have no F_C1 -- so, the interface is handled differently. In that case, interfaces might not be too bad, so long as your clusters do not need to cross interfaces. But if it's more complicated than that, or if people are dead-set on clusters crossing interfaces: this is bad enough to go back and question the scope. Multiply the budget by a factor between 10 and infinity. At least propose Phase 1 to get it working with interfaces and adaption specifically ruled out, and then Phase 2 to include them. You might reach retirement before Phase 2 is completed.

Another (maybe obvious) bit of advice: plan from the start how this will work in parallel, unless parallel is ruled out permanently.

Good luck!
Ed
obscureed 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubt about parallel processing vishwesh OpenFOAM Programming & Development 0 November 10, 2017 07:20
Partition: cell count = 0 metmet FLUENT 1 August 31, 2014 20:41
Journal file error magicalmarshmallow FLUENT 3 April 4, 2014 13:25
monitoring cell Jane Siemens 2 March 4, 2004 22:01
cell to cell relation CMB Siemens 1 December 4, 2003 05:05


All times are GMT -4. The time now is 17:22.