|
[Sponsors] |
Problem with BC: Setting a pressure for Inlet |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 1, 2016, 05:42 |
Problem with BC: Setting a pressure for Inlet
|
#1 |
Member
Charles K.
Join Date: Feb 2016
Location: Germany
Posts: 37
Rep Power: 10 |
Hello Foamers,
I succesfully calculated a case with rhoSimplecFoam with the following BC: INLET patch : - for U : flowRateInletVelocity (massFlowRate) - for p : zeroGradient - for T : fixedValue OUTLET patch : - for U : pressureInletOutletVelocity - for p : fixedValue - for T : zeroGradient The results are looking good but as OpenFoam calculates the pressure at the Inlet, there is a small difference with my experimental results at this location. Now I want to try it the other way around by setting the pressure at the Inlet and defining a mass Flow at the Outlet. Unfortunately, with this setup, the calculation blows up after 1 iteration. These were the settings: INLET Patch: - for U : pressureInletVelocity - for p : fixedValue - for T : zeroGradient Outlet Patch : - for U : flowRateInletVelocity - for p : outletInlet (There is a recirculation in this Area of the Domain) - for T : inletOutlet I would be very thankful if someone could give me a hint on how to fix my problem. What is wrong with my BC? I'm wondering if it is actually possible to set up a case by defining an Inlet pressure. Cheers, Charles |
|
July 1, 2016, 07:54 |
|
#2 |
Member
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 12 |
Two thoughts:
Is it important for you to define the mass flow rate at the outlet? Try it at the inlet. In most cases, you use a totalPressure BC at the inlet. Would this be an option? |
|
July 1, 2016, 08:49 |
|
#3 | |
Member
Charles K.
Join Date: Feb 2016
Location: Germany
Posts: 37
Rep Power: 10 |
Quote:
Concerning the Mass Flow, I have to define it somewhere and if I set the pressure at the Inlet, I can't also define the massFlow there as OpenFoam always needs a certain degree of freedom. That's why I defined the mass flow at the outlet. Using totalPressure is a good ideal, I will try it out. |
||
July 1, 2016, 09:37 |
|
#4 |
Member
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 12 |
MassFlowRate, totalpressure and totalTemperature at inlet are common BCs. Of course, when you do that, you have to define for the outlet zeroGradient, zeroGradient or fixedValue (for p) and zeroGradient for T, for example.
But it always depends on your physics. |
|
Tags |
boundary condition, flowrateinletvelocity, pressureinletvelocity |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting up the pressure variation due to tornado in a duct(UDF)+animation | guillaume1990 | FLUENT | 0 | March 3, 2014 12:59 |
[snappyHexMesh] determining displacement for added points | CFDnewbie147 | OpenFOAM Meshing & Mesh Conversion | 1 | October 22, 2013 10:53 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 22:58 |
Problem with meshing and hight pressure setting | mameri | CFX | 0 | April 13, 2006 06:07 |
Hydrostatic pressure in 2-phase flow modeling (long) | DS & HB | Main CFD Forum | 0 | January 8, 2000 16:00 |