|
[Sponsors] |
|
December 6, 2021, 13:39 |
How to define proper BC?
|
#1 |
New Member
Ali Can
Join Date: Apr 2021
Posts: 28
Rep Power: 5 |
Hi,
I read an article and I want to do the work here myself, but many initial conditions are given. For example, we can find the free flow velocity based on the Mach number at the given temperature. However, Pressure inlet boundary condition is used. Mass flow rate value is also given. I'm so confused. thx in advance.. |
|
December 6, 2021, 15:34 |
|
#2 |
Member
Join Date: May 2017
Posts: 31
Rep Power: 9 |
It looks like they're giving all the information they measured, not just what they set, for convenience
The second image looks like they were setting the pressure for the inlet and outlet, and letting the solver find the velocity (so in openfoam, you'd use pressureInletOutletVelocity or similar for the velocity) - which can be tricky to find the right numerical schemes, as it doesn't tend to converge very well (the stagnation pressure difference between inlet and outlet can only come from losses within the flow, so it needs to get turbulent and shock losses right, and the feedback loop from pressure-velocity-losses-pressure is quite slow so it takes ages to converge) So the free-stream conditions that they give in the first one are measured from their results most likely, and they're only setting inlet/outlet pressures and temperatures |
|
December 9, 2021, 05:02 |
|
#3 | ||||
New Member
Ali Can
Join Date: Apr 2021
Posts: 28
Rep Power: 5 |
dear sqek,
Firstly I wish to express my gratitude for your detailed expression. I was thinking of using boundary conditions "pressureInletVelocity" for "u" and "totalPressure" for "p". If I use them, do I have to enter 0 for "pressureInletVelocity" and wait for the software to calculate the speed? The U value for Mach 1.71 at 300K is approximately 594m/s. What if I enter "freestreamVelocity=594" for the inlet without going into the situations I mentioned above? Similarly, I'm thinking of entering the "p" value as 500000 for the inlet and 101325 for the outlet. What do you think? thx in advance.. Quote:
Quote:
Quote:
Quote:
|
|||||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent UDF for moving laser heating of a solid block | Cooper24 | Fluent UDF and Scheme Programming | 7 | July 9, 2021 05:56 |
HELP----Surface Reaction UDF | Ashi | Fluent UDF and Scheme Programming | 1 | May 19, 2020 21:13 |
SR_Rate UDF For a MEMs model | timjm | Fluent UDF and Scheme Programming | 1 | October 10, 2018 02:16 |
udf problem | eb.nabizadeh | Fluent UDF and Scheme Programming | 2 | March 1, 2013 00:28 |
Installing OF 1.6 on Mac OS X | gschaider | OpenFOAM Installation | 129 | June 19, 2010 09:23 |