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

buoyantSimpleFoam simulation collapse

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 4, 2020, 04:09
Default buoyantSimpleFoam simulation collapse
  #1
New Member
 
Pierrick LE DONNE
Join Date: Aug 2020
Location: France
Posts: 1
Rep Power: 0
OpenFoamBegins is on a distinguished road
Hello everyone,

I'm trying to simulate the interaction of a jet (secondary flow) in a turbulent mainstream flow using the buoyantSimpleFoam solver. The hot turbulent freestream (air at T=540K) is flowing over a flat plate (wall) and the cold secondary flow (air at T=300K) is injected verticaly from a plenium then a pipe (both walls) inclined at 35° compared to the plate (picture of the domain given in the file attached).

I've been able to run the simpleFoam solver on this domain, however i would like now to simulate the adiabatic temperature over the plate (with buoyantSimpleFoam), but I don't know how to set up the pressure/p_rgh initial conditions (for the others 0 files I took it from my simpleFoam simulation), and my simulation collapses after 6 or 7 iterations (it crashes at the p_rgh calculation step).

From what I've read from the OpenFoam tutos, so far I've tried to set the pressure with the "calculated" BC for all boundaries, and for my p_rgh initial BC i've put "fixedFluxPressure" (with zero gradient and 1atm value) for the walls and the two inlets, and a fixed value at the outlet (1atm as well).

My p and p_rgh 0 files are given below ($pressure is 101325):
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

#include        "include/initialConditions"

internalField   uniform $pressure;

boundaryField
{

    Blade
    {
        type            calculated;
        value		 uniform $pressure;
    }

    Pipe
    {
        type            calculated;
        value		 uniform $pressure;
    }

    CoolantInlet
    {
        type            calculated;
        value		 uniform $pressure;
    }
    
    Plenium
    {
        type            calculated;
        value		 uniform $pressure;
    }
    
    Inlet
    {
        type            calculated;
        value		 uniform $pressure;
    }
    
    Outlet
    {
        type            fixedValue;
        value		 uniform $pressure;
    }
    
    TopBoundary
    {
        type            slip;
    }
    
    FrontAndBack
    {
        type            symmetry;
    }

}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

#include        "include/initialConditions"

internalField   uniform $pressure;

boundaryField
{

    Blade
    {
        type            fixedFluxPressure;
        gradient        uniform 0;
        value           uniform $pressure;
    }

    Pipe
    {
        type            fixedFluxPressure;
        gradient        uniform 0;
        value           uniform $pressure;
    }

    CoolantInlet
    {
        type            fixedFluxPressure;
        gradient        uniform 0;
        value           uniform $pressure;
    }
    
    Plenium
    {
        type            fixedFluxPressure;
        gradient        uniform 0;
        value           uniform $pressure;
    }
    
    Inlet
    {
        type            fixedFluxPressure;
        gradient        uniform 0;
        value           uniform $pressure;
    }
    
    Outlet
    {
        type            fixedValue;
        value           uniform $pressure;
    }
    
    TopBoundary
    {
        type            slip;
    }
    
    FrontAndBack
    {
        type            symmetry;
    }

}

// ************************************************************************* //
A picture of the domain and of the p_rgh field at the latest time before the simulation crashes are attached. If someone could help me on this I would be really grateful !

Thank you
Attached Images
File Type: jpg Domain.jpg (27.1 KB, 6 views)
File Type: jpg p_rgh_collapse.jpg (42.4 KB, 8 views)
OpenFoamBegins is offline   Reply With Quote

Reply

Tags
buoyantsimplefoam, pressure field bc


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
Bubble Collapse Simulation in STAR-CCM+ JM27 STAR-CCM+ 3 January 2, 2023 06:21
Convergence Problem - Transient Simulation gemxx Main CFD Forum 0 July 15, 2018 10:36
Mapping Field Data for Mesh Regions from Another Simulation veterator OpenFOAM Pre-Processing 1 July 10, 2018 06:28
Surface Source - Fixed Temperature? robtheslob FloEFD, FloWorks & FloTHERM 18 May 12, 2017 03:28
Simulation FPEs - turbulence for transient and steady-state? DaveR OpenFOAM Running, Solving & CFD 5 March 5, 2017 16:06


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