mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
SUBMODULE: updates for catalyst
- SIGFPE handling, cmake configuration CONFIG: adjust for simplified Catalyst channel naming - no sub-channels, select volField output based in the (internal | boundary) dictionary switches instead
This commit is contained in:
@ -8,13 +8,16 @@ catalyst
|
||||
(
|
||||
"<system>/scripts/pressure.py"
|
||||
// "<system>/scripts/vorticity.py"
|
||||
// "<etc>/caseDicts/insitu/catalyst/writeMesh.py"
|
||||
// "<etc>/caseDicts/insitu/catalyst/writeAll.py"
|
||||
);
|
||||
|
||||
inputs
|
||||
{
|
||||
region
|
||||
{
|
||||
// No boundary, otherwise we have funny lines in the slice.
|
||||
boundary false;
|
||||
|
||||
// Selected fields (words or regex).
|
||||
fields ( U p );
|
||||
}
|
||||
|
||||
@ -65,10 +65,10 @@ def CreateCoProcessor():
|
||||
|
||||
# create a new 'XML MultiBlock Data Reader'
|
||||
# create a producer from a simulation input
|
||||
regionmesh = coprocessor.CreateProducer(datadescription, 'region/mesh')
|
||||
region = coprocessor.CreateProducer(datadescription, 'region')
|
||||
|
||||
# create a new 'Slice'
|
||||
slice1 = Slice(Input=regionmesh)
|
||||
slice1 = Slice(Input=region)
|
||||
slice1.SliceType = 'Plane'
|
||||
slice1.SliceOffsetValues = [0.0]
|
||||
|
||||
@ -166,7 +166,7 @@ def CreateCoProcessor():
|
||||
|
||||
coprocessor = CoProcessor()
|
||||
# these are the frequencies at which the coprocessor updates.
|
||||
freqs = {'region/mesh': [1, 1, 1]}
|
||||
freqs = {'region': [1, 1, 1]}
|
||||
coprocessor.SetUpdateFrequencies(freqs)
|
||||
return coprocessor
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
|
||||
from paraview.simple import *
|
||||
from paraview import coprocessing
|
||||
|
||||
@ -67,10 +66,10 @@ def CreateCoProcessor():
|
||||
|
||||
# create a new 'XML MultiBlock Data Reader'
|
||||
# create a producer from a simulation input
|
||||
regionmesh = coprocessor.CreateProducer(datadescription, 'region/mesh')
|
||||
region = coprocessor.CreateProducer(datadescription, 'region')
|
||||
|
||||
# create a new 'Slice'
|
||||
slice1 = Slice(Input=regionmesh)
|
||||
slice1 = Slice(Input=region)
|
||||
slice1.SliceType = 'Plane'
|
||||
slice1.SliceOffsetValues = [0.0]
|
||||
|
||||
@ -179,7 +178,7 @@ def CreateCoProcessor():
|
||||
|
||||
coprocessor = CoProcessor()
|
||||
# these are the frequencies at which the coprocessor updates.
|
||||
freqs = {'region/mesh': [1, 1, 1]}
|
||||
freqs = {'region': [1, 1, 1]}
|
||||
coprocessor.SetUpdateFrequencies(freqs)
|
||||
return coprocessor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user