|
[Sponsors] |
February 7, 2011, 08:05 |
interTrackFoam faMesh error
|
#1 |
New Member
Tong Zhongyao
Join Date: Oct 2010
Posts: 10
Rep Power: 16 |
Hello everyone,
I am trying to solve a inclined film flow problem with interTrackFoam, but I am in trouble with the faMesh. This is my blockMeshDict: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (0 0 0) (0.1 0 0) (0 0.005 0) (0.1 0.005 0) (0 0.01 0) (0.1 0.01 0) (0 0 0.001) (0.1 0 0.001) (0 0.005 0.001) (0.1 0.005 0.001) (0 0.01 0.001) (0.1 0.01 0.001) ); blocks ( hex (0 1 3 2 6 7 9 8) (100 5 1) simpleGrading (1 1 1) hex (2 3 5 4 8 9 11 10) (100 5 1) simpleGrading (1 1 1) ); edges ( ); patches ( wall bottom ( (0 1 7 6) ) patch inlet1 ( (0 2 8 6) ) patch inlet2 ( (2 4 10 8) ) patch outlet ( (1 3 9 7) (3 5 11 9) ) patch freeSurface ( (4 5 11 10) ) empty frontAndBackPlanes ( (0 1 3 2) (6 7 9 8) (2 3 5 4) (8 9 11 10) ) ); mergePatchPairs ( ); // ************************************************** *********************** // And this is my faMeshDefinition: // ************************************************** ************************ // polyMeshPatches 1( freeSurface ); boundary { inlet1 { type patch; ownerPolyPatch freeSurface; neighbourPolyPatch inlet1; } inlet2 { type patch; ownerPolyPatch freeSurface; neighbourPolyPatch inlet2; } outlet { type patch; ownerPolyPatch freeSurface; neighbourPolyPatch outlet; } frontAndBack { type empty; ownerPolyPatch freeSurface; neighbourPolyPatch frontAndBackPlanes; } } // ************************************************** ************************ // And this is my error message: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Create faMesh ... Done Add faPatches ... bool faBoundaryMesh::checkDefinition(const bool report) const : Problem with boundary patch 0. The patch should start on face no 99 and the boundary file specifies 100. bool faBoundaryMesh::checkDefinition(const bool report) const : Problem with boundary patch 1. The patch should start on face no 100 and the boundary file specifies 101. bool faBoundaryMesh::checkDefinition(const bool report) const : Problem with boundary patch 2. The patch should start on face no 101 and the boundary file specifies 57. --> FOAM Serious Error : From function bool faBoundaryMesh::checkDefinition(const bool report) const in file faMesh/faBoundaryMesh/faBoundaryMesh.C at line 280 This mesh is not valid: boundary definition is in error. Done Write finite area mesh ... Done I have created the mesh with blockMesh command. I have solved the problem with one 'inlet', but when I divided the inlet boundary into two parts, the problem comes out. By the way, I can not compile the groovyBC in OpenFOAM-1.6-ext, so I have to divided the inlet into different parts to define different velocity. Has anyone successfully compiled groovyBC in OF-1.6-ext? Can anyone help me? Thanks a lot! Last edited by lionlove0903; February 7, 2011 at 15:14. |
|
February 8, 2011, 10:57 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
What was your solution for one inlet? I don't get any error when I change the patches to walls, but that is not what you want probably.
By the way, I had no problems with groovyBC for 1.6-ext. |
|
February 9, 2011, 04:23 |
|
#3 | |
New Member
Tong Zhongyao
Join Date: Oct 2010
Posts: 10
Rep Power: 16 |
Quote:
Dear Bernhard, I modified the faMeshDefinition document and deleted the 'inlet1' like this: boundary { inlet2 { type patch; ownerPolyPatch freeSurface; neighbourPolyPatch inlet2; } outlet { type patch; ownerPolyPatch freeSurface; neighbourPolyPatch outlet; } frontAndBack { type empty; ownerPolyPatch freeSurface; neighbourPolyPatch frontAndBackPlanes; } } Now the interTrackFoam works. I think maybe it is because 'inlet1' is not the 'neighbourPolyPartch' of the freeSurface Patch. But I still can not compile the groovyBC in OpenFOAM-1.6-ext. I downloaded the OpenFOAM-1.6-ext from http://openfoamwiki.net/index.php/Installation with the command: sudo apt-get install openfoam-1.6-ext. And I downloaded the GroovyBC from http://openfoamwiki.net/index.php/Contrib_groovyBC with svn. I can compile it in the OpenFOAM-1.7.1 and OpenFOAM-1.6. So my questions are: 1. Did you install OpenFOAM-1.6-ext in this way or you compiled it yourself? 2. Have you tried to run the interTrackFoam in the parallel way? Thank you very much for your reply! |
||
February 9, 2011, 04:32 |
|
#4 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
1. I've downloaded the source, and compiled using ./Allwmake
2. No, I've not run interTrackFoam in parallel yet, but I'm planning to do it in the futur. I've seen that that's not straightforward, but managable. What were your problems in installing groovyBC for 1.6-ext? Sooner or later you want to use it anyway I suppose. |
|
February 9, 2011, 04:59 |
|
#5 | |
New Member
Tong Zhongyao
Join Date: Oct 2010
Posts: 10
Rep Power: 16 |
Quote:
git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/OpenFOAM-1.6-ext then I source the bashrc in etc and ./Allwmake, but I can not compile it successfully. My system is ubuntu 10.04 32bit and I have installed the OpenFOAM-1.7.1 on it. |
||
February 9, 2011, 05:36 |
|
#6 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
I got it from the same location of course, but without error messages it is difficult to say what went wrong. Furthermore, I don't know why you want to go through compiling again, that won't solve your groovyBC problem.
|
|
February 9, 2011, 06:01 |
|
#7 | |
New Member
Tong Zhongyao
Join Date: Oct 2010
Posts: 10
Rep Power: 16 |
Quote:
When I compile groovyBC in my installed OpenFOAM-1.6-ext, the program can not find the documents because there are no such directories as in standard version OpenFOAMs. Would you please tell me what system and gcc version you are using? Thanks! |
||
February 9, 2011, 06:28 |
|
#8 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
This version was compiled on SuSE 11.1 and with gcc 4.3.2. But please a open a new topic about your installation issues, so more people will find it to help you out.
|
|
February 9, 2011, 06:32 |
|
#9 | |
New Member
Tong Zhongyao
Join Date: Oct 2010
Posts: 10
Rep Power: 16 |
Quote:
Thank you very much, Bernhard |
||
Tags |
intertrackfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
c++ libraries and solver compiling | vaina74 | OpenFOAM Installation | 13 | February 3, 2012 18:43 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |