CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Must use topoSet when using createBafflesDict? (https://www.cfd-online.com/Forums/openfoam-solving/194468-must-use-toposet-when-using-createbafflesdict.html)

xuankushuocai October 16, 2017 12:59

Must use topoSet when using createBafflesDict?
 
Hi everyone,

Now I'm using createBaffles. I notice that there are two ways of defining the zone: one is to use the facezone created by topoSet, another is to use searchable plate and define it by yourself directly in createBafflesDict: (the following code is from default createBafflesDict)

cyclicFaces
{
//- Select faces and orientation through a searchableSurface
type searchableSurface;
surface searchablePlate;

origin (0.099 -0.006 0.004);
span (0 0.012 0.012);

I want to know that if I use the second way, do I need to use topoSet? Is there any difference between them? Besides, how to choose origin? For example, I want to choose one surface normal to y direction. The y coordinate of the cell is from -0.01 to 0.01, so the y direction of origin should between -0.01 and 0.01? Thanks.


All times are GMT -4. The time now is 14:52.