Correct p_rgh boundary conditions to include buoyancy
3 Attachment(s)
I've not been able to include the effects of buoyancy in my 2D simulations of a counterflow flame. I'm using the EBI-DNS solver, which is based on the rhoReactingBuoyantFoam solver in OpenFOAM v1712. Simulations all run as expected, except that I can't produce any buoyancy effects, even in conditions where these should be evident and with exaggerated gravitational force.
I'm using a wedge domain as shown below, and have tried several boundary conditions for the 3 flow boundaries (air inlet, fuel inlet, and outlet). Currently they are waveTransmissive for the 0/p_rgh (as below), and calculated for 0/p. I am trying it with and without buoyancy by modifying the gravitational force defined in the file /constant/g. Are these boundary conditions appropriate, or is there something else that could be wrong? (See the attached p and p_rgh files.) Thanks for any suggestions, Daniel Code:
dimensions [1 -1 -2 0 0 0 0]; |
1 Attachment(s)
I'm still working on this, and would be grateful for any suggestions. I saw the recent helpful reply by Yann in this post. Based discussions here and other example code, I'm using:
The code runs fine with a waveTransmissive BC for the outlet. But for all these solutions, both the resulting p and p_rgh fields are uniform accross the domain. For the low velocity flows and exaggerated graviational force I'm using, I should see an upward shift in the flame position, but results are still identical regardless of the applied gravitational field. The attached plot shows the flame position with the temperature color plot, and a flow vector overlay. It seems like a zeroGradient BC would be appropriate for the vertical outlet, to allow pressure to vary hydrostatically along the boundary. However, I run into numerical issues when trying this (and waveTransmissive or fixedFluxPressure for the inlets). And, as expected, I also can't get a solution when I try fix the pressure at an inlet with prghPressure. Any suggestions for inlet p_rgh boundary conditions that would allow me to use the zeroGradient outlet BC? Or is there another BC that would allow for hydrostatic pressure variation along this vertical outlet boundary? https://drive.google.com/file/d/1bac...ZV0lmD0RX/view |
All times are GMT -4. The time now is 19:48. |