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

request for surfaceScalarField phi from objectRegistry region0 failed

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2024, 06:12
Default request for surfaceScalarField phi from objectRegistry region0 failed
  #1
New Member
 
Meng Huqi
Join Date: Aug 2024
Posts: 7
Rep Power: 2
Huqimeng is on a distinguished road
Dear All the professions on CFD-Online:

Yesterday, when I used denseParticleFoam to calculate the particle motions (the version of OpenFoam I used is 9.0), the errors were reported as followings:
request for surfaceScalarField phi from objectRegistry region0 failed
available objects of type surfaceScalarField are

3
(
phi.air
alphaPhi.air
alphacf
)

However, it should be noted that I customized the boundary condition files, fvschemes and fvsolution files as what tutorials presented. I added the terms of "phi phi.air" in the boundary files, which is shown as followings (take U as the example):

FoamFile
{
format ascii;
class volVectorField;
location "0";
object U.air;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
INLET
{
type fixedValue;
value uniform (0 0 0);
inletVelocity uniform (0 0 0);
phi phi.air
alpha alpha.air;
}
FAR
{
type fixedValue;
value uniform (0 0 0);
}
OUTLET
{
type fixedValue;
inletValue uniform (0 0 0);
value uniform (0 0 0);
phi phi.air;
}
DEVICE
{
type fixedValue;
value uniform (0 0 0);
}
RESERVOIR
{
type fixedValue;
value uniform (0 0 0);
}
MOUTHPIECE
{
type fixedValue;
value uniform (0 0 0);
}
OUTER-FLOWCHANNEL
{
type fixedValue;
value uniform (0 0 0);
}
DOSE-CUP
{
type fixedValue;
value uniform (0 0 0);
}
FLOWPATH
{
type fixedValue;
value uniform (0 0 0);
}
}

Did any one know what's wrong.
Huqimeng 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
Paraview 5.10.1 - error - openfoam 11 - ubuntu 22.04 lts gu1 OpenFOAM Bugs 5 July 29, 2024 10:50
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel U.Golling OpenFOAM Running, Solving & CFD 52 September 23, 2023 03:35
Initial conditions for uniform flow andreas OpenFOAM 5 November 16, 2012 15:00
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31
user defined function cfduser CFX 0 April 29, 2006 10:58


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