|
[Sponsors] |
April 23, 2011, 08:24 |
What does "AdjustPhi" do?
|
#1 |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 16 |
Hello everybody
In some solver we have "AdjustPhi(Phi,U,p)" that Adjust flux to obey continuty. I want to know what does it mean ? Thanks. |
|
April 26, 2011, 13:33 |
|
#2 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Going by memory here, I believe adjustPhi looks at all the boundary patches of the mesh, adding the mass flux. Some boundaries are adjustable, such as a pressure boundary condition. If the mass balance doesn't equal zero, it will modify the flux at the adjustable boundary conditions, and fail if it can't achieve a mass balance of zero. I also recall something to do with some sort of setPressure boolean (I forget its exact name). If setPressure is true, it will do all this, if it is false, it doesn't bother attempting this.
|
|
April 29, 2011, 07:00 |
|
#3 |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 16 |
Do you mean this function just act on "mass flux of boundary conditions that does not fix"? and does not act on quantities of internal field?
|
|
April 29, 2011, 10:24 |
|
#4 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Yes, it doesn't touch the internal field. Just boundary patches that can be adjusted, such as zero gradient.
|
|
|
|