|
[Sponsors] |
Boundary conditions for hassan hemida interFoam tutorial |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 21, 2013, 01:21 |
Boundary conditions for hassan hemida interFoam tutorial
|
#1 |
Member
vishal
Join Date: Mar 2013
Posts: 73
Rep Power: 13 |
Hello, I am also trying to simulate the InterFoam tutorial, written by Hassan Hemida, I have used the boundary conditions given below but unable to reproduce the same result as given in the tutorial for the laminar case (doing laminar case first). May anyone kindly look at the initial boundary conditions and let me know whether it is fine or not.(I am trying to simulate water jet into air using interFoam.)
For U: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / 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 { type fixedValue; value uniform (0 -0.1 0); } inletWall { type fixedValue; value uniform (0 0 0); } bottomWall { type fixedValue; value uniform (0 0 0); } atmosphere { type inletOutlet; inletValue uniform (0 0 0); value uniform (0 0 0); } frontAndBack { type empty; } } // ************************************************** *********************** // For P_rgh /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p_rgh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type zeroGradient; } inletWall { type zeroGradient; } bottomWall { type zeroGradient; } atmosphere { type totalPressure; p0 uniform 0; U U; phi phi; rho rho; psi none; gamma 1; value uniform 0; } frontAndBack { type empty; } } // ************************************************** *********************** // |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 14:06 |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
ribbed channel / simpleFoam / boundary conditions | beeo | OpenFOAM Pre-Processing | 20 | July 17, 2013 09:39 |
Boundary conditions for a free surface flow using interfoam | FrolovOY | OpenFOAM Pre-Processing | 8 | January 25, 2013 06:27 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |