|
[Sponsors] |
How to unit patches in the Boundary conditions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 25, 2011, 05:46 |
How to unit patches in the Boundary conditions
|
#1 |
New Member
Join Date: May 2011
Location: Germany/Bosnia
Posts: 9
Rep Power: 15 |
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 } // ************************************************** *********************** // |
|
May 25, 2011, 06:05 |
|
#2 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22 |
||
|
|
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 |
Impinging Jet Boundary Conditions | Anindya | Main CFD Forum | 25 | February 27, 2016 13:58 |
natural convection | mehrdadeng | CFX | 10 | February 25, 2011 06:25 |
Concentric tube heat exchanger (Air-Water) | Young | CFX | 5 | October 7, 2008 00:17 |
A problem about setting boundary conditions | lyang | Main CFD Forum | 0 | September 19, 1999 19:29 |