CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   simpleFoam airfoil2d Continuity error cannot be removed (https://www.cfd-online.com/Forums/openfoam-solving/103581-simplefoam-airfoil2d-continuity-error-cannot-removed.html)

junkie71189 June 20, 2012 22:09

simpleFoam airfoil2d Continuity error cannot be removed
 
1 Attachment(s)
Hey guys,

I'm trying to run simpleFoam for a 2D airfoil using a c-grid. I'm using the same data as the airFoil2D default case in OpenFOAM 2.1.x

I get the following error,

--> 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.
Total flux : 1e-300
Specified mass inflow : 5.43699
Specified mass outflow : 0
Adjustable mass outflow : 0


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

FOAM exiting

Could someone help me out with the following,
1. I'm not sure if this is an issue with OpenFOAM or with the grid
2. How to rectify this error

Thanks a lot guys,
Venkat

Mojtaba.a August 6, 2012 23:32

Quote:

Originally Posted by junkie71189 (Post 367564)
Hey guys,

I'm trying to run simpleFoam for a 2D airfoil using a c-grid. I'm using the same data as the airFoil2D default case in OpenFOAM 2.1.x

I get the following error,

--> 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.
Total flux : 1e-300
Specified mass inflow : 5.43699
Specified mass outflow : 0
Adjustable mass outflow : 0


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

FOAM exiting

Could someone help me out with the following,
1. I'm not sure if this is an issue with OpenFOAM or with the grid
2. How to rectify this error

Thanks a lot guys,
Venkat

Take a look at this thread:

http://www.cfd-online.com/Forums/ope...ity-error.html

junkie71189 August 7, 2012 14:16

Thanks!
 
Quote:

Originally Posted by Mojtaba.a (Post 375698)


Thank you. I'll check it out!

kalyangoparaju August 9, 2012 13:58

When you run potentialFoam, it will initialize the U field and write a new boundary condition file called phi which is not compatible with compressible flow. Just delete the phi field and if there are no other errors, your case should run perfectly :-)

A small suggestion - If you are running your case in parallel, run potentialFoam in series so that you can delete just 1 file and then decompose and run the case instead of deleting the file from all the processors.

Kalyan


All times are GMT -4. The time now is 04:50.