|
[Sponsors] |
May 19, 2018, 21:50 |
Probing line data into a single file
|
#1 |
Senior Member
cyln
Join Date: Jul 2016
Posts: 102
Rep Power: 10 |
Hello,
I am probing line data in openfoam, and use the following code within the controlDict file. Code:
probeLineData { type sets; enabled true; verbose true; interpolationScheme cellPoint; outputControl timeStep; outputInterval 1; setFormat raw; fields (U); // the fields sets ( X1 // line name type uniform; axis y; start (-1 -1 0); end (-1 1 0); nPoints 50; } ); } Does anyone know a way to do this? or Can you suggest me any solution? Cheers, Cyln |
|
May 20, 2018, 06:12 |
|
#2 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
Honestly I don't know if you can do that, maybe you can. But if you use "setFormat gnupot;", then you can plot the different time levels in the same figure easily. |
|
May 20, 2018, 11:27 |
|
#3 |
Senior Member
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 13 |
You can use singleGraph function. Include this line in your controlDict:
Code:
functions { #includeFunc singleGraph } Code:
cp $FOAM_ETC/caseDicts/postProcessing/graphs/singleGraph system |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 19:13 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |