yes, the getPressure gives you the total pressure. So you need to substract the dynamic pressure: https://en.wikipedia.org/wiki/Static_pressure
This can be processed in e.g in Paraview by using the “calculator” filter.
I am trying to set a pressure boundary condition at the inlet in the aorta3d example. However I do not find which function to use since this subject is too old now. Someone know how to do this ?
I am still a beginner and I don’t know how to find the response in Doxygen.
you can set a pressure boundary condition on the inlet similar to how it is done on material numbers 4 and 5 on the outlets with
setInterpolatedPressureBoundary<T,DESCRIPTOR>(lattice, superGeometry, 3);
I figure out that I have to switch off the bouzidi boundary condition to set a pressure boundary condition. If not, the pressure at the inlet rise without stoping. Is there a way to keep the bouzidi choice ?
You can apply a pressure filter as in the lid driven cavity cases using e.g. ConstRhoBGK dyamics or use the stripOffDesity methods, cf. user guide, dogygen and code examples..
Whether the boundaries are straight w.r.t. to the lattice is not relevant for the choice between Bouzidi IBB and other approaches (Bouzidi just places the wall at an exact specified intersection between two cells, this also works for non-curved walls). I suspect that the boundary geometry used for Bouzidi was not set up correctly in the case where you see the broken pressure behavior. Bouzidi and pressure boundaries can definitely be used in the same simulation (e.g. this is done in both the nozzle and aorta example cases).
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok