CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   the role of "createBaffle(Dict)" (https://www.cfd-online.com/Forums/openfoam/241210-role-createbaffle-dict.html)

wjchoi February 14, 2022 06:38

the role of "createBaffle(Dict)"
 
hello, i'm beginner of openfoam !

when i studied the example related "createBaffle", i had some questions

as far as i know, the role of createBaffle is that it allows internal field to be applied with boundary condition. thus, the createBaffle transforms internal field to boundary field to apply the specific boundary conditions.

so first, to apply the createBaffle, i made cellset(or faceset) and combined that to make cellzone(of facezone).

second, using "zone" it is created in "topoSet", i apply some special boundary condition the "zone" in "createBaffleDicts".

in this situation, i had a question,

although we set the boundary condition of "zone" in "createBaffleDicts", why does the boundary condition of "zone" also exist in '0' folder??

Because we already set the boundary condition of zone in "createBaffleDicts", i think that there is no need to set the boundary condition additionally of zone in the "0" folder, right?

however all the case that i studied (damBreakPorousBaffle, TJunctionFan etc... ), there are boundary condition both 0 folder and createBaffleDicts of "zone"

is there anyone to tell me about the reason why we have to set the boundary condition of zone in "0" folder although we already set the boundary condition in createBaffleDicts??

and assuming that there are boundary conditions of zone in both "0" folder and "createBaffleDicts" respectively, and those boundary conditions are different each other, in this situation which boundary condition is applied?? boundary condition in "0" folder? or boundary condition in "createBaffleDicts"??


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