kappaLayers is not loaded
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 |
kappaLayers is not loaded: solved
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.:D:D greetings |
All times are GMT -4. The time now is 22:13. |