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

Boundary conditions free surface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2017, 14:41
Default Boundary conditions free surface
  #1
New Member
 
oum
Join Date: Feb 2017
Posts: 14
Rep Power: 9
oumnion is on a distinguished road
Hi,
I am new user of OF-2.3.0 and I am trying to create a free surface in the propeller tutorial but when I trying to do decomposePar I get this error. I know it has to do with the boundary condition at the inlet, but I do not know how to fix it. Can anyone help please?
the error:
Code:
Build  : 2.3.0-f5222ca19ce6                                                    
Exec   : decomposePar                                                          
Date   : May 23 2017                                                           
Time   : 12:18:47                                                              
Host   : "Mojave.HPC.MsState.Edu"                                              
PID    : 8993                                                                  
Case   : /cavs/users/oumnia/test15may/propeller                                
nProcs : 1                                                                     
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).             
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations           

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time                                                                    



Decomposing mesh region0

Create mesh

Calculating distribution of cells
Selecting decompositionMethod hierarchical

Finished decomposition in 0.25 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes
Reading hexRef8 data : cellLevel
Reading hexRef8 data : pointLevel
Reading hexRef8 data : level0Edge

Processor 0
    Number of cells = 131396
    Number of faces shared with processor 1 = 2766
    Number of processor patches = 1               
    Number of processor faces = 2766              
    Number of boundary faces = 464                

Processor 1
    Number of cells = 131396
    Number of faces shared with processor 0 = 2766
    Number of faces shared with processor 2 = 6482
    Number of processor patches = 2               
    Number of processor faces = 9248              
    Number of boundary faces = 14411              

Processor 2
    Number of cells = 131396
    Number of faces shared with processor 1 = 6482
    Number of faces shared with processor 3 = 8780
    Number of processor patches = 2               
    Number of processor faces = 15262             
    Number of boundary faces = 22186              

Processor 3
    Number of cells = 131398
    Number of faces shared with processor 2 = 8780
    Number of processor patches = 1               
    Number of processor faces = 8780              
    Number of boundary faces = 25566              

Number of processor faces = 18028
Max number of cells = 131398 (0.00114158% above average 131396)
Max number of processor patches = 2 (33.3333% above average 1.5)
Max number of faces between processors = 15262 (69.3144% above average 9014)

Time = 0


--> FOAM FATAL IO ERROR:
size 0 is not equal to the given value of 652

file: /cavs/users/oumnia/test15may/propeller/0/alpha.water.boundaryField.inlet from line 32 to line 37.

    From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
    in file /usr/local/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/Field.C at line 292.

FOAM exiting
the alpha.water file:
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      alpha.water;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 0 0 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    wall
    {
        type            zeroGradient;
    }

    inlet
    {
        type            inletOutlet;
        inletValue      uniform 0;
        value           uniform 0;
    }

    outlet
    {
        type            zeroGradient;
    }

    AMI1
    {
        type            cyclicAMI;
        value           uniform 0;
    }

    AMI2
    {
        type            cyclicAMI;
        value           uniform 0;
    }
}
oumnion is offline   Reply With Quote

Reply

Tags
boundary condition, error, free surface, propeller


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
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 16:03
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
Boundary conditions on free water surface Per OpenFOAM Running, Solving & CFD 4 October 16, 2012 04:31


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