|
[Sponsors] |
Periodic Inlet/Outlet Boundary Condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 20, 2016, 12:14 |
Periodic Inlet/Outlet Boundary Condition
|
#1 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
Hello to all,
i have to simulate the flow in a duct and to save some time i saw many people use periodic boundary conditions at the inlet and outlet. Now i set them correctly in the blockMeshDict Code:
inlet { type cyclic; neighbourPatch outlet; faces ( (0 4 7 3) ); } outlet { type cyclic; neighbourPatch inlet; faces ( (1 2 6 5) ); } but i don't know how to set them in the initial condition file. I know the entry velocity but what should i do with the other conditions? Thanks for help, Roberto |
|
December 20, 2016, 14:45 |
|
#2 | ||
Member
Arvind Jay
Join Date: Sep 2012
Posts: 96
Rep Power: 14 |
Here are some possible options:
Quote:
Quote:
|
|||
December 20, 2016, 16:00 |
|
#3 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
Hi arvindpj,
hanks for your reply I don't understand 3 things about your suggestion comment, 1) why he used only one name for both inlet and outlet and how they are defined. I would like to take them saparated because i have to extract the velocity profile at the outlet 2) why the velocity is null 3) and this part in the p boundary condition Code:
f List<scalar> 1(-0.005); // p_OF = p_real / rho |
|
December 20, 2016, 16:33 |
|
#4 |
Member
Arvind Jay
Join Date: Sep 2012
Posts: 96
Rep Power: 14 |
I don't understand 3 things about your suggestion comment,
1) why he used only one name for both inlet and outlet and how they are defined. I would like to take them separated because i have to extract the velocity profile at the outlet There are inlet and outlet present. This set-up corresponds to a flow through a duct driven by a fan in the middle. inout in the previous post is the cyclic patch in the middle. The inlet and outlet U bc's are: Code:
inlet { type pressureInletVelocity; phi phi; value uniform (0 0 0); } outlet { type inletOutlet; inletValue uniform (0 0 0); value uniform (0 00 0); } 2) why the velocity is null Velocity is not NULL, it's BC is cyclic. and value uniform (0 0 0); is a place holder and is overridden. 3) and this part in the p boundary condition Code:
f List<scalar> 1(-0.005); // p_OF = p_real / rho The f above is a list of polynomial coefficients in the pressure jump definition delta p = f_1 + f_2 * v + f_3 * v^2 + ... Above only f_1 is assigned, f_1 = -0.005 |
|
December 20, 2016, 17:01 |
|
#5 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
Many thanks arvindpj, you are opening me a world but, unfortunately, i haven't understand yet the p boundary condition.
Is the f_1 value constant or should i calculate it? Is the condition the same for both inlet and outlet? As i mentioned the only data i know is the inlet velocity and and the flow rate. Sorry for my multiple questions |
|
December 20, 2016, 17:06 |
|
#6 | |
Member
Arvind Jay
Join Date: Sep 2012
Posts: 96
Rep Power: 14 |
Quote:
|
||
December 20, 2016, 17:26 |
|
#7 | |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
Quote:
As you can see, thanks to the image i liked, my problem is a simple 3D channel with the flow that followes the y-direction. The flow enters throught the inlet with a velocity of 0.42 m/s and this is the only data i know. Now my aim is to find the outlet velocity profile with a fully developed boundary layer. Because the length of the channel is very large, my professor suggested to me to use a periodic boundary condition to save time during the calculation. In this manner i could use a not so long channel and obtain the fully developed flow saving time. Then i have to use the outlet velocity profile as inlet profile in a second simulation (but this is another problem). I hope to have been clear. Last edited by FlyBob91; December 20, 2016 at 18:49. |
||
January 3, 2017, 11:38 |
|
#8 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
Sorry for the bump
|
|
January 3, 2017, 11:54 |
Sorry!
|
#9 |
Member
Arvind Jay
Join Date: Sep 2012
Posts: 96
Rep Power: 14 |
Opps!
In order to get a fully developed velocity profile at outlet bc, using the mapped bc would suffice. Code:
In blockMeshDict: inlet { type mappedPatch; offsetMode uniform; offset (2 0 0); // Plane to be mapped sampleRegion region0; sampleMode nearestCell; samplePatch none; faces ( (0 4 7 3) ); } In 0/U: inlet { type mapped; field U; setAverage 1; average (0.1335 0 0); // Velocity Magnitude interpolationScheme cell; value uniform (0.1335 0 0); } Cheers, |
|
January 4, 2017, 17:54 |
|
#10 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
Many thanks arvindpj
i'll test it as soon as possible. Best regards, Roberto |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 08:44 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 04:39 |
About periodic boundary condition. | kohel_11 | FLUENT | 3 | July 30, 2013 07:37 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 07:00 |