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

problem with pressureInletVelocity BC in rhoSonicFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 27, 2009, 03:05
Default problem with pressureInletVelocity BC in rhoSonicFoam
  #1
tnk
New Member
 
L.E.Tonkov
Join Date: Apr 2009
Posts: 3
Rep Power: 8
tnk is on a distinguished road
Hi, all!

I am trying to use pressureInletVelocity BC for U-field
Code:
boundaryField
{
    inlet
    {
        type            pressureInletVelocity;
        value           uniform (0 0 0);
    }
that work fine in sonicFoam solver.
However in rhoSonicFoam I'm getting the following message on fist timestep
Code:
.....    
request for surfaceScalarField phi from objectRegistry region0 failed
    available objects of type surfaceScalarField are

4
(
weightingFactors
limitedLinearVLimiter(rhoU)
differenceFactors_
phiv
)
.....

Does anyone know the cause of this error, and how to solve this?

OpenFOAM-1.5

------------
Best regards
Leonid
tnk is offline   Reply With Quote

Old   June 2, 2009, 04:35
Default
  #2
Member
 
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 91
Rep Power: 8
cliffoi is on a distinguished road
rhoSonicFoam does not use the default phi variable, but rather phiv. You must explicitely specifiy the name of the flux field in the inlet boundary definition.

boundaryField
{
inlet
{
type pressureInletVelocity;
value uniform (0 0 0);
phi phiv;
}
cliffoi is offline   Reply With Quote

Old   June 16, 2009, 04:05
Default
  #3
Member
 
Julian Krick
Join Date: May 2009
Location: Guelph
Posts: 88
Rep Power: 8
Julian K. is on a distinguished road
I encountered the same problem for rhoSonicFoam. I explicitly defined the name of the flux field in the inlet boundary definition, as you suggested, cliffoi. However, eventually, I got the very same error again.
__________________
grid generation: ICEM CFD 13.0
solver: CFX 13.0
Julian K. is offline   Reply With Quote

Old   June 17, 2009, 03:07
Default
  #4
Member
 
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 91
Rep Power: 8
cliffoi is on a distinguished road
This suggests to me the same problem but in a different place. The default name phi is used in numerous places in OpenFOAM. If you can isolate where the error is taking place, the solution should be the same or similar.
cliffoi is offline   Reply With Quote

Old   June 17, 2009, 08:33
Default
  #5
Member
 
Julian Krick
Join Date: May 2009
Location: Guelph
Posts: 88
Rep Power: 8
Julian K. is on a distinguished road
I found the correct definition for the boundary condition 'totalPressure':

Code:
...
boundaryField
{
    inlet
    {
    type            totalPressure;
    p0        uniform 1.01325e+05;
    U        U;
    phi        phi;
    rho        none;
    psi        none;
    gamma        1.4; 
    value        uniform 1.01325e+05;
    }

...
__________________
grid generation: ICEM CFD 13.0
solver: CFX 13.0
Julian K. is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Incoherent problem table in hollow-fiber spinning Gianni FLUENT 0 April 5, 2008 10:33
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


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