How to unit patches in the Boundary conditions
hi,
im going to make heattranasfer investigation, as solver i want to use buoyantSimpleFoam. For that i want to use the existing "0"-folder from buoyantSimpleFoam. Now my problem is that the files in the folder for example for Temperature T only have 4 patches, and my part where i want to make my research have about 250 patches. And the patches from 3 to 180 have all the same Boundary conditions. So how i can put them together that i donīt have to write for each patch a line and define the Temperature. So my file now is looking like that: how can I unite the names which have the same temperature? Thank you, greets! /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.7.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 293; boundaryField { 1 { type zeroGradient; } 2 { type zeroGradient; } 3 { type fixedValue; value uniform 307.75; // 34.6 degC } 4 { type fixedValue; value uniform 307.75; // 34.6 degC } 5 { type fixedValue; value uniform 307.75; // 34.6 degC } : : : : from 6 to 179!!! : : : 180 { type fixedValue; value uniform 307.75; // 34.6 degC } 181 { type fixedValue; value uniform 307.75; // 34.6 degC } // ************************************************** *********************** // |
|
All times are GMT -4. The time now is 21:37. |