|
[Sponsors] |
Correct p_rgh boundary conditions to include buoyancy |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 8, 2023, 18:47 |
Correct p_rgh boundary conditions to include buoyancy
|
#1 |
New Member
Daniel Thomas
Join Date: Mar 2020
Posts: 10
Rep Power: 6 |
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]; internalField uniform 101325; boundaryField { fuel { type waveTransmissive; psi thermo:psi; gamma 1.3; // Ratio of specific heats fieldInf 101325; // The far-field value to be applied to p lInf 0.1; // A measure of how far away the far-field condition should be value $internalField; } |
|
May 24, 2023, 16:01 |
|
#2 |
New Member
Daniel Thomas
Join Date: Mar 2020
Posts: 10
Rep Power: 6 |
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? |
|
Tags |
boundary conditions, bouyancy, p_rgh, rhoreactingbuoyantfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 06:15 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |