Inlet & outlet both pressure boundary condition
Hello, everyone, I am new in OpenFOAM, I am trying to simulate a negative pressure ventilation room.there is a present and a bed inside the room and the present release constant heat flux. for creating the negative pressure inside the room. I want to give an inlet and outlet as a pressure boundary condition. for inlet, I will give 0pa and for the outlet -8pa.
and I use buoyantPimpleFoam now the question is 1) can I use both pressure boundary condition at inlet and outlet? 2) in which file(p or p_rgh) I have to specified value of pressure -8pa? if any data is required to say then, please let me know. thanks in advance. if anyone helps me it will be great for me. |
Hi,
>> 1) can I use both pressure boundary condition at inlet and outlet? Yes, you can. >> 2) in which file(p or p_rgh) I have to specified value of pressure -8pa? If you will carry out incompressible flow simulation, specification in "p" should suffice. But, note that "p" is the kinematic pressure, and in units of "m2/s2", therefore, you need to do a unit conversion from "Pa". Hope it helps. BTW: I would set inlet 8Pa and outlet 0Pa (no specific reason). |
Just want to make one statement. Using a "negative pressure" needs the assumption of incompressible as only in this scenario we have only pressure gradients to look at. For compressible flows one has to take an EOS into account. Thus, a negative pressure will make trouble as we all know, there is no pressure value with a negative sign.
|
Quote:
|
Quote:
|
Please Help
1 Attachment(s)
Hi guys,
Sorry for messaging to an old thread i am simulating a compressor blade and i need to required apply total pressure,static pressure for "p" and total temperature for "T" . my simulation shows a tendency to converge but after around 2000 iterations it diverges and continue till end . i attached p ,U codes and BC values, i would really appreciate if you could comment on them whether it is correct or wrong. i need desperately need help. p file, Code:
/*--------------------------------*- C++ -*----------------------------------*\ U file, Code:
/*--------------------------------*- C++ -*----------------------------------* \ T file, Code:
/*--------------------------------*- C++ -*----------------------------------*\ please help |
All times are GMT -4. The time now is 14:04. |