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

using graphCell openFoam v-10

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2024, 17:26
Default using graphCell openFoam v-10
  #1
New Member
 
Omokayj
Join Date: Oct 2023
Posts: 1
Rep Power: 0
7542omokayj is on a distinguished road
Hi there,

I am new to using openFoam and I am trying to achieve some visualization for my results. I am currently using graphcell for sampling data so i can create some plots using gnuplot.

I have been able to achieve this, but i am thinking of some optimization for the way i am currently specifying the line that i intend to get data for.


here is my graphCell dict


Description
Writes graph data for specified fields along a line, specified by start and
end points. One graph point is generated in each cell that the line
intersects.

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

start (1 0.3 0.5);
end (5 0.3 0.5);

fields (U p);

axis distance; // The independent variable of the graph. Can be "x",
// "y", "z", "xyz" (all coordinates written out), or
// "distance" (from the start point).

#includeEtc "caseDicts/postProcessing/graphs/graphCell.cfg"

// ************************************************** *********************** //
~
~
the above file works and i am able to get data for the line defined by the start and end points(in red)

Since i need to observe the system at multiple lines, i intend to post process for multiple lines at the same time - such that when i run 'simpleFoam -postProcess' i get the data for multiple lines at once and i can go ahead to plot. This will make it easier to work with several mesh configurations.

My question is How do i define multiple lines in the graphCell dict?


if i cant do it in the graphCell dict , are there other ways to go about this.?
7542omokayj is offline   Reply With Quote

Reply

Tags
graphcell, openfoam 10.0, sampling data


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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
How to develop OpenFOAM with CMake and popular IDEs cosscholar OpenFOAM Programming & Development 0 March 16, 2022 15:17
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 01:02.