CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Channel flow with heat flux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2014, 13:58
Smile Channel flow with heat flux
  #1
New Member
 
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12
Cara Gao is on a distinguished road
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
Cara Gao is offline   Reply With Quote

Old   September 5, 2014, 10:17
Default
  #2
Member
 
Laurent Fitschy
Join Date: May 2011
Posts: 40
Rep Power: 15
GDTech is on a distinguished road
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; 
}
Best regards,
Laurent.
GDTech is offline   Reply With Quote

Old   September 8, 2014, 16:08
Default
  #3
New Member
 
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12
Cara Gao is on a distinguished road
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
Cara Gao is offline   Reply With Quote

Old   September 28, 2014, 09:11
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
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.
jherb is offline   Reply With Quote

Old   September 28, 2014, 19:52
Default
  #5
New Member
 
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12
Cara Gao is on a distinguished road
Hi, Joachim,
Indeed, you are right. The boundary condition is not right.

Thanks,
Cara
Cara Gao is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 16:06.