Error in Paraview & flow.saveVtk()
Hi,
I'd like to test flow.mask[1] to assign bodies affected by FlowEngine.But when I open the Vtk saved by flow.saveVtk(
Thanks for any suggestions.
#######
from yade import pack
psdSizes,
#psdSizes,
num_spheres=1000# number of spheres
young=1e9
mn,mx=Vector3(
O.materials.
O.materials.
walls=aabbWalls
wallIds=
sp=pack.
sp.makeCloud(
sp.toSimulation
newton=
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
FlowEngine(
GlobalStiffnes
PyRunner(
PyRunner(
newton
]
flow.dead=0
flow.mask=1
flow.defToleran
flow.meshUpdate
flow.useSolver=3
flow.permeabili
flow.viscosity=
flow.bndCondIsP
flow.bndCondVal
#flow.boundaryU
flow.updateTria
O.dt=1e-8
O.dynDt=False
def test_mask():
for i in O.bodies:
if isinstance(
if i.state.pos[0] < 0.003:
#######
[1]https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Chareyre
- Solved:
- Last query:
- Last reply: