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

problem with pressureInletVelocity BC in rhoSonicFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2009, 04:05
Default problem with pressureInletVelocity BC in rhoSonicFoam
  #1
tnk
New Member
 
L.E.Tonkov
Join Date: Apr 2009
Posts: 3
Rep Power: 17
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, 05:35
Default
  #2
Member
 
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 94
Rep Power: 17
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, 05:05
Default
  #3
Member
 
Julian Krick
Join Date: May 2009
Location: Guelph
Posts: 88
Rep Power: 17
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, 04:07
Default
  #4
Member
 
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 94
Rep Power: 17
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, 09:33
Default
  #5
Member
 
Julian Krick
Join Date: May 2009
Location: Guelph
Posts: 88
Rep Power: 17
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


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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
Incoherent problem table in hollow-fiber spinning Gianni FLUENT 0 April 5, 2008 11:33
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 15:52


All times are GMT -4. The time now is 23:32.