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

kappaLayers is not loaded

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

Reply
 
LinkBack Thread Tools 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: 17
Rep Power: 2
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: 17
Rep Power: 2
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Mesh Utilities 41 January 17, 2013 03:43
nonuniform body force loaded from a text file Farshad_Noravesh OpenFOAM 1 April 22, 2011 09:52
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 00:44.