|
[Sponsors] |
July 29, 2013, 17:41 |
|
#21 | |
Senior Member
mauricio
Join Date: Jun 2011
Posts: 172
Rep Power: 18 |
Quote:
i cannot access OF right now but i guess that this value is a scalar . The tangential velocity might be a scalar or a vector depending on what OF is asking. i cant check the files atm. when i reach them ill try to post a better reply. l8r
__________________
Best Regards /calim "Elune will grant us the strength" |
||
September 14, 2013, 11:10 |
|
#22 | |
Member
Frank Ubber
Join Date: Aug 2013
Posts: 32
Rep Power: 13 |
Quote:
I also use simpleFoam, so I want to keep rho out of my calculation until postprocessing. |
||
October 4, 2013, 18:46 |
|
#23 | |
Senior Member
Join Date: Nov 2012
Posts: 171
Rep Power: 14 |
Hi All,
About the boundary condition presureinletoutletvelocity, I have a question: for outflow, zero gradient, ok, it is clear. for inflow, from the description we can see that for inflow the velocity is obtained from the patch-face normal component of the internal-cell value. Actually it is also zero gradient! So what is the difference between this case and outflow? Any comments? Quote:
|
||
October 9, 2013, 01:08 |
|
#24 |
Member
Dr. B T KANNAN
Join Date: Jul 2011
Location: CHENNAI (MADRAS), INDIA
Posts: 55
Rep Power: 15 |
Velocity is a vector quantity.
Use it as shown below... tangentialVelocity uniform (0 0 0); // this is an additional condition that you can specify on a patch -- KANNAN |
|
December 10, 2013, 17:42 |
|
#25 | |
Member
Join Date: Aug 2013
Posts: 50
Rep Power: 13 |
Quote:
i simulate the centrifugal fan as well and get higher static pressure at inlet and lower static pressure at outlet. I set the massflow at inlet with zeroGradient pressure and at outlet zeroGradient velocity and fixedValue pressure zero. have you or anyone now how to fix this ? thanks -nash |
||
January 23, 2014, 07:36 |
|
#26 | |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Hi All,
If the inlet and outlet are very far from the flow of interest like the airfoil here, I mean the computational domain is large compared to the airfoil, Can I use pressureinletoutletvelocity (for U) and totalPressure (for p) for both inlet and outlet? Because I use the above options but near the inlet BC there are always unphysical solutions like very large velocity, sometimes like a vortex (positive and negative appearing at the same time there). I am not sure if this is caused by the not reason BC setting. Thank you for any comments. Quote:
|
||
January 23, 2014, 10:22 |
|
#27 |
Member
Join Date: Mar 2013
Posts: 98
Rep Power: 13 |
It is possible that your boundary condition setting give you unphysical results. In my work I tried this kind of boundary condition setting (pressureInletOutletvelocity for inlet and outlet) and they give me wrong results as you.
what is your physical inlet boundary condition? If is a flux that enter in the domain there isn't reason to set a pressureInletOutletVelocity in the inlet for U. |
|
January 23, 2014, 10:29 |
|
#28 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Actually it is an open atomshperic inlet (or strictly it is not an inlet). Sometimes the flow can enter the domain but sometimes it will flow out. How does your unphysical look like? Mine is always: unphysical pressure (very large) and so unphysical velocity. Actually the flow there should be very 'quiet'. Thank you.
|
|
January 23, 2014, 10:42 |
|
#29 |
Member
Join Date: Mar 2013
Posts: 98
Rep Power: 13 |
I had an unphysical reverse flow but the value of p and U are ok.
What is your outlet?The same of the inlet? |
|
January 23, 2014, 10:44 |
|
#30 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
When I use the same condition for inlet and outlet, i.e. pressureinletOutletVelocity for U and totalPressure for p, the flow near the outlet is correct. The unphysical problem lies near the inlet.
I think reverse flow from this kind of BC is normal...... |
|
January 23, 2014, 11:05 |
|
#31 |
Member
Join Date: Mar 2013
Posts: 98
Rep Power: 13 |
not in my case, but my simulation had also mesh problem so I'm not sure that the problem is the boundary condition setting.. In any case, for a well posed problem you have to set the pressure in one side and the U in the other.. With your boundary condition setting you set the pressure both in inlet and outlet...Try to change, if possible, the outlet boundary condition
|
|
January 23, 2014, 11:08 |
|
#32 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Thank you for your suggestions.
Now I am trying: for inlet: U: pressureinletOutletVelocity p: totalPressure for outlet: U: inletOutlet p: zeroGradient The case is running and not sure this will improve it. Theoretically speaking this should be fine. Did you try the above options in your simulations? |
|
January 23, 2014, 11:41 |
|
#33 |
Member
Join Date: Mar 2013
Posts: 98
Rep Power: 13 |
I didn't try their because I decided to change the boundary and put a wall on one hand (I haven't the necessity tho have two open side in my simulation). I'm not sure that your new setting work properly beacause when there is outflow in both boundaries the soler setted the pressure in both side.
Say me if with this setting the solver work without problem |
|
January 23, 2014, 12:31 |
|
#34 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Hi giack,
If I use the following setting for the totalPressure: Code:
// type totalPressure; // p0 uniform 0; // U U; // phi phi; // rho none; // psi none; // gamma 1.4; // value uniform 0; Code:
operator==(p0p - 0.5*(1.0 - pos(phip))*magSqr(Up)); |
|
January 27, 2015, 04:45 |
|
#35 | |
Member
Thomas Vossel
Join Date: Aug 2013
Location: Germany
Posts: 45
Rep Power: 13 |
Quote:
... or ... As a positive flux should indicate a flux out of the domain it'll just apply while if there's a flux into the domain it'll subtract the term from . I guess that's why this BC is suitable for being used for a velocity inlet as it changes the pressure according to U for an inward flux... |
||
January 27, 2015, 05:48 |
|
#36 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Thank you. I got the reply one year later!
|
|
July 28, 2016, 11:38 |
|
#37 | |
Member
annn
Join Date: Jun 2016
Posts: 40
Rep Power: 10 |
Quote:
|
||
August 25, 2017, 15:01 |
|
#38 | |
New Member
bangun
Join Date: Feb 2015
Posts: 16
Rep Power: 11 |
Quote:
Have you got an answer to your question? I also think the same. I am just thinking, could it be the boundary conditions of velocity are not always zero gradient, but is a fixed gradient. Only in the case of zero gradient, then regardless inflow or outflow, the two conditions are actually the same. What do you think? |
||
May 13, 2019, 04:59 |
|
#39 |
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 7 |
Hello Everyone,
I am modelling a fluid flow from a rectangular pipe. You can see in the figure attached. (yellow region is fluid, and green region is pipe). I know the Pressure, Velocity and Temperature of the fluid at the inlet. Now, if due to some reason, some temperature rise from the outside of the pipe occurs, that will also raise the temperature of the fluid, then at the outlet the temperature of the fluid will be different. How can I find the temperature at the outlet? And what boundary conditions for pressure, velocity and temperature would be suitable at inlet and outlet? I shall be very thankful if someone can help me out in this. Thank you |
|
July 11, 2019, 13:49 |
|
#40 | |
New Member
Josh Williams
Join Date: Jun 2018
Location: Scotland
Posts: 8
Rep Power: 8 |
Quote:
Code:
This velocity inlet/outlet boundary condition is applied to pressure boundaries where the pressure is specified. A zero-gradient condtion is applied for outflow (as defined by the flux); for inflow, the velocity is obtained from the patch-face normal component of the internal-cell value. The tangential patch velocity can be optionally specified. \heading Patch usage \table Property | Description | Required | Default value phi | flux field name | no | phi tangentialVelocity | tangential velocity field | no | \endtable |
||
|
|