|
[Sponsors] |
December 5, 2011, 14:47 |
access cell data
|
#1 |
New Member
Sebastian P
Join Date: Jun 2010
Posts: 15
Rep Power: 16 |
Hello everybody,
I've done a simulation of a flow over a plate and now i want to evaluate the boundary layer thickness. For that, i wanted to create a macro / programmable filter which checks the x, y, and velocity-value for every cell and computes the boundary layer thicknes for all x-values. The results should be written to a text file. Has anyone a hint how to start on this. I'm pretty good with python, but I don't know the right commands to acces the cfd-data in paraview. Regards, Sebastian |
|
December 6, 2011, 04:44 |
|
#2 | |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Quote:
__________________
~roman |
||
December 6, 2011, 18:05 |
|
#3 |
New Member
Sebastian P
Join Date: Jun 2010
Posts: 15
Rep Power: 16 |
Hello roman,
thanks for your advice. Unfortunately, I can't find the tool sample. I have paraView 3.12 and there is no filter called sample. Sebastian |
|
December 7, 2011, 03:12 |
|
#4 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
sample is a tool build into openfoam. search for sampleDict on your computer, it should be located where the sample tool source code is located
Code:
# cd $FOAM_APP/utilities/postProcessing/sampling/sample # ls almost the same code works with functionObjects, where you can also give out those things at different times then the ones written onto HDD. like every second, every iterations and so on. look it up for functionObjects and play around with it. should be somewhere in this forum as well.
__________________
~roman |
|
December 7, 2011, 11:47 |
|
#5 |
New Member
Sebastian P
Join Date: Jun 2010
Posts: 15
Rep Power: 16 |
NOW I found it
Thanks alot! Sebastian |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Paraview: Cell data and Point Data? | vitor | ParaView | 4 | May 15, 2015 18:56 |
UDF Data access problems | Mosheraa | FLUENT | 4 | June 17, 2011 14:16 |
Cell centered vs Nodal Data from Fluent | prikeyma | FLUENT | 0 | September 1, 2010 12:40 |
Comsol 3.2: How to access the data of 'fem' object? | rocket | COMSOL | 0 | April 8, 2009 05:14 |
question on data access in parallel computation | wangrensong | FLUENT | 0 | January 7, 2009 04:24 |