|
[Sponsors] |
April 14, 2022, 02:34 |
Energy won't leave the domain
|
#1 |
New Member
Kristian
Join Date: Jan 2022
Posts: 6
Rep Power: 4 |
Hi again. My model is almost there, but it wont converge due to the energy isn't leaving the domain.
I am solving a natural convection problem, with a heat source of 2000W/m2 with a buoyantPimpleFoam solver with a k-epsilon model. I am using upwind scheme for faster convergence. Boundary conditions: T: boundaryField { inlet-basement-duct { type fixedValue; value uniform 288; } inlet-above-floor-duct { type fixedValue; value uniform 288; } inlet-basement-tap { type fixedValue; value uniform 288; } inlet-above-floor-tap { type fixedValue; value uniform 288; } outlet { type zeroGradient; // type inletOutlet; // inletValue uniform 312; // value $internalField; } wall-ground { type zeroGradient; } wall-basement { type zeroGradient; } wall-pot-room-walls { type zeroGradient; } wall-pot-room-roof { type zeroGradient; } wall-monitor { type zeroGradient; } wall-floor { type zeroGradient; } wall-pot-abovefloor { type externalWallHeatFluxTemperature; mode flux; q uniform 3000; //Heat flux [W/m2] kappaMethod fluidThermo; value $internalField; //pot_room temp [K] } wall-pot-belowfloor { type externalWallHeatFluxTemperature; mode flux; q uniform 1000; //Heat flux [W/m2] kappaMethod fluidThermo; value $internalField; //pot_room temp [K] } wall-pot-bottom { type externalWallHeatFluxTemperature; mode flux; q uniform 1000; //Heat flux [W/m2] kappaMethod fluidThermo; value $internalField; //pot_room temp [K] } frontAndBackPlanes { type empty; } } U: boundaryField { inlet-basement-duct { type outletInlet; phi phi; outletValue uniform (0.8 0 0); value uniform (0.8 0 0); // type zeroGradient; //type freestreamVelocity; //freestreamValue $internalField; // type noSlip; // type fixedValue; // value uniform (1 0 0); } inlet-basement-tap { type outletInlet; phi phi; outletValue uniform (-0.8 0 0); value uniform (-0.8 0 0); // type zeroGradient; //type freestreamVelocity; //freestreamValue $internalField; // type noSlip; // type fixedValue; //value uniform (-1 0 0); } inlet-above-floor-duct { type outletInlet; phi phi; outletValue uniform (0.8 0 0); value uniform (0.8 0 0); // type zeroGradient; //type freestreamVelocity; //freestreamValue $internalField; // type noSlip; // type fixedValue; // value uniform (1 0 0); } inlet-above-floor-tap { type outletInlet; phi phi; outletValue uniform (-0.8 0 0); value uniform (-0.8 0 0); // type zeroGradient; //type freestreamVelocity; //freestreamValue $internalField; // type noSlip; // type fixedValue; //value uniform (-1 0 0); } outlet { // type zeroGradient; type inletOutlet; inletValue uniform (0 0 0); value $internalField; // type pressureInletOutletVelocity; //value uniform (0 0 0); } wall-ground { type noSlip; } wall-basement { type noSlip; } wall-pot-room-walls { type noSlip; } wall-pot-room-roof { type noSlip; } wall-monitor { type noSlip; } wall-floor { type noSlip; } wall-pot-abovefloor { type noSlip; } wall-pot-belowfloor { type noSlip; } wall-pot-bottom { type noSlip; } frontAndBackPlanes { type empty; } } P_rgh { inlet-basement-duct { type fixedFluxPressure; gradient uniform 0; value $internalField; } inlet-above-floor-duct { type fixedFluxPressure; gradient uniform 0; value $internalField; } inlet-basement-tap { type fixedFluxPressure; gradient uniform 0; value $internalField; } inlet-above-floor-tap { type fixedFluxPressure; gradient uniform 0; value $internalField; } outlet { type prghTotalPressure; p0 $internalField; } wall-ground { type fixedFluxPressure; gradient uniform 0; value $internalField; } wall-basement { type fixedFluxPressure; gradient uniform 0; value $internalField; } wall-pot-room-walls { type fixedFluxPressure; gradient uniform 0; value $internalField; } wall-pot-room-roof { type fixedFluxPressure; gradient uniform 0; value $internalField; } wall-monitor { type fixedFluxPressure; gradient uniform 0; value $internalField; } wall-floor { type fixedFluxPressure; gradient uniform 0; value $internalField; } wall-pot-abovefloor { type fixedFluxPressure; gradient uniform 0; value $internalField; } wall-pot-belowfloor { type fixedFluxPressure; gradient uniform 0; value $internalField; } wall-pot-bottom { type fixedFluxPressure; gradient uniform 0; value $internalField; } frontAndBackPlanes { type empty; } For P, all variables are set to calculated. inlets for epsilon and k are fixed value = 0.01, while outlets boundaries are set to: inletoutlet For nut and alphat, inlets and outlets are set to calculated. thanks ahead for the help |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
Can I achieve better convergence? | sheaker | CFX | 12 | September 19, 2019 15:36 |
Domain size influence in unbounded domains model | Reoyo | Main CFD Forum | 10 | May 4, 2018 08:30 |
Particles leave my domain (Discrete Particle Model) | diffo | FLUENT | 0 | March 19, 2009 11:23 |
Don't know where energy lost from my domain | Atit Koonsrisuk | CFX | 2 | March 29, 2005 06:30 |