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

Lid Driven Cavity FSI: Continuity error cannot be removed by adjusting the outflow.

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By bigphil
  • 1 Post By saurabhshubham

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2018, 01:26
Default Lid Driven Cavity FSI: Continuity error cannot be removed by adjusting the outflow.
  #1
New Member
 
saurabh shubham
Join Date: Aug 2017
Posts: 7
Rep Power: 8
saurabhshubham is on a distinguished road
Hi,
I am new to openFoam. I am trying to run a lid driven cavity case with a vertical rectangular block in between, using FoamExtend.

This is the error I am getting:

Time = 0.01, iteration: 2
Current fsi under-relaxation factor: 0.01
Maximal accumulated displacement of interface points: 0.000260251
Courant Number mean: 0.0100219 max: 0.905439 velocity magnitude: 0.455274
BiCGStab: Solving for Ux, Initial residual = 0.0169969, Final residual = 3.79187e-07, No Iterations 3
BiCGStab: Solving for Uy, Initial residual = 0.036895, Final residual = 1.31522e-07, No Iterations 3


--> FOAM FATAL ERROR:
Continuity error cannot be removed by adjusting the outflow.
Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow.
Specified mass inflow : 3.45746e-09
Specified mass outflow : 2.14369e-06
Difference : 2.14023e-06
Adjustable mass outflow : 0


From function adjustPhi
(
surfaceScalarField& phi,
const volVectorField& U,
const volScalarField& p
)
in file cfdTools/general/adjustPhi/adjustPhi.C at line 150.

FOAM exiting
saurabhshubham is offline   Reply With Quote

Old   February 14, 2018, 04:47
Default
  #2
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by saurabhshubham View Post
Hi,
I am new to openFoam. I am trying to run a lid driven cavity case with a vertical rectangular block in between, using FoamExtend.

This is the error I am getting:

Time = 0.01, iteration: 2
Current fsi under-relaxation factor: 0.01
Maximal accumulated displacement of interface points: 0.000260251
Courant Number mean: 0.0100219 max: 0.905439 velocity magnitude: 0.455274
BiCGStab: Solving for Ux, Initial residual = 0.0169969, Final residual = 3.79187e-07, No Iterations 3
BiCGStab: Solving for Uy, Initial residual = 0.036895, Final residual = 1.31522e-07, No Iterations 3


--> FOAM FATAL ERROR:
Continuity error cannot be removed by adjusting the outflow.
Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow.
Specified mass inflow : 3.45746e-09
Specified mass outflow : 2.14369e-06
Difference : 2.14023e-06
Adjustable mass outflow : 0


From function adjustPhi
(
surfaceScalarField& phi,
const volVectorField& U,
const volScalarField& p
)
in file cfdTools/general/adjustPhi/adjustPhi.C at line 150.

FOAM exiting
Hi Saurabh,

I guess the challenge here is that your fluid domain is fully closed (no inlet or outlet) and you are assuming an incompressible fluid, which can be difficult for Dirichlet-Neumann FSI coupling procedures: this is because a change in the fluid interface position must not change the total volume of the fluid domain. There are other coupling methods that may work better in this case e.g. see presentation by Željko Tukovic at the OFW11: http://openfoam-extend.sourceforge.n...ributions.html: "ADDED MASS PARTITIONED FLUID-STRUCTURE INTERACTION SOLVER BASED ON ROBIN BOUNDARY CONDITION FOR PRESSURE".

If it helps, I have set up a one-way coupled version of the cavity case with flexible walls: if you PM me your email, I will send it to you.

Philip
saurabhshubham likes this.
bigphil is offline   Reply With Quote

Old   February 20, 2018, 01:58
Default
  #3
New Member
 
saurabh shubham
Join Date: Aug 2017
Posts: 7
Rep Power: 8
saurabhshubham is on a distinguished road
Hi Philip Cardiff,

Thanks for your reply.
I solved the problem. For the initial one frame i changed the pressure outlet condition as:
outlet
{
type fixedValue;
value uniform 0;
}
after that I quickly changed it to:

outlet
{
type extrapolatedPressure;
value uniform 0;
}

And it worked
bigphil likes this.
saurabhshubham is offline   Reply With Quote

Old   July 31, 2018, 01:22
Default
  #4
New Member
 
vahid
Join Date: Jan 2018
Posts: 2
Rep Power: 0
mataddor is on a distinguished road
Quote:
Originally Posted by bigphil View Post
Hi Saurabh,

I guess the challenge here is that your fluid domain is fully closed (no inlet or outlet) and you are assuming an incompressible fluid, which can be difficult for Dirichlet-Neumann FSI coupling procedures: this is because a change in the fluid interface position must not change the total volume of the fluid domain. There are other coupling methods that may work better in this case e.g. see presentation by Željko Tukovic at the OFW11: http://openfoam-extend.sourceforge.n...ributions.html: "ADDED MASS PARTITIONED FLUID-STRUCTURE INTERACTION SOLVER BASED ON ROBIN BOUNDARY CONDITION FOR PRESSURE".

If it helps, I have set up a one-way coupled version of the cavity case with flexible walls: if you PM me your email, I will send it to you.

Philip

Hello Philip,

I'm trying to solve the balloon problem, I really appreciate if you would mind sending me the set up a similar case. I have problem implementing artificial compressibility for my problem. Thank you so much. my email is seyedvahid.khodaei@gmail.com
mataddor 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
lid driven cavity varying results yasmil OpenFOAM Running, Solving & CFD 2 October 6, 2016 21:42
Continuity error cannot be removed by adjusting the outflow. Please check the velocit range_rover OpenFOAM Running, Solving & CFD 7 August 17, 2016 01:12
Continuity error cannot be removed by adjusting the outflow ufo90 OpenFOAM Running, Solving & CFD 0 December 26, 2013 03:32
2-D Lid Driven Cavity (Matlab) DaBears13 Main CFD Forum 0 May 5, 2013 04:11
Continuity error cannot be removed by adjusting the outflow fontania OpenFOAM Running, Solving & CFD 1 October 9, 2012 10:36


All times are GMT -4. The time now is 15:27.