|
[Sponsors] |
[OpenFOAM] setting up pvpython to act like parafoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 25, 2013, 07:10 |
setting up pvpython to act like parafoam
|
#1 |
New Member
Jonathan byrne
Join Date: Sep 2013
Posts: 17
Rep Power: 12 |
Hey.
I used trace to generate a python script that would add a slice to a model and render it. It works fine when I run: paraFoam --script=genimage.py but it opens up paraview to do the rendering. I wanted to do all this from the commandline so I tried using pvpython and pvbatch but they cannot find the source. I examined the the paraFoam script and it seems to be creating a config file that specifies the initial source but when I open x.OpenFOAM but there is nothing in it. My question is how do I get pvpython to load my source in the same way paraFoam does? I also tried pyFoamPVSnapshot.py but it seems to be expecting an older version of paraview, has it been deprecated? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent Parallelization Problem After AC Power Dropped | pawl | Hardware | 5 | November 13, 2016 06:08 |
using chemkin | JMDag2004 | OpenFOAM Pre-Processing | 2 | March 8, 2016 22:38 |
[snappyHexMesh] determining displacement for added points | CFDnewbie147 | OpenFOAM Meshing & Mesh Conversion | 1 | October 22, 2013 09:53 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 21:58 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |