CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

It doesn't work to sample or probe the data from "kinematicCloud:UTrans" file

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By zhangyan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2020, 08:18
Default It doesn't work to sample or probe the data from "kinematicCloud:UTrans" file
  #1
New Member
 
Matthew
Join Date: Aug 2017
Posts: 28
Rep Power: 8
zhangxc0223 is on a distinguished road
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.
zhangxc0223 is offline   Reply With Quote

Old   September 3, 2020, 09:35
Default
  #2
Senior Member
 
zhangyan's Avatar
 
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 11
zhangyan is on a distinguished road
Maybe it's caused by its type: volVectorField::Internal
Maybe sample doesn't support for Internal.
__________________
https://openfoam.top
zhangyan is offline   Reply With Quote

Old   February 9, 2021, 05:37
Default
  #3
New Member
 
Armin Haghshenas
Join Date: Jun 2020
Posts: 2
Rep Power: 0
Armin_OpenFoam is on a distinguished road
Could you figure out how to sample kinematicCloud:UTrans? I am struggling with the same issue.
Armin_OpenFoam is offline   Reply With Quote

Old   February 9, 2021, 05:50
Default
  #4
Senior Member
 
zhangyan's Avatar
 
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 11
zhangyan is on a distinguished road
Hi Armin,
you can try this tool, which can transform UTrans to a volScalarField.
After that, this new field can be sampled.
Armin_OpenFoam likes this.
__________________
https://openfoam.top
zhangyan is offline   Reply With Quote

Old   February 9, 2021, 15:29
Default
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,679
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by zhangyan View Post
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
olesen is offline   Reply With Quote

Reply

Tags
probe, sample, utrans

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 35 April 29, 2022 16:35
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 18:34
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 22:03
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 03:46.