|
[Sponsors] |
November 16, 2020, 19:50 |
2D Fan Boundary Condition
|
#1 | ||
New Member
Join Date: Oct 2020
Posts: 1
Rep Power: 0 |
Hi,
I am looking in the ventilation of a battery module. As I am new to OpenFOAM I have simplified the model as much as possible, making it both 2D and only using rectangular space claims. I am trying to determine the flow rate across each level of the battery due to different fans. How is openFOAM computing the volumetric flow rate in my fanCurve file if the model is "infinitely" deep? Can any one explain why I get the following two error with my fanCurve file. If I don't comment out lines 8-15 I get the error Quote:
Quote:
See fan curve file below. Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ // FoamFile // { // version 2.0; // format ascii; // class IOobject; // location "constant"; // object fanCurve; //} // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 5 ( (34 192.06) //(velocity pressure_jump) (40 174.60) (45 163.25) (50 151.03) (58 126.58) ) // ************************************************************************* // p initial conditions: Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { back { type empty; } bottom { type zeroGradient; } front { type empty; } inlet { type fanPressure; file "./constant/fanCurve"; outOfBounds clamp; direction in; //in | out p0 uniform 0; value uniform 0; } left { type zeroGradient; } outlet { type fixedValue; value uniform 0; } right { type zeroGradient; } submod_0 { type zeroGradient; } submod_1 { type zeroGradient; } submod_2 { type zeroGradient; } submod_3 { type zeroGradient; } submod_4 { type zeroGradient; } submod_5 { type zeroGradient; } submod_6 { type zeroGradient; } top { type zeroGradient; } } // ************************************************************************* // U initial conditions Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ 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 { back { type empty; } bottom { type noSlip; } front { type empty; } inlet { type pressureInletOutletVelocity; value uniform (0 0 0); } left { type noSlip; } outlet { type zeroGradient; } right { type noSlip; } submod_0 { type noSlip; } submod_1 { type noSlip; } submod_2 { type noSlip; } submod_3 { type noSlip; } submod_4 { type noSlip; } submod_5 { type noSlip; } submod_6 { type noSlip; } top { type noSlip; } } // ************************************************************************* // Looking to replicate the following fan: https://docs.rs-online.com/b185/A700000006481223.pdf |
|||
Tags |
2d fan, fan boundary conditions |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 14:55 |
Swirl-Velocity Specification of 2-D Fan Boundary Condition | erdenh | FLUENT | 10 | October 3, 2018 11:52 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 09:44 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 05:39 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |