CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Runnin GGI interface (http://www.cfd-online.com/Forums/openfoam/68490-runnin-ggi-interface.html)

pramodopen4foam September 22, 2009 06:41

Runnin GGI interface
 
Hi friends,
I am trying with a tank model with rotating propeller in it, I have got meshes from fluent and successfully converted that to foam Mesh, now my question is,

1) How to merge this 2 different meshes so that after merging I have to give rotation to propeller as explained in GGI tutorial,

2) Is stitch mesh command required after merging , since I have to rotate my propeller mesh,

can anyone help me with this,
I am very new to OpenFoam,
Thanks in advance

Simon Lapointe September 22, 2009 07:53

Hi,

1) Once you have your two meshes in foam format, you need to place them in two different case folders like "master" and "propeller". Then you use the command "mergeMeshes . master . propeller". This will a create a new timestep in the master folder with the complete mesh.

2) You don't need to use stitchMesh. Once you set up the boundary conditions properly, you can give motion to your mesh using the dynamicFvMesh "mixerGgiFvMesh" (if you want to give a constant angular velocity). You'll need to specifiy the moving and static boundaries you defined earlier.

Hope that helps

pramodopen4foam September 22, 2009 08:06

Quote:

Originally Posted by Simon Lapointe (Post 230127)
Hi,

1) Once you have your two meshes in foam format, you need to place them in two different case folders like "master" and "propeller". Then you use the command "mergeMeshes . master . propeller". This will a create a new timestep in the master folder with the complete mesh.

2) You don't need to use stitchMesh. Once you set up the boundary conditions properly, you can give motion to your mesh using the dynamicFvMesh "mixerGgiFvMesh" (if you want to give a constant angular velocity). You'll need to specifiy the moving and static boundaries you defined earlier.

Hope that helps

Thanks for your kind response Simon, will try that now :),

pramodopen4foam September 22, 2009 08:20

Got an error
 
tried with the commands MergeMeshes .body .attachment ,
I landed in error like "Wrong number of arguments, expected 4 found 2" ,
I know its because of Path error but mine is very simple both(body n attachment mesh casses) are in a folder in Desktop.
Thanks in advance,

Pramod

waynezw0618 September 22, 2009 08:27

Hi
i want to know if the GGI can run in parallel in OpenFOAM 1.6 (not 1.6.x)

3ks
wayne

Simon Lapointe September 22, 2009 08:46

Quote:

Originally Posted by pramodopen4foam (Post 230131)
tried with the commands MergeMeshes .body .attachment ,
I landed in error like "Wrong number of arguments, expected 4 found 2" ,
I know its because of Path error but mine is very simple both(body n attachment mesh casses) are in a folder in Desktop.
Thanks in advance,

Pramod

Try with a space between "." and "body" like ". body"

Simon Lapointe September 22, 2009 08:48

Quote:

Originally Posted by waynezw0618 (Post 230132)
Hi
i want to know if the GGI can run in parallel in OpenFOAM 1.6 (not 1.6.x)

3ks
wayne

I don't think GGI is available in OpenFOAM 1.6. It is available in 1.5-dev and it can run in parallel.

pramodopen4foam September 22, 2009 09:05

1 Attachment(s)
Quote:

Originally Posted by Simon Lapointe (Post 230134)
Try with a space between "." and "body" like ". body"

Thanks Simon again,
this time providing space worked, but ended in error ,


"Writing combined mesh to 0.1
Patch face has got a neighbour. Patch ID: 6. This is not allowed.
Patch face has got a neighbour. Patch ID: 6. This is not allowed.
Face: 3(50622 26674 27282) masterPointID:-1 masterEdgeID:-1 masterFaceID:-1 patchID:6 owner:109183 neighbour:109178#0 Foam::error::printStack(Foam::Ostream&) in "/home/baburao/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/baburao/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::polyAddFace::polyAddFace(Foam::face const&, int, int, int, int, int, bool, int, int, bool) in "/home/baburao/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/mergeMeshes"
#3 Foam::mergePolyMesh::addMesh(Foam::polyMesh const&) in "/home/baburao/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/mergeMeshes"
#4 main in "/home/baburao/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/mergeMeshes"
#5 __libc_start_main in "/lib/libc.so.6"
#6 Foam::regIOobject::write() const in "/home/baburao/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/mergeMeshes"


From function polyAddFace
(
const face& f,
const label owner, const label neighbour,
const label masterPointID,
const label masterEdgeID,
const label masterFaceID,
const bool flipFaceFlux,
const label patchID,
const label zoneID,
const bool zoneFlip
)
in file /home/dm2/henry/OpenFOAM/OpenFOAM-dev/src/dynamicMesh/lnInclude/polyAddFace.H at line 246.

