CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   New user and OpenFoam 15 (http://www.cfd-online.com/Forums/openfoam-solving/58053-new-user-openfoam-15-a.html)

mike_jaworski January 25, 2009 22:59

Hi Stephen, I don't know
 
Hi Stephen,
I don't know much about the netgen tool, however, I think I've used it, or something like it in the past. It sounds more like there are problems when you go to edit the boundary file either by typos or other alterations.

However, since I'm not an expert in this stuff, I'm going to make an alternate suggestion, of sorts. There's a nice CAD-like software called SALOME which can generate meshes for you and allows you to keep track of the patch names and the like. I believe it can import IGES files (and probably several other formats besides) which means you could continue to make your geometry in your favorite CAD program, mesh it with SALOME, run CFD on it with OpenFOAM, and do whatever else you want.

The CAELinux distro has some very good flash tutorials on how to use SALOME+OpenFOAM and this might give you an idea of how your own workflow could go. You can see the tutorials here.

Good luck!
Mike J.

gwierink January 26, 2009 01:42

Hi Stephen, You write that
 
Hi Stephen,

You write that you have edited the patch names etc in the boundary file and the error message is

Expected a ')' or a '}' while reading PtrList, found on line 60 an error

file: /home/s/Desktop/cavity/constant/polyMesh/boundary at line 60.

Did you perhaps just accidentally delete or forgot to write a ')' or '}' where there should be one in the file /home/s/Desktop/cavity/constant/polyMesh/boundary at line 60 ?

Regards, Gijsbert

basilwatson January 26, 2009 03:20

here is the boundary file afte
 
here is the boundary file after I edited it
Aslo I am used to salome , and have CAE but I cant locate the tutorial , ( if I remember it also used FOAMX )

version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

7
(
patch1
{
type wall;
nFaces 5;
startFace 44;
}
patch2
{
type wall;
nFaces 5;
startFace 49;
}
patch3
{
type empty;
nFaces 11;
startFace 54;
}
patch4
{
type wall;
nFaces 6;
startFace 65;
}
patch5
{
type empty;
nFaces 11;
startFace 71;
}
patch6
{
type wall;
nFaces 6;
startFace 82;
}


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

King Regards Stephen

basilwatson January 26, 2009 03:41

Seems the tutorials are up and
 
Seems the tutorials are up and running again ,,, they weren't last time I checked , sorry about that

Stephen

gwierink January 26, 2009 04:24

Hi Stephen, Aha, there it i
 
Hi Stephen,

Aha, there it is! Your missing a ")" at the end of the file. The file should look like (note the added ")" in the end after the last "}" and before the // ***** ... **** //):

version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

7
(
patch1
{
type wall;
nFaces 5;
startFace 44;
}
patch2
{
type wall;
nFaces 5;
startFace 49;
}
patch3
{
type empty;
nFaces 11;
startFace 54;
}
patch4
{
type wall;
nFaces 6;
startFace 65;
}
patch5
{
type empty;
nFaces 11;
startFace 71;
}
patch6
{
type wall;
nFaces 6;
startFace 82;
}
)

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

Regards, Gijsbert


All times are GMT -4. The time now is 18:28.