CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

substitutes of "boxToCell" and its application

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2019, 08:40
Default substitutes of "boxToCell" and its application
  #1
Member
 
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 6
philiplu is on a distinguished road
Hello,
when geometry is complex, what are the substitutes of "boxToCell"?
regionToCell, zoneToCell, shapeToCell?
could someone give 3 simple examples of how to use the above 3 as follows as with "setFields"?


thank you in advance





an application example of "boxToCell" in OF-tutorials:
---------------------------------------------------------
boxToCell
{
box (0 0 0) (40.0 1.0 0.4046);
fieldValues
(
volScalarFieldValue alpha.water 1
);

---------------------------------------------------------
philiplu is offline   Reply With Quote

Old   October 6, 2019, 09:10
Default wrong place
  #2
Member
 
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 6
philiplu is on a distinguished road
btw. I also re-posted this thread in the pre-processing block.

sorry for wrong place



thanks
philiplu is offline   Reply With Quote

Old   October 7, 2019, 13:02
Default
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,689
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
With searchableSurfaceToCell, you could specify an arbitrary enclosing surface "blob" (eg, an stl) and select based on that. In fact, since it is backed with a searchable surface, you could even specify using a searchable surface that is a box and it would be the same as boxToCell. You probably don't want to do that, but may be nice to know



https://www.openfoam.com/documentati...aceToCell.html


Related: arbitrary surfaces for constraining domain decomposition:
tutorials/preProcessing/decompositionConstraints/geometric/system/decomposeConstraints
olesen is offline   Reply With Quote

Old   October 7, 2019, 21:22
Default thank you, olesen
  #4
Member
 
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 6
philiplu is on a distinguished road
thank you, olesen for the reply.

I gonna have a look in detail to see if i still get question.


in between

thanks and regards
philiplu 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 04:30.