|
[Sponsors] |
August 7, 2014, 15:28 |
Energy balance in chtMultiRegionSimpleFoam
|
#1 | ||
New Member
Steffen Kuckenburg
Join Date: Aug 2014
Posts: 5
Rep Power: 12 |
Hi FOAMers,
i try to simulate the heat transfer in a rectangle duct with different cooling structures but i have the problem that my energy balance in the system fails. As BC for the heating i use "compressible::turbulentHeatFluxTemperature" with a definded power and the other not couppled faces are adiabatic. But when i calculate the energy in the fluid (nearly like water) via Q_dot = m_dot*cp*(T_out-T_in) my solution ist always round about 50% too high. With a refinement of my boundary layers in the fluid mesh the solution looks a little bit better but i think my mesh is already very fine with a resolution of 0.5mm and a first cell high of about 0.05 in aspect to the resolution. The convergence of the simulation is also good and the solutions looks not wrong. As solversettings for the fluid i use the following: Quote:
Quote:
inlet, outlet, couppledwall U: flowRateInletVelocity, inletOutlet, fixedValue T: fixedValue, zeroGradient, compressible::turbulentTemperatureCoupledBaffleMix ed p_rgh: fixedFluxPressure, fixedValue, fixedFluxPressure If sb know this problem and could help me i would be very glad. Best regards Steffen |
|||
August 8, 2014, 06:52 |
|
#2 |
Member
Laurent Fitschy
Join Date: May 2011
Posts: 40
Rep Power: 15 |
Hi,
Energy balance can be checked using wallHeatFlux utility : Code:
wallHeatFlux -region <region> If thermal convergence is not reached, restart you computation until fluxes are balanced. Regards, Laurent. |
|
August 10, 2014, 12:59 |
|
#3 |
New Member
Steffen Kuckenburg
Join Date: Aug 2014
Posts: 5
Rep Power: 12 |
Hi Laurent,
thanks for your quick reply. You are right with the wallHeatFlux utilitiy and it works. But when I say thermal convergence is reached when the wallheatflux is equal in both regions my average temperature at the outlet is much too high -.- so I think i have still a mistake in my settings. Or is there a mistake in my chain of thoughts Best regards Steffen |
|
August 12, 2014, 04:31 |
|
#4 |
Member
Laurent Fitschy
Join Date: May 2011
Posts: 40
Rep Power: 15 |
Would you please post your T file ?
|
|
August 12, 2014, 05:45 |
|
#5 |
New Member
Steffen Kuckenburg
Join Date: Aug 2014
Posts: 5
Rep Power: 12 |
Fluid:
Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 363.15; boundaryField { inlet { type fixedValue; value $internalField; } outlet { type zeroGradient; } wasser_zu_alu //coupled { type compressible::turbulentTemperatureCoupledBaffleMixed; value $internalField; Tnbr T; kappa fluidThermo; kappaName none; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 363.15; boundaryField { heizung //heater { type compressible::turbulentHeatFluxTemperature; heatSource power; // power [W]; flux [W/m2] q uniform 500; // heat power or flux kappa solidThermo; // calculate kappa=alphaEff*thermo.Cp kappaName none; Qr none; // name of the radiative flux value $internalField; // initial temperature value } adiabat //adiabatic { type zeroGradient; } alu_zu_wasser //coupled { type compressible::turbulentTemperatureCoupledBaffleMixed; value $internalField; Tnbr T; kappa solidThermo; kappaName none; } } // ************************************************************************* // |
|
August 12, 2014, 06:52 |
|
#6 |
Member
Laurent Fitschy
Join Date: May 2011
Posts: 40
Rep Power: 15 |
I'm not sure you are allowed to use "compressible::turbulentHeatFluxTemperature" on a solid boundary.
Would you please post the output of "wallHeatFlux -region solid" to check if this bc fixes correctly the heatFlux ? |
|
August 12, 2014, 08:33 |
|
#7 |
New Member
Steffen Kuckenburg
Join Date: Aug 2014
Posts: 5
Rep Power: 12 |
Yes this BC works fine if I want a heatflux of 500 I get via wallHeatFlux +500 on the heater -500 from the solid to the fluid (in solid region) and +500 from the solid to the fluid (in fluid region).
|
|
August 12, 2014, 08:55 |
|
#8 |
Member
Laurent Fitschy
Join Date: May 2011
Posts: 40
Rep Power: 15 |
Good !
So energy is conserved and you results are correct ;-) |
|
August 12, 2014, 11:37 |
|
#9 |
New Member
Steffen Kuckenburg
Join Date: Aug 2014
Posts: 5
Rep Power: 12 |
yes this might be right and thanks for your support. but it doesn't solve my problem with the too high temperature at the outlet
|
|
January 26, 2016, 09:23 |
|
#10 |
Member
Join Date: May 2015
Posts: 68
Rep Power: 11 |
Did you solved that issue?
|
|
Tags |
chtmultiregionsimplefoam, energy balance |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Natural convection, problems with total energy balance | MdoNascimento | STAR-CCM+ | 0 | March 13, 2014 13:15 |
volumetric reaction and energy balance? | m.beh | FLUENT | 1 | October 17, 2011 18:21 |
Energy balance error with high prandtl numbers. | David_010 | OpenFOAM Running, Solving & CFD | 0 | January 20, 2011 06:21 |
Energy Balance | Harshad | CFX | 0 | March 5, 2008 07:36 |
HELP needed: Energy balance in gaseous combustion | James Willie | FLUENT | 11 | August 10, 2005 05:58 |