Skip to content

Reply To: SuperLatticePhysWallShearStress3D()


Hi sahilbhapkar30,

that’s hard to tell right away.

Please make sure not to specify things multiply.
Ensure the correct material number and cuboid definitions, i.e. to hit the nodes correctly with the indicator cuboids (you can double-check by loading the ./tmp/vtkData/geometry_<>.vtm file into paraview and visualizing as points).

Also, in the getResults function call all of them in a row:
SuperLatticePhysWallShearStress3D<T,DESCRIPTOR> wss(…);
SuperLatticePhysWallShearStress3D<T,DESCRIPTOR> wss1(…);
SuperLatticePhysWallShearStress3D<T,DESCRIPTOR> wss2(…);
SuperLatticePhysWallShearStress3D<T,DESCRIPTOR> wss3(…);
vtmWriter.addFunctor( wss );
vtmWriter.addFunctor( wss1 );
vtmWriter.addFunctor( wss2 );
vtmWriter.addFunctor( wss3 );

Good luck with that!