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

buoantSimpleFoam and buoantPimpleFoam fails silently

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2018, 18:20
Default buoantSimpleFoam and buoantPimpleFoam fails silently
  #1
Member
 
Chris L
Join Date: Sep 2012
Posts: 53
Rep Power: 13
vbchris is on a distinguished road
Hello,

I've run into a possible bug in OF5.0 for in the solvers buoantSimpleFoam and buoantPimpleFoam.

When running either solver, the solver encounters an error but doesn't return any faults to the command line output.

Can anyone clarify why the solver exits without giving an error?

EDIT: Some more information, if I replace the fvSolutions/fvSchemes with ones that work with simpleFoam the simpleFoam solver runs without issue.

Here is an example of the output I get when running buoyantSimpleFoam:

Code:
Create time

Create mesh for time = 0


SIMPLE: convergence criteria
    field p_rgh  tolerance 0.0001
    field U      tolerance 0.0001
    field h      tolerance 0.0001
    field "(k|epsilon|omega)"    tolerance 0.001

Reading thermophysical properties

Selecting thermodynamics package
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleEnthalpy;
}

chris@workstation: ****$
However, when I try running in parallel I get:

Code:
Create time

Create mesh for time = 0


SIMPLE: convergence criteria
    field p_rgh  tolerance 0.0001
    field U      tolerance 0.0001
    field h      tolerance 0.0001
    field "(k|epsilon|omega)"    tolerance 0.001

Reading thermophysical properties

Selecting thermodynamics package
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleEnthalpy;
}

-------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[12539,1],0]
  Exit code:    142
--------------------------------------------------------------------------

I've noticed that if I delete 0/T or 0/p I get an error.

However, if I delete 0/U the solver again returns:

Code:
Create time

Create mesh for time = 0


SIMPLE: convergence criteria
    field p_rgh  tolerance 0.0001
    field U      tolerance 0.0001
    field h      tolerance 0.0001
    field "(k|epsilon|omega)"    tolerance 0.001

Reading thermophysical properties

Selecting thermodynamics package
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleEnthalpy;
}
Here are the contents of my 0/U file:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5                                     |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField   uniform (0 0 0);

boundaryField
{
    inlet_cold
    {
        type            	flowRateInletVelocity;
        volumetricFlowRate 	constant 1.12;
        value           	uniform (0 0 0);
    }
    inlet_hot
    {
        type            	flowRateInletVelocity;
        volumetricFlowRate 	constant 6.788;
        value           	uniform (0 0 0);
    }
    outlet
    {
        type            inletOutlet;
        inletValue      uniform (0 0 0);
        value           uniform (0 0 0);
    }
	
	
    bottom_duct
    {
        type            noSlip;
    }
    upstream_duct
    {
        type            noSlip;
    }
    downstream_duct
    {
        type            noSlip;
    }
    shell
    {
        type            noSlip;
    }
    firebrick
    {
        type            noSlip;
    }
    insert
    {
        type            noSlip;
    }
    lightweight_castable
    {
        type            noSlip;
    }
}


// ************************************************************************* //
vbchris 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



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