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

2D Axisymmetric - buoyantFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2023, 01:17
Default 2D Axisymmetric - buoyantFoam
  #1
Member
 
Khan
Join Date: Jul 2018
Posts: 45
Rep Power: 7
HumanistEngineer is on a distinguished road
My case is with the transient solver for buoyant, turbulent flow of incompressible fluids (i.e. water) by use of buoyantFoam. The idea here is to mimic the temperature transients of the sensible stratified heat storage tank with one inlet-outlet configuration.

I could manage to have a (not verified) solution for a 3D simulation, see: https://youtu.be/VYZ0ZFjI1lE

In order to reduce the computational cost, I would like to apply a 2D Axisymmetric solution for the same geometry. Then I had difficulties with the issue that the temperature degrees go beyond the physical range defined (internal volume at 25 deg-C at the initial condition with an inlet of 55 deg-C at the boundary condition) with a FOAM FATAL ERROR:

Code:
--> FOAM FATAL ERROR: 
Maximum number of iterations exceeded: 100
I've attached the files in tar including:
- gmsh geo file
i. export the mesh as msh (version 2)
ii. gmshToFoam
iii. use the boundary below
- openfoam files required (0, Constant, and System)

Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  10
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       polyBoundaryMesh;
    location    "constant/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

7
(
    outlet
    {
        type            patch;
        physicalType    patch;
        nFaces          2;
        startFace       1831;
    }
    wedge_1
    {
        type            wedge;
        physicalType    wedge;
        nFaces          978;
        startFace       1833;
    }
    wedge_2
    {
        type            wedge;
        physicalType    wedge;
        nFaces          978;
        startFace       2811;
    }
    diffuser
    {
        type            empty;
        physicalType    empty;
        nFaces          78;
        startFace       3789;
    }
    inlet
    {
        type            patch;
        physicalType    patch;
        nFaces          2;
        startFace       3867;
    }
    walls
    {
        type            wall;
        physicalType    wall;
        nFaces          84;
        startFace       3869;
    }
    defaultFaces
    {
        type            empty;
        nFaces          22;
        startFace       3953;
    }
)

// ************************************************************************* //
Attached Files
File Type: gz file.tar.gz (3.9 KB, 0 views)
HumanistEngineer is offline   Reply With Quote

Reply

Tags
axisymmetric, buoyant flows, gmsh cylinder


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
Error with the calculation of boundary cell face area magnitude in axisymmetric solve Danny_cfd Fluent UDF and Scheme Programming 3 May 11, 2021 03:10
Is ignoring the Uz component in axisymmetric simulations safe? hconel OpenFOAM Running, Solving & CFD 0 December 12, 2020 07:23
Velocity Cell Macros in 2D Axisymmetric Swirl c_023 Fluent UDF and Scheme Programming 1 February 14, 2020 10:37
Difference between Axisymmetric and Symmetric Boundary condition AS_Aero FLUENT 1 January 25, 2019 09:51
Axisymmetric Boundary condition Mohit Singh SU2 3 July 15, 2015 09:19


All times are GMT -4. The time now is 19:28.