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

SingleGraph on many different points at the same time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2022, 01:32
Default SingleGraph on many different points at the same time
  #1
New Member
 
Giulia
Join Date: Feb 2022
Posts: 19
Rep Power: 4
letoppina is on a distinguished road
Hello,

I am trying to extract the data using SingleGraph. I am using OpenFOAM version 6. The code looks something like this:

PHP Code:
Description
    Writes graph data 
for specified fields along a linespecified by start
    
and end points.

\*---------------------------------------------------------------------------*/
start   (0.01 0.001 0.0005);
end     (0.01 0.003 0.0005);
fields  (T U);

// Sampling and I/O settings
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"

// Override settings here, e.g.
/*
setConfig
{
    type lineCell;
    axis x;        // y, z, xyz
}
*/

// Must be last entry
#includeEtc "caseDicts/postProcessing/graphs/graph.cfg" 
So, every time I want to extract the data on the y axis on different points along x, I have to modify the SigleGraph file, save it and type on the terminal:
HTML Code:
postProcess -func region water -time 2
Doing this procedure for many different points on the x-axis takes definitely too long. Is there a way to save simultaneously different data on different points on the x-axis? (kind of like what SampleDict was doing). Also, it seems that the output file saved with SingleGraph is limited to a maximum of 100 lines. can I increase the number of points to be saved in each file (in order to have a better resolution)?

I hope my questions are clear.

Thank you all for your help.
letoppina is offline   Reply With Quote

Reply

Tags
extract data, sampledict, singlegraph


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
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 5, 2023 23:48
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
[snappyHexMesh] Invalid Normals for source face to target face while making AMI? Sorabh OpenFOAM Meshing & Mesh Conversion 1 August 3, 2021 06:35
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 05:49


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