|
[Sponsors] |
known pressure-inlet velocity calculated needed |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 23, 2024, 05:24 |
known pressure-inlet velocity calculated needed
|
#1 |
New Member
Join Date: Jan 2024
Posts: 10
Rep Power: 2 |
Hi
i am using simple foam and i am not that expert in open foam the situation which i have now, that i have inlet which has known pressure and for velocity boundary i want to have something like this inlet { type fixedvalue value ( calculated calculated 0) } but the problem that simplefoam doesn't understand calculated so is there any way to use the pressure inlet as given to open foam and then tell open foam to calculate inlet velocity based on pressure and fix this calculated value for all time steps and iteration. |
|
February 26, 2024, 03:17 |
|
#2 |
Senior Member
|
||
February 26, 2024, 03:31 |
|
#3 |
New Member
Join Date: Jan 2024
Posts: 10
Rep Power: 2 |
i think it is not exactly what i want because in pressureInletOutletVelocity boundary i will need to define both pressure and velocity values
i want just to define pressure values and velocity at inlet will be calculated based on that pressure value |
|
February 26, 2024, 03:54 |
|
#4 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,068
Rep Power: 26 |
Hello,
No need to specify a velocity with pressureInletOutletVelocity Cheers, Yann |
|
February 26, 2024, 03:56 |
|
#5 |
New Member
Join Date: Jan 2024
Posts: 10
Rep Power: 2 |
but i see in the guide that there is field for velocity:
<patchName> { type pressureInletOutletVelocity; tangentialVelocity <field value>; value <field value>; // Optional entries phi phi; } and regarding this boundary where it should be exactly located in p file or u file ? and it is valid for simplefome ? |
|
February 26, 2024, 04:04 |
|
#6 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,068
Rep Power: 26 |
The tangential velocity parameter is optional: https://doc.openfoam.com/2312/tools/...utletVelocity/
This is a boundary condition for the U variable, and you can indeed use it with simpleFoam. |
|
February 26, 2024, 04:17 |
|
#7 |
New Member
Join Date: Jan 2024
Posts: 10
Rep Power: 2 |
okay so i define in the u file that the inlet is pressureInletOutletVelocity
like this: inlet { // Mandatory entries type pressureInletOutletVelocity; } and in p file i define the pressure of the in the inlet, correct ? and last question, i want this inlet velocity to be as fixed value, so i want openfoam to calculate the velocity for the first time based on pressure and fix this calculated value for all simulation, will the pressureInletOutletVelocity do that ? |
|
February 26, 2024, 04:32 |
|
#8 | |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,068
Rep Power: 26 |
Quote:
No, it will compute velocity at each timestep. You can't fix both velocity and pressure anyway. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind tunnel Boundary Conditions in Fluent | metmet | FLUENT | 6 | October 30, 2019 12:23 |
kindly help me .. i have and error at line number 147.. | m zubair | Fluent UDF and Scheme Programming | 0 | February 10, 2019 11:25 |
UDF comilation error. urgent help please | m zubair | Fluent UDF and Scheme Programming | 4 | February 10, 2019 11:19 |
Adjuting oulet pressure till inlet pressure reaches a certain value in timestep | pvpnrao | OpenFOAM Running, Solving & CFD | 2 | September 11, 2018 10:14 |
How to set up the inlet boundary condition for a low pressure case? | beastieboys6 | FLUENT | 3 | April 10, 2012 22:46 |