CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

OpenFOAM 1.6 CreatePatch Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2009, 04:22
Default OpenFOAM 1.6 CreatePatch Problem
  #1
New Member
 
Merlin B.
Join Date: Sep 2009
Posts: 1
Rep Power: 0
TarifaPirata is on a distinguished road
Hello all,

my first posting relates to the new version of OpenFoam 1.6.x and the CreatePatchDict formulation.

Since I've updated my OF I got an error massage that says that my CreatePatchDict misses a block called patchInfo.

If I switch back to OF 1.5.x everything works fine, but it would be very nice to be able to use OF 1.6 as well.

My CreatePatchDict looks like:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object createPatcheDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

matchTolerance 1E-3;
pointSync true;
patches
(
{
name IN;
type patch;
constructFrom patches;
patches (
face-1
);
}

{
name OUT;
type patch;
constructFrom patches;
patches (
face-2
);
}

{
name WING;
type wall;
constructFrom patches;
patches (
face-7
);
}

{
name SYM;
type symmetryPlane;
constructFrom patches;
patches (
face-4
face-6
face-3
face-5
);
}
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


and the corresponding boundary file:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

7
(
face-7
{
type wall;
nFaces 60838;
startFace 3674117;
}
face-1
{
type wall;
nFaces 512;
startFace 3734955;
}
face-2
{
type wall;
nFaces 512;
startFace 3735467;
}
face-3
{
type wall;
nFaces 1024;
startFace 3735979;
}
face-4
{
type wall;
nFaces 1024;
startFace 3737003;
}
face-5
{
type wall;
nFaces 1024;
startFace 3738027;
}
face-6
{
type wall;
nFaces 1024;
startFace 3739051;
}
)

// ************************************************** *********************** //


Thanks everyone for your help!

I am curious about your suggestions since I was not able to find anything about the new syntax for createPatchDict in OF 1.6.x
TarifaPirata is offline   Reply With Quote

Old   September 10, 2009, 05:35
Default
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
There is a sample createPatchDict in the source directory ($FOAM_UTILITIES/mesh/manipulation/createPatch). Some of the entries got renamed for consistency reasons.
mattijs is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
OpenFoam 1.6 Permissions in Ubuntu 9.04 AlanR OpenFOAM Installation 14 December 28, 2009 20:45
Problem on Installing OpenFOAM 1.6 on Fedora 11 lzgwhy OpenFOAM Installation 1 August 25, 2009 12:02
Running Problem using Openfoam solver cfd_staruser OpenFOAM 5 August 14, 2009 03:28
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56


All times are GMT -4. The time now is 06:48.