March 10, 2022, 02:32
|
SingleGraph on many different points at the same time
|
#1
|
New Member
Giulia
Join Date: Feb 2022
Posts: 19
Rep Power: 5
|
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 line, specified 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.
|
|
|