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

kappaLayers is not loaded

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2015, 03:09
Default kappaLayers is not loaded
  #1
New Member
 
Cartuns11's Avatar
 
Join Date: May 2015
Location: Barcelona
Posts: 24
Rep Power: 10
Cartuns11 is on a distinguished road
Hello,

I'm working on a thermal model using chtMultiRegionsSimpleFoam. Between two regions, the model has a turbulentTemperatureCoupleBaffleMixed with this definition:

{
type compressible::turbulentTemperatureCoupleBaffleMixe d;
Tnbr T;
kappa fluidThermo;
kappaName none;
thicknessLayers (1e-4);
kappaLayers (1.38);
value uniform 300;
}

The problem is, when the simulations has been carried out, the final T file has a error in the kappaLayers and thicknessLayers because both have the same value:

thicknessLayers (1e-4);
kappaLayers (1e-4);

could someone help me? do you the solution?

Thanks.Greetings
Cartuns11 is offline   Reply With Quote

Old   June 5, 2015, 04:27
Default kappaLayers is not loaded: solved
  #2
New Member
 
Cartuns11's Avatar
 
Join Date: May 2015
Location: Barcelona
Posts: 24
Rep Power: 10
Cartuns11 is on a distinguished road
I have found the solution.
There is a error in the turbolentTemperatureCoupledBaffleMixed.C. In my file, in the line 282 and 283:

thicknessLayers_.writeEntry("thicknessLayers". os);
thicknessLayers_.writeEntry("kappaLayers". os);

OpenFoam only loads thicknessLayers....... I have changed:

thicknessLayers_.writeEntry("thicknessLayers". os);
kappaLayers_.writeEntry("kappaLayers". os);

and it works correctly.

greetings
Cartuns11 is offline   Reply With Quote

Reply

Tags
openfoam, thermal baffles


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
[mesh manipulation] Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Meshing & Mesh Conversion 42 January 8, 2017 12:55
nonuniform body force loaded from a text file Farshad_Noravesh OpenFOAM Running, Solving & CFD 3 March 26, 2016 05:20
How to simulate a dynamically loaded journal bearing with Fluent? okiro FLUENT 0 April 7, 2010 21:16
OpenFOAM14 for Mac OSX Darwin 104 gschaider OpenFOAM Installation 118 July 20, 2008 05:19
Module can not be loaded Kate Main CFD Forum 0 May 7, 2008 10:33


All times are GMT -4. The time now is 12:33.