Skip to content

Reply To: Printing the relaxation time of each lattice to vtk files

Due to recent bot attacks we have chanced the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums on OpenLB General Topics Printing the relaxation time of each lattice to vtk files Reply To: Printing the relaxation time of each lattice to vtk files

#4522
Aurelio H
Participant

Hi Guo,

The descriptor that you are using stores omega in an external field. You may see it in file src/dynamics/dynOmegaLatticeDescriptors.h, where DynOmegaD2Q9Descriptor is defined.

I would suggest using:

SuperLatticeField3D<T,DESCRIPTOR,OMEGA> omegaLB (sLattice);
vtkWriter.addFunctor(omegaLB);

This would print the relaxation frequency (omega) in lattice units to the VTK file. Is this what you are looking for?

Cheers,
Aurelio