CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Post-processing

Register Blogs Community New Posts Updated Threads Search

Post-processing
Old

post-processing procedures in OpenFOAM

Posted January 6, 2017 at 07:54 by kindle

$ ls src/postProcessing
Allwmake foamCalcFunctions functionObjects postCalc

In "Allwmake" types for the three:
postCalc : libo
foamCalcFunctions : libso
functionObjects : libso

Ref{
In User's Guide "Running wmake"
lib : statically linked lib
libso : dynamically linked lib (*.so)
libo : statically linked object file lib (*.o)
}

************************************************** ******...
New Member
Posted in Post-processing
Views 1924 Comments 0 kindle is offline Edit Tags
Old

paraview-python

Posted November 9, 2016 at 06:14 by kindle
Updated November 9, 2016 at 10:50 by kindle

Requirement : paraview not the wrapper paraFoam of Openfoam [maybe because it is partially compiled].

1. start paraview
2. tools - start trace
3. openfile (with *.foam)
4. ...
5. save image etc.
6. stop trace and a window will pop out with python script
7. creat pythonScript.py
8. run with pvpython (executable in paraview) or add on first line like #!/opt/ParaView-4.1.0-Linux-64bit/bin/pvpython
9. chmod +x pythonScript.py ; execute pythonScript.py...
New Member
Posted in Post-processing
Views 904 Comments 0 kindle is offline Edit Tags
Old

Point data -> Cell data

Posted October 26, 2016 at 11:00 by kindle
Updated November 14, 2016 at 13:33 by kindle

Get cell data from paraview

Quote:
Originally Posted by wyldckat View Post
Greetings Philipp,

Took me a while to think about this, but I believe I know what you're looking for. The steps should be as follows:
  1. Apply the "Slice" filter, along the direction of your original line.
  2. Apply a second "Slice" filter, applied to the first one, along the location of the intended line.
  3. You should now have the same line you originally intended, but with some extra information that the "Plot over
...
New Member
Posted in Post-processing
Views 1272 Comments 0 kindle is offline Edit Tags

All times are GMT -4. The time now is 23:59.