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

BC wallHeatTransfer ERROR

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Tobi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2012, 18:23
Unhappy BC wallHeatTransfer ERROR
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
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 is offline   Reply With Quote

Old   June 20, 2012, 04:20
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Solved. The right BC is:

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



Tobi
likres and aero.rajat like this.
Tobi is offline   Reply With Quote

Old   July 13, 2012, 18:30
Default
  #3
New Member
 
Join Date: Mar 2012
Posts: 27
Rep Power: 14
tomloh is on a distinguished road
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
tomloh is offline   Reply With Quote

Old   July 14, 2012, 08:52
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by tomloh View Post
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
Tobi is offline   Reply With Quote

Old   January 26, 2013, 20:26
Default
  #5
New Member
 
sorush ahmadian
Join Date: Jun 2012
Posts: 5
Rep Power: 14
sahmadian is on a distinguished road
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
sahmadian is offline   Reply With Quote

Old   May 8, 2015, 06:49
Default
  #6
New Member
 
remi
Join Date: May 2014
Location: China
Posts: 26
Rep Power: 12
remir is on a distinguished road
Quote:
Originally Posted by Tobi View Post

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
remir is offline   Reply With Quote

Old   March 6, 2017, 16:54
Default
  #7
New Member
 
Join Date: Nov 2016
Posts: 8
Rep Power: 10
Bob! is on a distinguished road
The unit is W/(m^2)
Bob! is offline   Reply With Quote

Old   February 21, 2018, 14:55
Default
  #8
New Member
 
Katsantonis Michalis
Join Date: Dec 2017
Posts: 21
Rep Power: 9
mixkats is on a distinguished road
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)
mixkats 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
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
[OpenFOAM] Saving ParaFoam views and case sail ParaView 9 November 25, 2011 16:46
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 00:55.