|
[Sponsors] |
![]() |
![]() |
#21 | |
Senior Member
mauricio
Join Date: Jun 2011
Posts: 173
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" |
||
![]() |
![]() |
![]() |
![]() |
#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. |
||
![]() |
![]() |
![]() |
![]() |
#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:
|
||
![]() |
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
![]() |
#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 |
||
![]() |
![]() |
![]() |
![]() |
#26 | |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 15 ![]() |
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:
|
||
![]() |
![]() |
![]() |
![]() |
#27 |
Member
Join Date: Mar 2013
Posts: 98
Rep Power: 14 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#28 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 15 ![]() |
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.
|
|
![]() |
![]() |
![]() |
![]() |
#29 |
Member
Join Date: Mar 2013
Posts: 98
Rep Power: 14 ![]() |
I had an unphysical reverse flow but the value of p and U are ok.
What is your outlet?The same of the inlet? |
|
![]() |
![]() |
![]() |
![]() |
#30 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 15 ![]() |
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...... |
|
![]() |
![]() |
![]() |
![]() |
#31 |
Member
Join Date: Mar 2013
Posts: 98
Rep Power: 14 ![]() |
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
|
|
![]() |
![]() |
![]() |
![]() |
#32 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 15 ![]() |
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? |
|
![]() |
![]() |
![]() |
![]() |
#33 |
Member
Join Date: Mar 2013
Posts: 98
Rep Power: 14 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#34 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 15 ![]() |
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)); |
|
![]() |
![]() |
![]() |
![]() |
#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 ![]() ![]() ![]() |
||
![]() |
![]() |
![]() |
![]() |
#36 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 15 ![]() |
Thank you. I got the reply one year later!
|
|
![]() |
![]() |
![]() |
![]() |
#37 | |
Member
annn
Join Date: Jun 2016
Posts: 40
Rep Power: 10 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#38 | |
New Member
bangun
Join Date: Feb 2015
Posts: 16
Rep Power: 12 ![]() |
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? |
||
![]() |
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
![]() |
#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 |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|