FOAM aborting"

My question was can we successfully merge meshes in OpenFoam-1.5?
I have attached my 2 master n slave boundary files below, If possible please see this,

again thanks you very much,
Pramod

Simon Lapointe September 22, 2009 10:53

Quote:

Originally Posted by pramodopen4foam (Post 230137)
Thanks Simon again,
this time providing space worked, but ended in error ,


"Writing combined mesh to 0.1
Patch face has got a neighbour. Patch ID: 6. This is not allowed.
Patch face has got a neighbour. Patch ID: 6. This is not allowed.
Face: 3(50622 26674 27282) masterPointID:-1 masterEdgeID:-1 masterFaceID:-1 patchID:6 owner:109183 neighbour:109178#0 Foam::error::printStack(Foam::Ostream&) in "/home/baburao/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/baburao/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::polyAddFace::polyAddFace(Foam::face const&, int, int, int, int, int, bool, int, int, bool) in "/home/baburao/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/mergeMeshes"
#3 Foam::mergePolyMesh::addMesh(Foam::polyMesh const&) in "/home/baburao/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/mergeMeshes"
#4 main in "/home/baburao/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/mergeMeshes"
#5 __libc_start_main in "/lib/libc.so.6"
#6 Foam::regIOobject::write() const in "/home/baburao/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/mergeMeshes"


From function polyAddFace
(
const face& f,
const label owner, const label neighbour,
const label masterPointID,
const label masterEdgeID,
const label masterFaceID,
const bool flipFaceFlux,
const label patchID,
const label zoneID,
const bool zoneFlip
)
in file /home/dm2/henry/OpenFOAM/OpenFOAM-dev/src/dynamicMesh/lnInclude/polyAddFace.H at line 246.

FOAM aborting"

My question was can we successfully merge meshes in OpenFoam-1.5?
I have attached my 2 master n slave boundary files below, If possible please see this,

again thanks you very much,
Pramod


Yes, it is possible to merge meshes in OpenFOAM 1.5. However, I see from your error messages that you seem to be using OpenFOAM 1.5 and not 1.5-dev. If that's the case you won't be able to use GGI since it is not available in 1.5.

Concerning the mergeMeshes problems, I can't tell the problem from your boundary files.

pramodopen4foam September 22, 2009 10:59

GGI interface not working
 
1 Attachment(s)
Hi friends as I suggested mergeMeshes works in OF-1.6, but once simulation is complete we cannot see fluid passing through second domain or propeller mesh,
its clearly indicated, is GGI interface working, does propeller rotote :confused: can anyone help me in implementing GGI mesh, I ll attach my merged mesh as well as jpg of result file and DymMeshDict,
Thanks in advance,
Pramod

pramodopen4foam September 22, 2009 11:03

Quote:

Originally Posted by Simon Lapointe (Post 230151)
Yes, it is possible to merge meshes in OpenFOAM 1.5. However, I see from your error messages that you seem to be using OpenFOAM 1.5 and not 1.5-dev. If that's the case you won't be able to use GGI since it is not available in 1.5.

Concerning the mergeMeshes problems, I can't tell the problem from your boundary files.


Thanks for your reponse again Simon,
Is GGI available in OpenFoam.1-6 ???

Thanks,
Pramod.

Simon Lapointe September 22, 2009 11:11

Quote:

Originally Posted by pramodopen4foam (Post 230155)
Thanks for your reponse again Simon,
Is GGI available in OpenFoam.1-6 ???

Thanks,
Pramod.

As I mentionned in a previous post, GGI is not available in OpenFOAM 1.6. At the moment, it is only available in 1.5-dev.

pramodopen4foam September 22, 2009 11:17

Quote:

Originally Posted by Simon Lapointe (Post 230157)
As I mentionned in a previous post, GGI is not available in OpenFOAM 1.6. At the moment, it is only available in 1.5-dev.


Thank you very Much Simon,
Can we be in contact so that you can help to know this software well ,
Anticipating for your kind reply,
:)

NickG March 12, 2010 12:56

Quote:

Originally Posted by pramodopen4foam (Post 230154)
Hi friends as I suggested mergeMeshes works in OF-1.6, but once simulation is complete we cannot see fluid passing through second domain or propeller mesh,
its clearly indicated, is GGI interface working, does propeller rotote :confused: can anyone help me in implementing GGI mesh, I ll attach my merged mesh as well as jpg of result file and DymMeshDict,
Thanks in advance,
Pramod


Hi Pramod

Did you find the answer to this problem. I have the same problem when I try to run in parallel but not on one cpu.

Cheers
Nick


All times are GMT -4. The time now is 19:10.