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

Error in porousSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2022, 04:42
Default Error in porousSimpleFoam
  #1
New Member
 
Teh Tiong Wei
Join Date: Oct 2021
Posts: 4
Rep Power: 5
wei123 is on a distinguished road
Hi all,

I am trying to implement porousSimpleFoam in my case and there is an error which I do not understand and I could not find much about it either.

Here is the error:
HTML Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2012                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : _7bdb509494-20201222 OPENFOAM=2012
Arch   : "LSB;label=32;scalar=64"
Exec   : porousSimpleFoam
Date   : Jan 17 2022
Time   : 09:01:05
Host   : MSI
PID    : 1646
I/O    : uncollated
Case   : /home/wei/OpenFOAM_files/work_ICVT/yarn1
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0


SIMPLE: no convergence criteria found. Calculations will run for 1000 steps.

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model kEpsilon
RAS
{
    RASModel        kEpsilon;
    turbulence      on;
    printCoeffs     on;
    Cmu             0.09;
    C1              1.44;
    C2              1.92;
    C3              0;
    sigmak          1;
    sigmaEps        1.3;
}

No MRF models present

No finite volume options present
Creating porosity model list from porosityProperties

Porosity region porosity1:
    selecting model: DarcyForchheimer


--> FOAM FATAL IO ERROR: (openfoam-2012)
Entry 'cellZone' has 6 excess tokens in stream

    7(insideZone1 d ( 5e+07 5e+07 5e+07 ))

file: /home/wei/OpenFOAM_files/work_ICVT/yarn1/constant/porosityProperties.porosity1 at line 22.

FOAM exiting
And here is my porosityProperties file:

HTML Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2012                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      porosityProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

porosity1
{
    type            DarcyForchheimer;

    cellZone        insideZone1

    d   (5e7 5e7 5e7);
    f   (0 0 0);

    coordinateSystem
    {
        origin  (0 0 0);
        e1      (1 0 0);
        e2      (0 1 0);
	e3	(0 0 1);
    }
}

porosity2
{
    type	    DarcyForchheimer;

    cellZone        insideZone2

    d   (5e7 5e7 5e7);
    f	(0 0 0);

    coordinateSystem
    {
	origin	(0 0 0);
	e1	(1 0 0);
	e2	(0 1 0);
	e3	(0 0 1);
    }
}

porosity3
{
    type	    DarcyForchheimer;

    cellZone        insideZone3

    d   (5e7 5e7 5e7);
    f	(0 0 0);

    coordinateSystem
    {
	origin	(0 0 0);
	e1	(1 0 0);
	e2	(0 1 0);
	e3	(0 0 1);
    }
}

// ************************************************************************* //
Can anyone explain to this what this io error means and how to resolve this?

Thanks in advance!
wei123 is offline   Reply With Quote

Old   January 17, 2022, 04:49
Default
  #2
New Member
 
Teh Tiong Wei
Join Date: Oct 2021
Posts: 4
Rep Power: 5
wei123 is on a distinguished road
Okay I finally found out it was due to the missing semi colon....
Problem solved :-)
wei123 is offline   Reply With Quote

Reply

Tags
fatal io error, porous cell zone, poroussimplefoam


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
porousSimpleFoam aban OpenFOAM 10 July 20, 2022 04:01
porousSimpleFoam ended prematurely and may have crashed. exit code 3 Vishsel OpenFOAM Running, Solving & CFD 0 May 9, 2019 07:50
How do I analyse the odd results (with porousSimpleFoam) ? deepbandivadekar OpenFOAM Running, Solving & CFD 3 January 17, 2018 06:15
[snappyHexMesh] Is it possible to set flow to laminar with porousSimpleFoam solver? Caio Martins OpenFOAM Meshing & Mesh Conversion 3 May 17, 2016 15:12
porousSimpleFoam - crash Sebaj OpenFOAM 2 January 4, 2012 17:16


All times are GMT -4. The time now is 13:17.