CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   It doesn't work to sample or probe the data from "kinematicCloud:UTrans" file (https://www.cfd-online.com/Forums/openfoam-post-processing/230003-doesnt-work-sample-probe-data-kinematiccloud-utrans-file.html)

zhangxc0223 September 3, 2020 07:18

It doesn't work to sample or probe the data from "kinematicCloud:UTrans" file
 
For a multiphase simulation, I have tried to put the code below into either “sampleDict” or “controlDict/functions/probes”.

Code:

       
fields
(
    U.air p kinematicCloud:UTrans
);

There are outputs for U.air and p but nothing output for kinematicCloud:UTrans. Also, I tried to use a quotation mark, and it doesn't work either.

Code:

       
fields
(
    U.air p “kinematicCloud:UTrans”
);

Is there suggestion on this? Thanks in advance.

zhangyan September 3, 2020 08:35

Maybe it's caused by its type: volVectorField::Internal
Maybe sample doesn't support for Internal.

Armin_OpenFoam February 9, 2021 04:37

Could you figure out how to sample kinematicCloud:UTrans? I am struggling with the same issue.

zhangyan February 9, 2021 04:50

Hi Armin,
you can try this tool, which can transform UTrans to a volScalarField.
After that, this new field can be sampled.

olesen February 9, 2021 14:29

Quote:

Originally Posted by zhangyan (Post 781982)
Maybe it's caused by its type: volVectorField::Internal
Maybe sample doesn't support for Internal.

You are correct. At first thought, it should not actually pose a problem to add.
I have opened an issue, where you can follow up.
https://develop.openfoam.com/Develop.../-/issues/2000


All times are GMT -4. The time now is 18:06.