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

interFoam stops after 4 timesteps

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2022, 06:59
Smile interFoam stops after 4 timesteps
  #1
New Member
 
Malthe
Join Date: Dec 2022
Posts: 1
Rep Power: 0
malthedr is on a distinguished road
Hello everyone

Im trying to simulate a siphon using interFoam as my solver. I have finally gotten it to run, but forgot to set my internalField in the alpha.water to 1.

i then fixed this, and now my simulation only runs for 4 time steps, before it stop without any warnings og messages. What could be the course of this??

PHP Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2206                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    
version     2.0;
    
format      ascii;
    class       
volScalarField;
    
object      p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [--2 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    
inlet
    
{
        
type            totalPressure;
        
rho                rho;
        
psi                none;
        
p0                uniform 0;
        
gamma            1;
        
value           uniform 0;
    }

    
outlet
    
{
        
type            totalPressure;
        
rho                rho;
        
psi                none;
        
p0                uniform 0;
        
gamma            1;
        
value           uniform 0;
    }

    
wall
    
{
        
type            fixedFluxPressure;
        
gradient         uniform 0;
        
value            uniform    0;
    }

}


// ************************************************************************* // 
PHP Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2206                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    
version     2.0;
    
format      ascii;
    class       
volScalarField;
    
object      alpha.water;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 0 0 0 0 0 0];

internalField   uniform 1;

boundaryField
{
    
inlet
    
{
        
type            fixedValue;
        
value           uniform 0;
      
    }

    
outlet
    
{
        
type            zeroGradient;
    }

    
wall
    
{
        
type           zeroGradient;
    }

    
defaultFaces
    
{
        
type            empty;
    }
}


// ************************************************************************* // 
PHP Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2206                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    
version     2.0;
    
format      ascii;
    class       
volVectorField;
    
object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField   uniform (0 0 0);

boundaryField
{
    
inlet
    
{
        
type            pressureInletOutletVelocity;
        
value           uniform (0 0 0);
        
outletValue        uniform (0 0 0);
    }

    
outlet
    
{
        
type            pressureInletOutletVelocity;
        
value           uniform (0 0 0);
        
inletValue        uniform (0 0 0);
    }

    
wall
    
{
        
type            noSlip;
    }

    
defaultFaces
    
{
        
type            empty;
    }
}


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

phases          (water air);

water
{
    
transportModel  Newtonian;
    
nu              1.004e-06;
    
rho             999.5;
}

air
{
    
transportModel  Newtonian;
    
nu              1.51e-05;
    
rho             1.19;
}

sigma           0.07;


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

phases          (water air);

water
{
    
transportModel  Newtonian;
    
nu              1.004e-06;
    
rho             999.5;
}

air
{
    
transportModel  Newtonian;
    
nu              1.51e-05;
    
rho             1.19;
}

sigma           0.07;


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

application     interFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         30;

deltaT          0.5;

writeControl    adjustable;

writeInterval   1;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable no;

adjustTimeStep  no;

maxCo           0.5;

maxAlphaCo      0.25;

maxDeltaT       2;


// ************************************************************************* // 
malthedr 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
OpenFOAM interFOAM stops without error clester13 OpenFOAM 3 January 7, 2024 10:40
interFoam simulation crashing after ~3000 timesteps ginop OpenFOAM Running, Solving & CFD 0 January 30, 2022 01:58
InterFoam stops after deltaT goes to 1e14 francesco_b OpenFOAM Running, Solving & CFD 9 July 25, 2020 07:36
interFoam stops without error tinu80 OpenFOAM Running, Solving & CFD 6 June 20, 2019 02:35
k-e & GAMG interFoam Schemitisation Stability Issue JFM OpenFOAM Running, Solving & CFD 3 December 1, 2015 06:58


All times are GMT -4. The time now is 01:26.