|
[Sponsors] |
May 10, 2016, 03:44 |
effectivenessHeatExchangerSource
|
#1 | |
Member
Join Date: Apr 2016
Posts: 90
Rep Power: 10 |
Hi everyone,
What I'm trying to do is: to model a heat exchanger. Therefore I use "effectivnessHeatExchangerSource" I allready found one thread to http://www.cfd-online.com/Forums/openfoam-solving/125257-about-new-heatexchangereffectiveness-source.html . But since it is a bit outdated and does not solve my problems, I'm trying to refresh the topic. Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // effectivenessHeatExchangerSource1 { type effectivenessHeatExchangerSource; active true; selectionMode ???; cellZone ???; effectivenessHeatExchangerSourceCoeffs { secondaryMassFlowRate 0.1; secondaryInletT 336; primaryInletT 293; faceZone facesZoneInletOriented; outOfBounds clamp; fileName "effTable"; } } // ************************************************************************* // In the documentation it says: "faceZone is the faces at the inlet of the cellzone, it needs to be created with flip map flags." But therefore, I first have to set a faceZone ? I can do that either via patch in the blockmeshdict or via toposet? So what I know is the position of my heat exchanger, therefore I tried to do it this way with topoSetDict: First I created a cellSet from a known box. Second I created a CellZone from the previously created cellSet But how about the missing FaceZone? Do I need something like this: Quote:
Here is my current code which is not working because the zones/faces/sets are not properly defined Code:
FoamFile { version 2.0; format ascii; class dictionary; object topoSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // actions ( { name heater; type cellSet; action new; source boxToCell; sourceInfo { box (30 0 0) (33 12 8); } } { name heater; type cellZoneSet; action new; source setToCellZone; sourceInfo { set heater; // name of cellSet } } ); Thank you in advance! |
||
|
|