|June 16, 2014, 18:11||
Join Date: Jun 2014
Posts: 28Rep Power: 4
I am new to openFoam and C++ .I want to use codedFixedValue for a wall with convection boundary condition. for this boundary i have used energy balance and with convection BC i have found following equation.
In this equation Ts is the temperature of the boundary and Ta is the ambient temperature and Ti is the internal adjacent cell temperature(internal adjacent cell which is next to the boundary) and c1 and c2 are constant.
now i do not know how i can find Ti and how i should define it here in codedFixedValue . and i should know normal distance between internal adjacent cell center and the boundary, how should i do this?
|September 8, 2015, 07:41||
Join Date: Jan 2015
Posts: 18Rep Power: 3
I found these replies may provide a solution for the problem that I am struggling with, but I need your help as I am inexperienced in C++.
The non uniform inlet boundary condition for my problem could not be expressed in a mathmatical fomula, but only listed in a excel table that provides the coordinates and the corresponding velocity components. It is something like below:
x y z ux uy uz
1 0 0 0.1 0.6 0.8
2.5 0.1 0 0.1 0.5 2
3 0.2 0 0.2 0.7 2.8
The first three components tells location (z component is 0 for this surface) and the remaining three components are the velocity components.
I do not know how to apply the data to the inlet boundary condition. Any help would be greatly appreciated.
|October 5, 2015, 03:31||
Join Date: Jun 2014
Posts: 36Rep Power: 4
Why can't we use timeVaryingMappedFixedValue here? Although I am not too sure what does interpolation in time mean here.
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to set uniform heating boundary condition?||Sargam05||OpenFOAM||0||September 11, 2012 10:09|
|Need help with boundary conditions: open to atmosphere||Wolle||OpenFOAM||2||April 11, 2011 07:32|
|Pressure instability with rhoSimpleFoam||daniel_mills||OpenFOAM Running, Solving & CFD||44||February 17, 2011 18:08|
|Boundary condition setting for non-premixed combustion using reactingFoam||skyopener||OpenFOAM||0||May 23, 2010 22:55|
|A problem about setting boundary conditions||lyang||Main CFD Forum||0||September 19, 1999 18:29|