View Issue Details

IDProjectCategoryView StatusLast Update
0001294OpenFOAMBugpublic2014-05-14 17:15
Reporterbillie Assigned Touser21 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version13.10
Summary0001294: turbulentTemperatureCoupledBaffleMixed and turbulentTemperatureRadCoupledMixed write thicknessLayers instead of kappaLayers
DescriptionIn the write function the thicknessLayers are written to kappaLayers. The attached patch should fix the issue.
TagsNo tags attached.

Activities

billie

2014-05-14 16:56

reporter  

kappaLayers.patch (2,248 bytes)   
diff --git a/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C b/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C
index f71810b..c93f123 100644
--- a/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C
+++ b/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C
@@ -280,7 +280,7 @@ void turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::write
     os.writeKeyword("Tnbr")<< TnbrName_
         << token::END_STATEMENT << nl;
     thicknessLayers_.writeEntry("thicknessLayers", os);
-    thicknessLayers_.writeEntry("kappaLayers", os);
+    kappaLayers_.writeEntry("kappaLayers", os);
 
     temperatureCoupledBase::write(os);
 }
diff --git a/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/turbulentTemperatureRadCoupledMixed/turbulentTemperatureRadCoupledMixedFvPatchScalarField.C b/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/turbulentTemperatureRadCoupledMixed/turbulentTemperatureRadCoupledMixedFvPatchScalarField.C
index 9128210..9ed79a0 100644
--- a/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/turbulentTemperatureRadCoupledMixed/turbulentTemperatureRadCoupledMixedFvPatchScalarField.C
+++ b/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/turbulentTemperatureRadCoupledMixed/turbulentTemperatureRadCoupledMixedFvPatchScalarField.C
@@ -278,7 +278,7 @@ void turbulentTemperatureRadCoupledMixedFvPatchScalarField::write
     os.writeKeyword("QrNbr")<< QrNbrName_ << token::END_STATEMENT << nl;
     os.writeKeyword("Qr")<< QrName_ << token::END_STATEMENT << nl;
     thicknessLayers_.writeEntry("thicknessLayers", os);
-    thicknessLayers_.writeEntry("kappaLayers", os);
+    kappaLayers_.writeEntry("kappaLayers", os);
 
     temperatureCoupledBase::write(os);
 }
kappaLayers.patch (2,248 bytes)   

user21

2014-05-14 17:15

  ~0003059

Thanks for the report.
Corrected on commit ce6ad3e49b4d0984a86a71317eec63ef5

Issue History

Date Modified Username Field Change
2014-05-14 16:56 billie New Issue
2014-05-14 16:56 billie File Added: kappaLayers.patch
2014-05-14 17:15 user21 Note Added: 0003059
2014-05-14 17:15 user21 Status new => resolved
2014-05-14 17:15 user21 Resolution open => fixed
2014-05-14 17:15 user21 Assigned To => user21