|
[Sponsors] |
July 19, 2010, 07:51 |
Gas in tank
|
#1 |
New Member
Gleb
Join Date: Jul 2010
Posts: 1
Rep Power: 0 |
Hi all! Sorry for bad english.
So i have Rectangular paralleleriped. Bottom flate is heated to T=600K. Another plane`s T is 300K. Inside is an air. Controldict and transportProperties are from example cavity (/run/tutorials/icoFoam/cavity/) So i set Boundary conditions and generate mesh. What`s now? I think i need now fvSolve fvSchemes files. Plz help, i dont know what this files must contain. constant/polyMesh/blockMeshDict Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.6 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.01; vertices ( (0 0 0) (2 0 0) (2 1 0) (0 1 0) (0 0 1) (2 0 1) (2 1 1) (0 1 1) ); edges ( ); blocks ( hex (0 1 2 3 4 5 6 7) (20 20 20) simpleGrading (5 1 1) ); patches ( wall fixedWalls ( (0 4 7 3) (2 6 5 1) (1 5 4 0) (2 3 7 6) (4 5 6 7) ) wall fixedWallbottom ( (0 3 2 1) ) ); // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { fixedWallbottom { type zeroGradient; } fixedWalls { type zeroGradient; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform 0; boundaryField { fixedWalls { type fixedValue; value uniform 0; } fixedWallbottom { type fixedValue; value uniform 0; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object T; } // ************************************************************************* // dimensions [ 0 0 0 1 0 0 0 ]; internalField uniform 0; boundaryField { fixedWallbottom { type fixedValue; value uniform 594; } fixedWalls { type fixedValue; value uniform 297; } Last edited by therazer; July 19, 2010 at 09:23. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 05:21 |
Gas discharge from tank to tank through a pipe | Arno | FLUENT | 4 | December 28, 2010 09:52 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 08:56 |
Gas flow profiles in mixing tank | srinivas | FLUENT | 0 | November 8, 2006 04:52 |
Gas pressure question | Dan Moskal | Main CFD Forum | 0 | October 24, 2002 22:02 |