Pressure field not changing
1 Attachment(s)
Hi,
I'm currently running a chtMultiRegionSimpleFoam case which I have uploaded in this dropbox link. The geometry of the problem can be seen in the first image attached. The red region corresponds to the fluid and the blue region is the solid. The solid is hot and cold fluid flows through it, heating up in the process. My problem is that, although the temperature and velocity fields seem to be ok, the pressure fields (p and p_rgh) do not change and remain at their initial value (i.e. 100 000 Pa). In case you do not want to download my case (although it only takes 5 minutes) , as the most probable source of error (I think) is the boundary conditions for p and p_rgh in the fluid side, I'll post them here: p: Code:
internalField uniform 100000; Code:
internalField uniform 100000; I would greatly appreciate any help on this topic |
Remarks:
- pressure + velocity at one patch for Ma<0.3 is not recommended - deltaT 5 does not influence your solution (I hope you know that). You only change the how fast you end at tEnd e.g. you have set 200 iterations with dT = 5, so you actually do only 40 iterations. If you activate the gravity, you will get the influence. However, the simulation crashes after 2 iterations. I have no time to investigate into that. By the way, a nice geometry. Reminds me to some similar structure I had a few years ago. Good luck. |
Quote:
Quote:
I will look into activating gravity, I hope that puts me on the right path. However, why should it affect the pressure? Oh and thanks for the props to the geometry :) |
The gravity will affect the pressure because of the equations. We are using the p_rgh quantity to calculate the pressure and recalculate p with that one and the hydrostatic part. The pressure used in the code is (as Ferziger et al. stats) working pressure:
Code:
p_rgh = p - rho*gh |
All times are GMT -4. The time now is 15:06. |