CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

substitute patch name

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 6, 2013, 06:55
Default substitute patch name
  #1
New Member
 
Marco Müller
Join Date: Feb 2013
Posts: 5
Rep Power: 3
marco.müller is on a distinguished road
Hi,

is it possible to substitute patch names in boundary condition files, so I only have to enter them once in an include-file. If I try the following it does not work:

"include-file", i. e.:

flowVelocity (0 0 -10);
pressure 0;
turbulentKE 0.24;
turbulentOmega 1.78;
xyz patchname-from-snappy;
#inputMode merge


boundary condition file, i. e. "p":

#include "include/initialConditions"

dimensions [0 2 -2 0 0 0 0];

internalField uniform $pressure;

boundaryField
{

...

$xyz
{
type zeroGradient;
}
}



Thanks
Marco
marco.müller is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 104 September 9, 2014 13:23
[GAMBIT] periodic faces not matching Aadhavan ANSYS Meshing & Geometry 6 August 31, 2013 11:25
CheckMeshbs errors ivanyao OpenFOAM Running, Solving & CFD 2 March 11, 2009 03:34
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 14:32.