View Issue Details

IDProjectCategoryView StatusLast Update
0001939OpenFOAMBugpublic2015-12-03 09:19
ReporterAndreasG Assigned Tohenry  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSUbuntuOS Version14.10
Summary0001939: wallShearStress tool only works for RAS simulations
DescriptionThe postprocessing tool wallShearStress only works for RAS simulations. To fix this, minor changes are sufficient:

diff --git a/applications/utilities/postProcessing/wall/wallShearStress/wallShearStress.C b/applications/utilities/postProcessing/wall/wallShearStress/wallShearStress.C
index 6f6609c..6d0b514 100644
--- a/applications/utilities/postProcessing/wall/wallShearStress/wallShearStress.C
+++ b/applications/utilities/postProcessing/wall/wallShearStress/wallShearStress.C
@@ -53,11 +53,12 @@ void calcIncompressible
 
     singlePhaseTransportModel laminarTransport(U, phi);
 
- autoPtr<incompressible::RASModel> model
+ autoPtr<incompressible::turbulenceModel> model
     (
- incompressible::New<incompressible::RASModel>(U, phi, laminarTransport)
+ incompressible::turbulenceModel::New(U, phi, laminarTransport)
     );
 
+
     const volSymmTensorField Reff(model->devReff());
 
     forAll(wallShearStress.boundaryField(), patchI)
@@ -102,9 +103,9 @@ void calcCompressible
     autoPtr<fluidThermo> pThermo(fluidThermo::New(mesh));
     fluidThermo& thermo = pThermo();
 
- autoPtr<compressible::RASModel> model
+ autoPtr<compressible::turbulenceModel> model
     (
- compressible::New<compressible::RASModel>
+ compressible::turbulenceModel::New
         (
             rho,
             U,
Steps To ReproduceRun wallShearStress in any LES case
TagsNo tags attached.

Activities

henry

2015-12-03 09:19

manager   ~0005718

Thanks for the picking this up. I designed the new consistent turbulence modelling framework to simplify these utilities for RAS and LES but haven't double-checked that they have all been updated.

Resolved in OpenFOAM-dev by commit f3c04f65a001d8f9dfdac3ca72813a0f09473fb0
Resolved in OpenFOAM-3.0.x by commit ebc9d688cb1adc30efa0d58b87bf9975920a32af

Issue History

Date Modified Username Field Change
2015-12-03 07:50 AndreasG New Issue
2015-12-03 09:19 henry Note Added: 0005718
2015-12-03 09:19 henry Status new => resolved
2015-12-03 09:19 henry Resolution open => fixed
2015-12-03 09:19 henry Assigned To => henry