CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   BC wallHeatTransfer ERROR (https://www.cfd-online.com/Forums/openfoam/103514-bc-wallheattransfer-error.html)

Tobi June 19, 2012 17:23

BC wallHeatTransfer ERROR
 
Hi all,

i have a problem with a BC. I wanna use the "wallHeatTransfer" BC for my case. After setting it up i get the following error. Well I do not know why that BC is not working. OF2.1.x with Ubuntu - system is new.

Code:

Reading g
Reading thermophysical properties

Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>


--> FOAM FATAL ERROR:
Not implemented

    From function basicThermo::Cp(const scalarField& T, const label patchi) const
    in file basicThermo/basicThermo.C at line 413.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::error::abort() in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2  Foam::basicThermo::Cp(Foam::Field<double> const&, int) const in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#3  Foam::wallHeatTransferFvPatchScalarField::updateCoeffs() in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#4  Foam::mixedFvPatchField<double>::evaluate(Foam::UPstream::commsTypes) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#5  Foam::wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#6  Foam::fvPatchField<double>::adddictionaryConstructorToTable<Foam::wallHeatTransferFvPatchScalarField>::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#7  Foam::fvPatchField<double>::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/buoyantSimpleFoam"
#8  Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::GeometricBoundaryField(Foam::fvBoundaryMesh const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/buoyantSimpleFoam"
#9  Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readField(Foam::dictionary const&) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/buoyantSimpleFoam"
#10  Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readField(Foam::Istream&) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/buoyantSimpleFoam"
#11  at basicThermo.C:0
#12  Foam::basicThermo::basicThermo(Foam::fvMesh const&) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#13  Foam::basicPsiThermo::basicPsiThermo(Foam::fvMesh const&) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#14  Foam::hPsiThermo<Foam::pureMixture<Foam::constTransport<Foam::specieThermo<Foam::hConstThermo<Foam::perfectGas> > > > >::hPsiThermo(Foam::fvMesh const&) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#15  Foam::basicPsiThermo::addfvMeshConstructorToTable<Foam::hPsiThermo<Foam::pureMixture<Foam::constTransport<Foam::specieThermo<Foam::hConstThermo<Foam::perfectGas> > > > > >::New(Foam::fvMesh const&) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#16  Foam::basicPsiThermo::New(Foam::fvMesh const&) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#17 
 in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/buoyantSimpleFoam"
#18  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#19 
 in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/buoyantSimpleFoam"
Abgebrochen (Speicherabzug geschrieben)

I just changed the BC in the /heatTransfer/buoyantSimpleFoam/hotRoom in the T file:

Well the "not Implemented" said that that function can not be used with that thermodynamic model?

Code:

    fixedWalls
    {
        type            wallHeatTransfer;
        Tinf            uniform 289;
        alphaWall      uniform 2;

    }

Do someone know that "bug" error.
I would be very glad for any suggestions.

Regard
Tobi

Tobi June 20, 2012 03:20

Solved. The right BC is:

Code:


type        wallHeatTransfer;
Tinf        uniform 284;
alphaWall  uniform 23;
value        uniform 283;




Tobi

tomloh July 13, 2012 17:30

Hi Tobi,

I have recently come across the same/similar error that you had a month ago. Would you be able to offer me some guidance in solving it? My error message is shown below:
--> FOAM FATAL ERROR:
Not implemented

From function basicThermo::h()
in file basicThermo/basicThermo.C at line 260.

FOAM aborting
I think the situation I am trying to simulate may also share some similarities with yours (if you're still working on it). I am attempting to model the heat transfer over an infinitely thin nozzle wall of a jet exhaust using rhoSimpleBaffleFoam.

Any help you can offer will be greatly appreciated.

Kind Regards,
Thomas Loh

Tobi July 14, 2012 07:52

Quote:

Originally Posted by tomloh (Post 371373)
Hi Tobi,
Would you be able to offer me some guidance in solving it?
Thomas Loh

Hi Thomas,

my error message was generated of a wrong use of the BC :)
In my post bolow I told my error. It was the missing "value uniform x".

Hmm you can left your type field free like

Code:

type        ;
value    uniform 23;

to see what BC you can use. But I think you should be able to use that BC ...


Tobi

sahmadian January 26, 2013 19:26

Hi All,
I am trying to implement the same boundary condition (wallHeatTransfer) but no success! The error is:

--> FOAM FATAL ERROR:

gradientInternalCoeffs cannot be called for a genericFvPatchField (actual type wallHeatTransfer)
on patch wall of field T in file "/home/ccmii/Dropbox/Modelling_FOAM/freezeFoam_tut9/0/T"
You are probably trying to solve for a field with a generic boundary condition.

From function genericFvPatchField<Type>::gradientInternalCoeffs( ) const
in file fields/fvPatchFields/basic/generic/genericFvPatchField.C at line 782.

FOAM exiting

Thanks
SA

remir May 8, 2015 05:49

Quote:

Originally Posted by Tobi (Post 367331)

fixedWalls
{
type wallHeatTransfer;
Tinf uniform 289;
alphaWall uniform 2;

}

Hello, I am also using this boundary condition and would like to know the unit of alphaWall. Do you happen to know it? I was thinking mē/s.

Best,

Remi

Bob! March 6, 2017 15:54

The unit is W/(m^2)

mixkats February 21, 2018 13:55

i am trying wallHeatTransfer at the fluidisedBed tutorial of the twoPhaseEulerFoam.
i am getting the below error without knowing why (my syntax must be correct):

Code:

--> FOAM FATAL ERROR:

    lookup of turbulenceProperties.particles from objectRegistry region0 successful
    but it is not a compressibleTurbulenceModel, it is a kineticTheoryets
surfaces
)



    From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::ThermalDiffusivity<Foam::CompressibleTurbulenceModel<Foam::fluidThermo> >]
    in file /home/ubuntu/OpenFOAM/OpenFOAM-4.1/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 178.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::ThermalDiffusivity<Foam::CompressibleTurbulenceModel<Foam::fluidThermo> > const& Foam::objectRegistry::lookupObject<Foam::ThermalDiffusivity<Foam::CompressibleTurbulenceModel<Foam::fluidThermo> > >(Foam::word const&) const at ??:?
#3  Foam::wallHeatTransferFvPatchScalarField::updateCoeffs() at ??:?
#4  Foam::mixedFvPatchField<double>::evaluate(Foam::UPstream::commsTypes) at ??:?
#5  Foam::mixedEnergyFvPatchScalarField::updateCoeffs() at ??:?
#6  Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) at ??:?
#7  Foam::fv::gaussLaplacianScheme<double, Foam::SymmTensor<double> >::fvmLaplacianUncorrected(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#8  Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#9  ? at ??:?
#10  ? at ??:?
#11  ? at ??:?
#12  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#13  ? at ??:?
Aborted (core dumped)



All times are GMT -4. The time now is 18:35.