CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   directionMixed BC (https://www.cfd-online.com/Forums/openfoam-programming-development/139626-directionmixed-bc.html)

nimasam July 28, 2014 08:29

directionMixed BC
 
Hello Dear foamers

In my problem, BC for velocity component (u,v,w) is:

du/dz=A*dT/dx,
dv/dz=A*dT/dy,
w=0

any hint please, to write above BC :)


1- is it possible to write such BC with groovyBC?
2- my search, shows the closet BC for my condition is directionMixed, but i have no idea how to change it to be compatible with my new conditions

cheng1988sjtu October 8, 2014 15:07

Try groovyBCDirection
 
Did you try to use groovcBCDirection instead?

I also want to do something like this, and I found that groovcBCDirection can do what you want. you may find this link useful:

https://github.com/wyldckat/swak4foa...edBendPipe/0/U


All times are GMT -4. The time now is 00:32.