CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Post-Processing

Programmable Filter Problem

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 22, 2015, 09:44
Default Programmable Filter Problem
New Member
Peter Michalicka
Join Date: Aug 2015
Posts: 2
Rep Power: 0
quantenmaschine is on a distinguished road
Input: 722 Cells & 1200 Points
Programmable Filter:

def flatten(input, output):
# Copy the cells etc.

input = self.GetInputDataObject(0, 0)
output = self.GetOutputDataObject(0)

if input.IsA("vtkMultiBlockDataSet"):
iter = input.NewIterator()
while not iter.IsDoneWithTraversal():
curInput = iter.GetCurrentDataObject()
curOutput = curInput.NewInstance()
output.SetDataSet(iter, curOutput)
flatten(curInput, curOutput)
flatten(input, output)

Output: 17265 Cells & 35681 Points

What is the Problem with the Programmable Filter ?
quantenmaschine is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
LES Filtering: how are the small and large scales equations solved? atmcfd Main CFD Forum 38 March 14, 2016 15:52
Large Eddy Simulation Nijanthan FLUENT 13 January 30, 2014 20:28
area does not match neighbour by ... % -- possible face ordering problem St.Pacholak OpenFOAM 9 November 22, 2011 11:02
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13

All times are GMT -4. The time now is 18:40.