|
[Sponsors] |
June 19, 2012, 18:23 |
BC wallHeatTransfer ERROR
|
#1 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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) 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; } I would be very glad for any suggestions. Regard Tobi |
|
July 13, 2012, 18:30 |
|
#3 |
New Member
Join Date: Mar 2012
Posts: 27
Rep Power: 14 |
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: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 |
|
July 14, 2012, 08:52 |
|
#4 | |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Quote:
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; Tobi |
||
January 26, 2013, 20:26 |
|
#5 |
New Member
sorush ahmadian
Join Date: Jun 2012
Posts: 5
Rep Power: 14 |
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 |
|
May 8, 2015, 06:49 |
|
#6 |
New Member
remi
Join Date: May 2014
Location: China
Posts: 26
Rep Power: 12 |
||
March 6, 2017, 16:54 |
|
#7 |
New Member
Join Date: Nov 2016
Posts: 8
Rep Power: 10 |
The unit is W/(m^2)
|
|
February 21, 2018, 14:55 |
|
#8 |
New Member
Katsantonis Michalis
Join Date: Dec 2017
Posts: 21
Rep Power: 9 |
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) |
|
|
|
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 |