CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Pressure inlet condition (http://www.cfd-online.com/Forums/openfoam-pre-processing/64588-pressure-inlet-condition.html)

s.sivakumar May 15, 2009 09:04

Pressure inlet condition
 
1 Attachment(s)
hello all user,
I am trying to set the pressure BC at inlet, i have given pressureInletOutVelocity.
but its giving error
Starting time loop

Time = 1

DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 0.0231447, No Iterations 2
DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 0.0236254, No Iterations 2
DILUPBiCG: Solving for Uz, Initial residual = 1, Final residual = 0.0239755, No Iterations 2



gradientInternalCoeffs cannot be called for a genericFvPatchField (actual type pressureInletoutletVelocity)
on patch inlet of field p in file "/home_local/projects/CT-110_BSH/SimpleCFD_version1/0/p"
You are probably trying to solve for a field with a generic boundary condition.

From function genericFvPatchField<Type>::gradientInternalCoeffs( ) const
in file fields/fvPatchFields/basic/generic/genericFvPatchField.C at line 692.

FOAM exiting

I tried pressuerInletVelocity
also its giving the same error

i have attached my 0/p also please have look and help me do fix the problem.

with regards,
sivakumar

olesen May 18, 2009 02:16

Quote:

Originally Posted by s.sivakumar (Post 216268)
I am trying to set the pressure BC at inlet, i have given pressureInletOutVelocity.
but its giving error
...
gradientInternalCoeffs cannot be called for a genericFvPatchField (actual type pressureInletoutletVelocity)
on patch inlet of field p in file "/home_local/projects/CT-110_BSH/SimpleCFD_version1/0/p"
You are probably trying to solve for a field with a generic boundary condition.

As the error message indicates, you are trying to use an unknown BC type (thus it uses generic as a fallback). Not only is it undefined, but if you think about it, specifying a vector boundary condition (in this case velocity) for a scalar field (in this case pressure) is probably not what you want anyhow.

s.sivakumar May 18, 2009 05:00

hi,
thank you for u r message.
with friendly,
sivakumar

alac1407 October 28, 2010 23:57

Hi, everyone !
I have a problem about inlet condition
I set inlet pressure as " Total pressure model with relative pressure = 101325 Pa "
And in CFX - post, I chose Total pressure to indicate the result but it didn't exactly indicate the pressure I set in CFX - Pre
Please give me an advice!
Thank you very much in advance!


All times are GMT -4. The time now is 08:56.