CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

substitute patch name

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

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

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;



type zeroGradient;

marco.müller is offline   Reply With Quote


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 110 April 21, 2016 11:54
[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 03:47.