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

Velocity boundary condition problem related

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2006, 10:23
Default Hello again, I have a case th
  #1
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Hello again,
I have a case that runs well using the conjugateFoam solver. Though, if I try to set an inflow velocity boundary condition of type pressureVelocity, I get the following error:
Starting time loop


Max Courant Number = 0.004


Time = 0.002
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0


--> FOAM FATAL ERROR : gradientInternalCoeffs cannot be called for a defaultFvPatchField.
(Actual type pressureVelocity)
You are probably trying to solve for a field with a default boundary conditions.

From function defaultFvPatchField<type>::gradientInternalCoeffs( ) const
in file fields/fvPatchFields/basicFvPatchFields/default/defaultFvPatchField.C at line 421.

FOAM exiting

It works very well with type fixedValue. Anyone can tell me what is wrong?

Dragos
dmoroian is offline   Reply With Quote

Old   October 13, 2006, 10:35
Default Can you explain more in detail
  #2
Senior Member
 
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17
panara is on a distinguished road
Can you explain more in detail your case?
geometry, BC, etc..

Daniele
panara is offline   Reply With Quote

Old   October 13, 2006, 11:03
Default I have an anular cylidrical do
  #3
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
I have an anular cylidrical domain (grey) closed at one side and opened at the other. It should resemble with a mug, a cup or a bottle. This is the solid region.
The fluid region is represented by another inner cylinder. Both the inlet (green surface) and the outlet (blue surface) are located at the opening.

Though I don't think the geometry influences the error, since I have tried the same solver on other cases and behaves similarly.

Dragos
dmoroian is offline   Reply With Quote

Old   October 16, 2006, 09:46
Default I found the problem: the type
  #4
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
I found the problem: the type is pressureInletVelocity not pressureVelocity. It was in front of my eyes all the time.
I found this by searching all the libraries in OpenFOAM

Dragos
dmoroian 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
inlet velocity boundary condition murali CFX 5 August 3, 2012 09:56
boundary condition for derivative of velocity Daiga CFX 2 December 7, 2009 18:11
Pressure Velocity boundary condition problem deepsterblue OpenFOAM Running, Solving & CFD 3 September 24, 2008 08:19
On the velocity inlet boundary condition mini FLUENT 2 June 5, 2005 21:50
Outlet velocity boundary condition Jay FLUENT 4 December 15, 2002 09:27


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