|
[Sponsors] |
August 22, 2015, 10:44 |
Programmable Filter Problem
|
#1 |
New Member
Peter Michalicka
Join Date: Aug 2015
Posts: 2
Rep Power: 0 |
Input: 722 Cells & 1200 Points
Programmable Filter: def flatten(input, output): # Copy the cells etc. output.ShallowCopy(input) input = self.GetInputDataObject(0, 0) output = self.GetOutputDataObject(0) if input.IsA("vtkMultiBlockDataSet"): output.CopyStructure(input) iter = input.NewIterator() iter.UnRegister(None) iter.InitTraversal() while not iter.IsDoneWithTraversal(): curInput = iter.GetCurrentDataObject() curOutput = curInput.NewInstance() curOutput.UnRegister(None) output.SetDataSet(iter, curOutput) flatten(curInput, curOutput) iter.GoToNextItem(); else: flatten(input, output) Output: 17265 Cells & 35681 Points What is the Problem with the Programmable Filter ? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
area does not match neighbour by ... % -- possible face ordering problem | St.Pacholak | OpenFOAM | 11 | September 4, 2024 05:28 |
Large Eddy Simulation | Nijanthan | FLUENT | 14 | May 3, 2021 16:32 |
LES Filtering: how are the small and large scales equations solved? | atmcfd | Main CFD Forum | 38 | March 14, 2016 15:52 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |