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

Probes function doesn't output to a single file.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2020, 04:37
Default Probes function doesn't output to a single file.
  #1
New Member
 
Kosuke Seto
Join Date: Jan 2020
Posts: 10
Rep Power: 6
Kosuke Seto is on a distinguished road
Hello,

I use OpenFOAM7 and performed incompressible analysis using rhoPimpleFoam.

After running, I tried to collect data sets of pressure at a specific point from all generated results using probes function.

I created a file named "probes" in the "system" directory.
Its content is like this.
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
-------------------------------------------------------------------------------
Description
    Writes out values of fields from cells nearest to specified locations.

\*---------------------------------------------------------------------------*/

#includeEtc "caseDicts/postProcessing/probes/probes.cfg"

fields (p);
probeLocations
(
    (0.03 -0.003 0)
);

// ************************************************************************* //
And I modified the controlDict a bit to add

Code:
functions
{

 #includeFunc probes
}
at the bottom.

And then, I use the command "rhoPimpleFoam -postprocess".

The result is like the attached image.
It doesn't output values to a single file, but make many files of each times.
I wanna make it a single because I wanna make graphs from it.

Best regards for any help.
Attached Images
File Type: jpg Screenshot from 2020-06-26 17-32-23.jpg (146.1 KB, 20 views)
Kosuke Seto is offline   Reply With Quote

Old   September 30, 2020, 06:50
Default
  #2
New Member
 
Max
Join Date: Apr 2020
Location: Germany
Posts: 8
Rep Power: 6
CFD-HSNR is on a distinguished road
Quote:
Originally Posted by Kosuke Seto View Post
Hello,

I use OpenFOAM7 and performed incompressible analysis using rhoPimpleFoam.

After running, I tried to collect data sets of pressure at a specific point from all generated results using probes function.

I created a file named "probes" in the "system" directory.
Its content is like this.
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
-------------------------------------------------------------------------------
Description
    Writes out values of fields from cells nearest to specified locations.

\*---------------------------------------------------------------------------*/

#includeEtc "caseDicts/postProcessing/probes/probes.cfg"

fields (p);
probeLocations
(
    (0.03 -0.003 0)
);

// ************************************************************************* //
And I modified the controlDict a bit to add

Code:
functions
{

 #includeFunc probes
}
at the bottom.

And then, I use the command "rhoPimpleFoam -postprocess".

The result is like the attached image.
It doesn't output values to a single file, but make many files of each times.
I wanna make it a single because I wanna make graphs from it.

Best regards for any help.

Hello Kosuke,

have you found out how to do it in the meantime ? I'm asking myself the same question.
CFD-HSNR is offline   Reply With Quote

Old   October 1, 2020, 01:53
Default
  #3
New Member
 
Kosuke Seto
Join Date: Jan 2020
Posts: 10
Rep Power: 6
Kosuke Seto is on a distinguished road
Hi,

I'm sorry that I couldn't solve this problem.
However, I found that I can make a single file of data sets by using OpenFOAM-v2006
(and others from the series by ESI).
Kosuke Seto is offline   Reply With Quote

Reply


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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 16:05
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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