Natural convection on a vertical cylinder
2 Attachment(s)
Hi!
I am new to OpenFoam. I am trying to simulate internal natural convection on a vertical cylinder, but I have a problem with the result. I am working with the buoyantBoussinesqPimpleFoam solver (transient case). A time large (approx 30 min) quasi-steady, I get a full stratified fluid full but streamlines aren't expected (toroidal shape). I also compared the vertical velocity with radius, with a paper by Hess and Miller, did not come up to expectations. :confused: I think my problem is in the Dict of fvSolution and fvSchemes. I am working in the laminar regime Ra=10¹⁰. BC:
Attached are the Dict and images of the T-profile and the streamlines. Thanks for your help and sorry for my English. blockMeshDict: Code:
FoamFile ControlDict: Code:
FoamFile fvSchemes: Code:
ddtSchemes fvSolution: Code:
solvers |
Hello. May be the thing is of boundary condition. In the picture one can see thin red lines along the sides of the cylinder.
This means that there is no thermal conduction between solid and fluid. Please double check. In case of the correct regime there must be the smooth temperature transition. |
Roman
thanks for the help. Regarding the border conditions: T: On the sidewall I imposed a fixed T, it seemed the right thing to do. U: on all walls noSlip alphat, nut, k and epsilon: I didn't modify them, is that my mistake? alphat: Code:
Code:
dimensions [0 2 -2 0 0 0 0]; nut: Code:
dimensions [0 2 -1 0 0 0 0]; Code:
internalField uniform 0.01; |
Mostly I use the solver fireFoam but environment dynamics is similar. Important BC is pressure, try different BC beginning from the simpliest ones (fixedFluxPressure for ex, but it changes from the solver to solver). Try running without wall functions. This permits you to start the process as it is. After that you can make computing more sharp with adding wall functions. Try U: slip, too.
|
Useful BC for T is wallHeatTransfer
|
Roman1
Changues the BC of T Code:
sides Code:
sides Code:
--> FOAM FATAL ERROR: (openfoam-2012) |
{
type wallHeatTransfer; Tinf uniform 500; alphaWall uniform 1; } I could try running your case on OpenFoam 7 or 9, but it can take 2-3 days. Generally, the fixing is to run with different combinations of the parameters. |
adjustTimeStep no; Try yes
|
I run a simlar case, for me a combination of natural convection and external flow. This arises much more strange "effects". I ended with the schemes:
Code:
ddtSchemes { default Euler;} Code:
simulationType RAS; |
buoyantBoussinesqPimpleFoam: Transient solver for buoyant, turbulent flow of incompressible fluids
Is it correct using incompressible solver for natural convection? May be use another one? |
Yes, I used buoyantBoussinesqPimpleFoam for free convection.
|
Yes, I read that it is the right solver.
I still can't solve my problem. Thanks for your suggestions |
May be your downstream area is too small. The BC at the exit acts a a large distance.
|
This is the OF case with your geometry (link). The case made on the base of the tutorial of OpenFoam ver. 9. All seems work OK.
https://transfiles.ru/svtdo |
We have the situation here, that the case works as intended by the tutorial. But the result does not fulfil the theory.
I worked with that solver (buoyantBoussinesqPimpleFoam) too and found it has problems with free stream simulation. In my case I tried coupling buoyant with additional forced streaming. I was not succesfu with that coupling and had to separate the effects. I recommend: 1) analyse the buoyant stream. The thickness of boundary layer should increase with the sqare root of the length. And the total heat transfer should be in the near where the Nußelt number calculates it. If taht is the case, all is ok with your boundary conditions. 2) simulate the stream in the upper part of the cylinder spearately. The last upper part of the cylinder soes no change the boundary stream much. You may identify the velocity in the region of 2/3 to 3/4 of the total height of the cylinder. Take that and set it as boundary condition for another case. Simulate this one without buoyancy, and with an ordninary solver like pimpleFoam. 3) If that wokrs and gives the expected result you may try to combine both effects, buoyancy and free stream in one simulation. As said, I was not lucky with that. You should experiment with solvers especially for U and p. If you change anything look first, if the buoyancy effect is still correct (square root and Nußelt condition). Look what works better and what does not. I am very intersted to hear if you come closer to a one step simulation. |
All times are GMT -4. The time now is 14:38. |