|
[Sponsors] |
September 17, 2010, 03:06 |
How do I avoid calculate pressure on 1st itr
|
#1 |
New Member
#
Join Date: Sep 2010
Posts: 1
Rep Power: 0 |
Hi, I am trying to use an expression to calculate mass flow (to be given as an inlet and outlet boundary conditions) in a small cavity attached through frozen rotor to the bigger domain (having the actual inlet and outlet of the model). This expression involves a constant clearance value and the pressure calculation across the frozen rotor patches between the cavity and main domain. The solver fails at first itr because pressure values are not available at that time.. I need an expression to give a contant pressure value at iteration 1 and then later start calculating from the simulation itself. I tried to use if statement.. but in that it agains tries to calculate the pressure at first itr.
Thanks # |
|
September 17, 2010, 07:04 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
I take it from your question you have a narrow clearance slit which is leaking fluid from a high pressure region to a low pressure region. I assume the fluid is air or some form of compressible gas.
There are often large pressure gradients across this type of flow, meaning the flow is often sonic and convergence of sonic flows with greatly varying length scales is tricky. Your idea of locking pressure at iteration 1 is not a wise approach. Better to understand what is actually the problem first. Can you define: What is the inlet and outlet pressures? What is the size of the chambers? The gaps? What is the fluid? Any other relevant physics? But if my guesses are right you should consider local timestepping for a while to start things off, then move to physical timesteps with small time steps. When they are running nicely increase the size of them to get convergence. This approach is summarised here http://www.cfd-online.com/Wiki/Ansys...gence_criteria |
|
September 17, 2010, 07:06 |
|
#3 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
Oh yes - and the initial pressure level is set in the initial guess. It is never undefined. And it is a coupled momentum/pressure solver so you can't fix the pressure values anyway.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure Rise Error | emueller | CFX | 0 | May 5, 2009 12:08 |
how to calculate the average pressure | lenson | Siemens | 0 | March 4, 2005 04:24 |
FLOW AROUND A PLATE_NEGATIVE ABSOLUTE PRESSURE???? | tania | FLUENT | 11 | March 23, 2004 09:51 |
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) | HB &DS | CFX | 0 | January 9, 2000 14:19 |
Hydrostatic pressure in 2-phase flow modeling (long) | DS & HB | Main CFD Forum | 0 | January 8, 2000 16:00 |