|
[Sponsors] |
May 24, 2017, 04:07 |
How to sample turbulenceProperties:R?
|
#1 |
Member
Join Date: Apr 2017
Posts: 68
Rep Power: 9 |
Running k-epsilon with simpleFoam I am using "sample" to sample values at certain locations. This works fine for values like U and k, that are generated during run time. However, it does not work for values like, turbulenceProperties:R and wallShearStress, which is generated by the postprocessing functionality.
For the turbulent stress tensor I get the error message Code:
--> FOAM Warning : From function Foam::label Foam::sampledSets::classifyFields() in file sampledSet/sampledSets/sampledSetsGrouping.C at line 140 Cannot find registered field matching turbulenceProperties:R --> FOAM Warning : From function Foam::label Foam::sampledSets::classifyFields() in file sampledSet/sampledSets/sampledSetsGrouping.C at line 140 Cannot find registered field matching turbulenceProperties:R Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // type sets; libs ("libsampling.so"); interpolationScheme cellPointFace; setFormat raw; sets ( mu_0101 { type face; axis z; start (-0.075 0.0875 0.0); end (-0.075 0.0875 0.05); } mu_0201 { type face; axis z; start (-0.025 0.0875 0.0); end (-0.025 0.0875 0.05); } ); fields ( U turbulenceProperties:R ); // ************************************************************************* // Code:
simpleFoam -postProcess -func R -latestTime Code:
simpleFoam -postProcess -func sample -latestTime |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
If a sample line coincides with faces, the user should set the set the sample line?? | Hojae | OpenFOAM | 3 | November 29, 2014 06:48 |
Sample issues | MikePo | OpenFOAM Post-Processing | 1 | February 7, 2010 20:20 |
heat conducting in a solid domain | Rogerio Fernandes Brito | Phoenics | 0 | March 18, 2008 18:23 |
heat conducting in a solid domain | Rogerio Fernandes Brito | Siemens | 0 | March 18, 2008 18:23 |
about my old post | Rogerio Fernandes Brito | CFX | 1 | February 8, 2008 20:19 |