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

externalWallHeatFluxTemperature

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 4
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, 11:14
Default
  #2
New Member
 
ae-lab VUB
Join Date: Oct 2011
Posts: 17
Rep Power: 5
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

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:36.