Reply To: Extract velocity, pressure, and density data on lattices without interpolation
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 › Extract velocity, pressure, and density data on lattices without interpolation › Reply To: Extract velocity, pressure, and density data on lattices without interpolation
August 13, 2021 at 7:41 pm
#5920
jjessberger
Participant
Well I’m not an expert for file formats and csv, if it is not much data it is probably the easiest solution to use the c++ iostream functionalities for creating your csv file.
You may check out the computeU/ computeRho methods from the “Cell” class for velocity/ density. If you want to compute the pressure like that, you need to compute it “by hand” using c_s^2 * rho.
