CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > COMSOL

velocity boundary condition at inlet and nothing outlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2022, 05:06
Unhappy velocity boundary condition at inlet and nothing outlet
  #1
New Member
 
Vernon
Join Date: Feb 2022
Posts: 8
Rep Power: 4
Vernon-CANADA is on a distinguished road
Dear all,

I'm dealing with a cfd problem and i can't find a solution so I need help.
I have a pipe in which I know the flow rate that I insert, and that's all.
Outlet, water goes in another part and I don't know the pressure.

So my flow is incompressible and stationary with k-w model since it's a rotating machine.
But I want to study pressure inside the pipe but I don't know the outlet pressure.

I tried velocity inlet and outlet with flow rate conservation but it doesn't converge.

Does anyone know what to do please?
Vernon-CANADA is offline   Reply With Quote

Old   March 22, 2022, 05:53
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Vernon-CANADA View Post
Dear all,

I'm dealing with a cfd problem and i can't find a solution so I need help.
I have a pipe in which I know the flow rate that I insert, and that's all.
Outlet, water goes in another part and I don't know the pressure.

So my flow is incompressible and stationary with k-w model since it's a rotating machine.
But I want to study pressure inside the pipe but I don't know the outlet pressure.

I tried velocity inlet and outlet with flow rate conservation but it doesn't converge.

Does anyone know what to do please?

If you are solving the incompressible flow formulation, the mass conservation is simply div v =0. The pressure equation is derived from that, there is no thermodynamic law.
In such a case, the inflow with Dirichlet and the outflow with Neumann BCs for the velocity will work. The pressure boundary conditions for the Poiisson equation are derived from the velocity BCs. You can fix arbitrary a constant value for the pressure in a point.
FMDenaro is offline   Reply With Quote

Old   March 22, 2022, 06:00
Default
  #3
New Member
 
Vernon
Join Date: Feb 2022
Posts: 8
Rep Power: 4
Vernon-CANADA is on a distinguished road
Yeah I've just tried to apply an arbitrary pressure outlet.
K-w model crashes, k-epsilon gives me negative pressures inside the pipe, what is impossible.
Did you encounter that kind of problem before?
Vernon-CANADA is offline   Reply With Quote

Old   March 22, 2022, 06:05
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Vernon-CANADA View Post
Yeah I've just tried to apply an arbitrary pressure outlet.
K-w model crashes, k-epsilon gives me negative pressures inside the pipe, what is impossible.
Did you encounter that kind of problem before?



Have you checked your setting in a model case without any turbulence model? What kind of BC for the velocity in outflow?
FMDenaro is offline   Reply With Quote

Old   March 22, 2022, 06:19
Default
  #5
New Member
 
Vernon
Join Date: Feb 2022
Posts: 8
Rep Power: 4
Vernon-CANADA is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Have you checked your setting in a model case without any turbulence model? What kind of BC for the velocity in outflow?
It's a rotating pipe, so volumic loads, monophasic water, inlet the velocity and outlet an arbitrary pressure but i have negative pressures.
I run without any turbulence to see.
Vernon-CANADA is offline   Reply With Quote

Old   March 22, 2022, 06:28
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Vernon-CANADA View Post
It's a rotating pipe, so volumic loads, monophasic water, inlet the velocity and outlet an arbitrary pressure but i have negative pressures.
I run without any turbulence to see.



Ok, let's first check the setting for a steady laminar flow at low Re number. If you have still problems you are setting wrong outflow condition.

What software are you using?
FMDenaro is offline   Reply With Quote

Old   March 22, 2022, 06:43
Default
  #7
New Member
 
Vernon
Join Date: Feb 2022
Posts: 8
Rep Power: 4
Vernon-CANADA is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Ok, let's first check the setting for a steady laminar flow at low Re number. If you have still problems you are setting wrong outflow condition.

What software are you using?
I'm using comsol multiphysics and in my previous company I was using Anys so i'm a beginner with Comsol.
The computation is running, laminar with low reynolds
Vernon-CANADA is offline   Reply With Quote

Old   March 22, 2022, 06:46
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Vernon-CANADA View Post
I'm using comsol multiphysics and in my previous company I was using Anys so i'm a beginner with Comsol.
The computation is running, laminar with low reynolds



Ok, check if you have a fully convergence and if mass conservation is ensured with your setting. If the solution appears suitable, the problem you have is with the turbulence model and its required BCs
FMDenaro is offline   Reply With Quote

Old   March 22, 2022, 11:50
Default
  #9
New Member
 
Vernon
Join Date: Feb 2022
Posts: 8
Rep Power: 4
Vernon-CANADA is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Ok, check if you have a fully convergence and if mass conservation is ensured with your setting. If the solution appears suitable, the problem you have is with the turbulence model and its required BCs
The laminar computation is over and i have an error message: "Undefined Value Found In The Equation Residual Vector"
So I have used coarse mesh and ran other analysis just to see the impact of my boundary conditions by modying.
I have another message: "failed to find a solution. Maximum number of Newton iterations reached. Returned solution is not converged"

I don't understand the problem.
It's a pipe, water goes throught and it's two parts. One fixed and another rotating.

I apply volumic load for the rotation, I apply no slip on walls, the a velocity inlet and pressure outlet.
where is the problem?
Vernon-CANADA is offline   Reply With Quote

Old   March 22, 2022, 12:02
Default
  #10
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I don’t use Comsol and that is a my limit, but at this step I would check a very simple test case like the laminar solution in a pipe with a parabolic inlet velocity and convective bcs
FMDenaro is offline   Reply With Quote

Old   March 22, 2022, 13:16
Default
  #11
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I don’t use Comsol and that is a my limit, but at this step I would check a very simple test case like the laminar solution in a pipe with a parabolic inlet velocity and convective bcs
FMDenaro is offline   Reply With Quote

Old   March 23, 2022, 04:22
Default
  #12
New Member
 
Vernon
Join Date: Feb 2022
Posts: 8
Rep Power: 4
Vernon-CANADA is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
I don’t use Comsol and that is a my limit, but at this step I would check a very simple test case like the laminar solution in a pipe with a parabolic inlet velocity and convective bcs
I have run the simple laminar study and it converges in 39s when i disable coriolis volumic loads from rotation of the pipe!

I'm crazy lol
Vernon-CANADA is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:53.