|
[Sponsors] |
October 13, 2017, 06:10 |
Pressure field not changing
|
#1 |
Member
Marc
Join Date: May 2017
Posts: 42
Rep Power: 9 |
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; boundaryField { inlet { type calculated; value uniform 100000; } outlet { type calculated; meanValue 100000; value uniform 100000; } top { type symmetryPlane; value uniform 100000; } bottom { type symmetryPlane; value uniform 100000; } right { type symmetryPlane; value uniform 100000; } left { type symmetryPlane; value uniform 100000; } fluid_to_solid { type calculated; value uniform 100000; } } Code:
internalField uniform 100000; boundaryField { inlet { type fixedMean; meanValue 100000; value uniform 100000; } outlet { type fixedFluxPressure; value uniform 100000; } top { type symmetryPlane; value uniform 100000; } bottom { type symmetryPlane; value uniform 100000; } right { type symmetryPlane; value uniform 100000; } left { type symmetryPlane; value uniform 100000; } fluid_to_solid { type fixedFluxPressure; value uniform 100000; } } I would greatly appreciate any help on this topic |
|
October 13, 2017, 06:21 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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.
__________________
Keep foaming, Tobias Holzmann |
|
October 13, 2017, 06:33 |
|
#3 | ||
Member
Marc
Join Date: May 2017
Posts: 42
Rep Power: 9 |
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 |
|||
October 13, 2017, 06:51 |
|
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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
__________________
Keep foaming, Tobias Holzmann |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Another discussion on velocity-pressure coupling | toodles | Main CFD Forum | 16 | January 6, 2018 15:45 |
Periodic flow using Cyclic - comparison with Fluent | nusivares | OpenFOAM Running, Solving & CFD | 30 | December 12, 2017 06:35 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) | HB &DS | CFX | 0 | January 9, 2000 14:19 |