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

externalWallHeatFluxTemperature

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2012, 16:05
Default externalWallHeatFluxTemperature
  #1
Member
 
Nikunj Raithatha
Join Date: Jul 2012
Location: Washington DC
Posts: 47
Rep Power: 13
Nikunj.R is on a distinguished road
Hello!

Does anyone have any idea about how to implements externalWallHeatFluxTemperatureboundary condition. I know the format/ syntax from here: http://foam.sourceforge.net/docs/cpp/a08597_source.html . But i am unable to figure out, in which dictionary to put this boundary condition. I tried putting it in 0/T, but it doesnt work.

Please guide me how to proceed.

Thanks,
Nikunj.
Nikunj.R is offline   Reply With Quote

Old   December 19, 2013, 10:14
Default
  #2
New Member
 
ae-lab VUB
Join Date: Oct 2011
Posts: 17
Rep Power: 14
aevub is on a distinguished road
hi!
Did you manage to figure this out?
It seems to me that this BC should be in 0/T.

I was trying this for a buoyantBoussinesqSimpleFoam case, the hotroom example.
I tried applying th BC on the floor temp of the hotroom case (I eliminated the hot box and changed the floor temp to externalWallHeatFluxTemperature with only q (so no Ta and h, and no layers)
so in 0/T
floor
Code:
 {
            type            externalWallHeatFluxTemperature;
            kappa           fluidThermo;       // fluidThermo, solidThermo or
                                               // lookup
            q               uniform 1000;      // heat flux / [W/m2]
            Ta              uniform 300.0;     // ambient temperature /[K]
            h               uniform 10.0;      // heat transfer coeff /[W/K/m2]
            thicknessLayers (0.1 0.2 0.3 0.4); // thickness of layer [m]
            kappaLayers     (1 2 3 4)          // thermal conductivity of
                                               // layer [W/m/K]
            value           uniform 300.0;     // initial temperature / [K]
            kappaName       none;
        }
and now I get the following error:

Code:
tarting time loop

Time = 1

DILUPBiCG:  Solving for Ux, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG:  Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG:  Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0


--> FOAM FATAL ERROR: 

    lookup of turbulenceModel from objectRegistry region0 successful
    but it is not a turbulenceModel, it is a kEpsilon

    From function objectRegistry::lookupObject<Type>(const word&) const
    in file /home/mvdtempe/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 147.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::compressible::turbulenceModel const& Foam::objectRegistry::lookupObject<Foam::compressible::turbulenceModel>(Foam::word const&) const at ??:?
#3  Foam::temperatureCoupledBase::kappa(Foam::Field<double> const&) const at ??:?
#4  Foam::externalWallHeatFluxTemperatureFvPatchScalarField::updateCoeffs() at ??:?
#5  Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoeffs() at ??:?
#6  Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) at ??:?
#7  
 at ??:?
#8  
 at ??:?
#9  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#10  
 at ??:?
Aborted (core dumped)
Anybody an idea?
Or doens't this BC work for this solver?

Any examples available?

Thx in advance!
Maaike
aevub is offline   Reply With Quote

Old   August 26, 2021, 09:19
Default chtMultiRegionFoam
  #3
New Member
 
Su xin
Join Date: Nov 2020
Posts: 3
Rep Power: 5
Su xin is on a distinguished road
Hello!
Use solarload in chtmultiregionfoam and select sundritracking. Why does the temperature rise again until the sun sets completely?
Su xin 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



All times are GMT -4. The time now is 03:37.