I want to specify the position in my domain where I want to set the reference pressure, p0. After reviewing the guides and documentation, it seems that the recommended method is through the cs_user_parameters function, using
Code: Select all
cs_fluid_properties_t *fp = cs_get_glob_fluid_properties();
fp->xyzp0[0] = ...;
fp->xyzp0[1] = ...;
fp->xyzp0[2] = ...;
Additionally, I've encountered a peculiar situation: I understand that the aforementioned code should not significantly impact the overall results (as what matters are the pressure differences, not their absolute values). However, I noticed a relevant change in the results solely by incorporating the above lines of code, without any other modifications to the settings. Can you provide insights into why this might be happening?