CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

New user and OpenFoam 15

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2009, 23:59
Default Hi Stephen, I don't know
  #1
Senior Member
 
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 17
mike_jaworski is on a distinguished road
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.
mike_jaworski is offline   Reply With Quote

Old   January 26, 2009, 02:42
Default Hi Stephen, You write that
  #2
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
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
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   January 26, 2009, 04:20
Default here is the boundary file afte
  #3
Member
 
Stephen
Join Date: Mar 2009
Posts: 40
Rep Power: 17
basilwatson is on a distinguished road
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 is offline   Reply With Quote

Old   January 26, 2009, 04:41
Default Seems the tutorials are up and
  #4
Member
 
Stephen
Join Date: Mar 2009
Posts: 40
Rep Power: 17
basilwatson is on a distinguished road
Seems the tutorials are up and running again ,,, they weren't last time I checked , sorry about that

Stephen
basilwatson is offline   Reply With Quote

Old   January 26, 2009, 05:24
Default Hi Stephen, Aha, there it i
  #5
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
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
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
New user and OpenFoam 15 basilwatson OpenFOAM Running, Solving & CFD 3 July 7, 2009 09:59
OpenFOAM users in Munich OpenFOAM benutzer in M%c3%bcnchen jaswi OpenFOAM 0 August 3, 2007 14:11
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix mbeaudoin OpenFOAM Installation 2 April 28, 2006 09:54
OpenFoam 12 Adding a user application class vvqf OpenFOAM Pre-Processing 3 October 27, 2005 14:18
User viscosity routine and user scalars? Jeff Siemens 3 January 6, 2003 06:26


All times are GMT -4. The time now is 07:22.