|
[Sponsors] |
September 4, 2014, 13:58 |
Channel flow with heat flux
|
#1 |
New Member
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12 |
Hi, openformers,
I am working on a case about channel turbulent flow with fixed heat flux into it, but I didn't find any similar case in the tutorial. I want to set the heat flux directly instead of setting a temperature gradient. Anyone have any suggestion?? An example case will be very helpful! Thanks, Best, Fei |
|
September 5, 2014, 10:17 |
|
#2 |
Member
Laurent Fitschy
Join Date: May 2011
Posts: 40
Rep Power: 15 |
Hi,
I think this boundary condition should do the job : turbulentHeatFluxTemperature Code:
myPatch { type turbulentHeatFluxTemperature; heatSource flux; // flux [W/m2] or power [W] q uniform 10; // [W/m2] or [W] alphaEff alphaEff; value uniform 300; } Laurent. |
|
September 8, 2014, 16:08 |
|
#3 |
New Member
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12 |
Thanks, Laurent. I also found one quite similar to the one you suggested.
type compressible::turbulentHeatFluxTemperature; heatSource flux; // power [W]; flux [W/m2] q uniform 2000; // heat power or flux kappaName kappa; kappa fluidThermo; I tried to use this boundary condition in the T file in a tutorial case called buoyantCavity. And I change the closed system to a open system with an inlet and outlet. However, I got the error message, #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const at ??:? #4 Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMa trix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:? #5 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:? #6 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:? #7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:? #8 at ??:? #9 at ??:? #10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #11 at ??:? Floating point exception (core dumped) It looks like meaningless to me. Is there any former who knows how to solve for such error message? Best, Cara |
|
September 28, 2014, 09:11 |
|
#4 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
This error message means that there was a floating point exception (division by 0?) in the GAMG solver. You did not post the full log file so it is not clear which equation failed? p? So very likely you boundary conditions are set up wrong.
|
|
September 28, 2014, 19:52 |
|
#5 |
New Member
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12 |
Hi, Joachim,
Indeed, you are right. The boundary condition is not right. Thanks, Cara |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conjugate Heat Transfer: Wall Heat Flux at Coupled Walls? | MaxHeat | FLUENT | 4 | September 14, 2017 11:44 |
Sign of Heat Flux at wall | Kyung | FLUENT | 2 | February 26, 2016 17:25 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
Heat Flux at Internal walls or Fluid Solid Interface | Mahi | CFX | 3 | October 1, 2012 03:18 |
Concentric tube heat exchanger (Air-Water) | Young | CFX | 5 | October 7, 2008 00:17 |