View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001939 | OpenFOAM | Bug | public | 2015-12-03 07:50 | 2015-12-03 09:19 |
Reporter | AndreasG | Assigned To | henry | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 14.10 |
Summary | 0001939: wallShearStress tool only works for RAS simulations | ||||
Description | The 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 Reproduce | Run wallShearStress in any LES case | ||||
Tags | No tags attached. | ||||
|
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 |