Skip to content

Reply To: Method to generate effective relaxation time as output in VTK

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Method to generate effective relaxation time as output in VTK Reply To: Method to generate effective relaxation time as output in VTK

#9849
Yuji
Participant

Thank you for commenting.
I can suggest how to get vtk files below steps.

1.Add #define DISABLE_CSE in your cpp file.
2.Add FILED in DESCRIPTOR. for example, using DESCRIPTOR = D3Q19<SCALAR>; in your cpp file.
3.Add cell.template setField<descriptors::SCALAR>(tauEff);in src/dynamics directory file where you want to see tauEff.
4.Add SuperLatticeField3D<T, DESCRIPTOR, SCALAR> viscosiy(sLattice);
viscosiy.getName() = "viscosiy";
in your cpp in getResult function.

Best regards,
Yuji

  • This reply was modified 1 month, 1 week ago by Yuji.
  • This reply was modified 1 month, 1 week ago by Yuji.
  • This reply was modified 1 month, 1 week ago by Yuji.
  • This reply was modified 1 month, 1 week ago by Yuji.