Reply To: Method to generate effective relaxation time as output in VTK
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 › Method to generate effective relaxation time as output in VTK › Reply To: Method to generate effective relaxation time as output in VTK
February 6, 2025 at 1:02 am
#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
