Closed wjsjtu123 closed 6 months ago
Hi @wjsjtu123,
Δp = (rho-rho0)*c^2 = (rho-1)/3
const float si_delta_p_n = units.si_p((lbm.rho[n]-1.0f)/3.0f);
.vtk
, you can only export density and convert to pressure manually.vtk
:
lbm.calculate_force_on_boundaries();
lbm.F.write_device_to_vtk();
Kind regards, Moritz
I extracted the rho and u data in vtk format with two commands lbm.rho.write_device_to_vtk(); and lbm.u.write_device_to_vtk();. In paraview, I want to get a visual cloud of pressure, lift and drag from these two data, how do I do it.