access cell data
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 |
Quote:
|
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 |
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 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. |
NOW I found it :)
Thanks alot! Sebastian |
All times are GMT -4. The time now is 06:51. |