CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-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:59
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 7, 2019, 12:03
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
Check out the annotated topoSetDict : https://github.com/OpenFOAM/OpenFOAM...ed/topoSetDict. surfaceToCell might help.

Caelan
clapointe is offline   Reply With Quote

Old   October 7, 2019, 21:20
Default thank you, clapointe
  #3
Member
 
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 6
philiplu is on a distinguished road
thank you, clapointe 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 12:29.