|
[Sponsors] |
substitutes of "boxToCell" and its application |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 6, 2019, 08:40 |
substitutes of "boxToCell" and its application
|
#1 |
Member
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 6 |
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 ); --------------------------------------------------------- |
|
October 6, 2019, 09:10 |
wrong place
|
#2 |
Member
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 6 |
btw. I also re-posted this thread in the pre-processing block.
sorry for wrong place thanks |
|
October 7, 2019, 13:02 |
|
#3 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,706
Rep Power: 40 |
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 |
|
October 7, 2019, 21:22 |
thank you, olesen
|
#4 |
Member
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 6 |
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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|