Cannot find registered field matching Umean
Hello,
I am trying to get the time-average velocity along a line plot using the singleGrap capability. When I postprocess the simulation, I get the following error message: Code:
Cannot find registered field matching Umean Code:
pimpleFoam -postProcess I found a thread or the workaround is to rename UMean file to U and postprocess U. What would be the right syntax to postprocess UMean? Thanks, Marco |
Hi,
maybe this works: Code:
pimpleFoam -postProcess -fields "(Umean)" Code:
postProcess -fields "(Umean)" Za-ck |
Zach,
thanks for your help. I tried this combination as well but it does not work. The output of the command line Code:
pimpleFoam -postProcess -fields "(UMean)" Code:
--> FOAM Warning : Marco |
Hi,
I think the order of the functionObjects within the functions subDict of the controlDict is important. So you first need to have the fieldAveraging and after that the sampling. If you would have had fieldAverage before wallShearStress (or yPlus) you would not be able to take the average of that either (or maybe with a delay of 1 iteration, if you are lucky) Regards, Tom |
Tom,
thanks for you help. You are right, I moved Code:
#includeFunc singleGraph Thanks for the help, Marco |
Hi, ich have kind of the same problem. I calculated Umean and UPrime2Mean while calculating and now i want to sample them. I use the sampledict with the field entries U, Umean and UPrime2Mean but it only samples U. For the other the terminal told me:
--> FOAM Warning : From function Foam::label Foam::sampledSets::classifyFields() in file sampledSet/sampledSets/sampledSetsGrouping.C at line 140 Cannot find registered field matching UMean same for UPrime2Mean |
Could you please provide the command lines you used and the exact error message?
|
here is my terminal output
.... Reading set description: y=0H y=40H y=61H y=82H y=103H y=124H y=145H --> FOAM Warning : From function Foam::label Foam::sampledSets::classifyFields() in file sampledSet/sampledSets/sampledSetsGrouping.C at line 140 Cannot find registered field matching UMean --> FOAM Warning : From function Foam::label Foam::sampledSets::classifyFields() in file sampledSet/sampledSets/sampledSetsGrouping.C at line 140 Cannot find registered field matching UPrime2Mean End command line: pimpleFoam -postProcess -func sampleDict -latestTime |
and here my sampleDict:
FoamFile { version 2.0; format ascii; class dictionary; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // type sets; libs ("libsampling.so") writeControl latestTime; // Set output format : choice of // xmgr // jplot // gnuplot // raw setFormat raw; // Surface output format. Choice of // null : suppress output // foamFile : separate points, faces and values file // dx : DX scalar or vector format // vtk : VTK ascii format // raw : x y z value format for use with e.g. gnuplot 'splot'. // stl : ascii stl. Does not contain values! surfaceFormat foamFile; // interpolationScheme. choice of // cell : use cell-centre value only; constant over cells (default) // cellPoint : use cell-centre and vertex values // cellPointFace : use cell-centre, vertex and face values. // 1] vertex values determined from neighbouring cell-centre values // 2] face values determined using the current face interpolation scheme // for the field (linear, gamma, etc.) //interpolationScheme cell; //interpolationScheme cellPoint; interpolationScheme cellPointFace; // Fields to sample. fields ( U UMean UPrime2Mean ); // Set sampling definition: choice of // uniform evenly distributed points on line // face one point per face intersection // midPoint one point per cell, inbetween two face intersections // midPointAndFace combination of face and midPoint // // curve specified points, not nessecary on line, uses // tracking // cloud specified points, uses findCell // // axis: how to write point coordinate. Choice of // - x/y/z: x/y/z coordinate only // - xyz: three columns // (probably does not make sense for anything but raw) // - distance: distance from start of sampling line (if uses line) or // distance from first specified sampling point // // type specific: // uniform, face, midPoint, midPointAndFace : start and end coordinate // uniform: extra number of sampling points // curve, cloud: list of coordinates sets ( y=0H { type lineCell; axis x; start (-0.036 0.09 0); end (0.036 0.09 0); } y=40H { type lineCell; axis x; start (-0.036 0.05 0); end (0.036 0.05 0); } y=61H { type lineCell; axis x; start (-0.036 0.029 0); end (0.036 0.029 0); } y=82H { type lineCell; axis x; start (-0.036 0.008 0); end (0.036 0.008 0); } y=103H { type lineCell; axis x; start (-0.036 -0.013 0); end (0.036 -0.013 0); } y=124H { type lineCell; axis x; start (-0.036 -0.034 0); end (0.036 -0.034 0); } y=145H { type lineCell; axis x; start (-0.036 -0.055 0); end (0.036 -0.055 0); } ); // Surface sampling definition: choice of // plane : values on plane defined by point, normal. // patch : values on patch. // // 1] planes are triangulated by default // 2] patches are not triangulated by default //surfaces //( //); // ************************************************** ********************* // U works perfect... |
I have the same problem.
When I include singleGraph for UMean in the controlDict file the postProcessing works perfectly. But at some lines there is missing data and I want to postProcess it after the simulation with: Code:
pisoFoam -postProcess -func singleGraph -latestTime No finite volume options present --> FOAM Warning : From Foam::label Foam::sampledSets::classifyFields() in file sampledSet/sampledSets/sampledSetsGrouping.C at line 83 Cannot find registered field matching 1(UMean) Does anybody know how to fix this problem? EDIT: Using Code:
postProcess -func singleGraph -latestTime Code:
pisoFoam -postProcess -func singleGraph -latestTime |
All times are GMT -4. The time now is 01:23. |