Skip to content

Reply To: SuperLatticePhysWallShearStress3D()

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum please send a message via our contact form.

Forums OpenLB General Topics SuperLatticePhysWallShearStress3D() Reply To: SuperLatticePhysWallShearStress3D()

#5962
stephan
Moderator

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!

BR
Stephan