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

Runnin GGI interface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2009, 06:41
Default Runnin GGI interface
  #1
Member
 
Pramod
Join Date: Jul 2009
Posts: 30
Rep Power: 16
pramodopen4foam is on a distinguished road
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
pramodopen4foam is offline   Reply With Quote

Old   September 22, 2009, 07:53
Default
  #2
Member
 
Simon Lapointe
Join Date: May 2009
Location: Québec, Qc, Canada
Posts: 33
Rep Power: 16
Simon Lapointe is on a distinguished road
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
Simon Lapointe is offline   Reply With Quote

Old   September 22, 2009, 08:06
Default
  #3
Member
 
Pramod
Join Date: Jul 2009
Posts: 30
Rep Power: 16
pramodopen4foam is on a distinguished road
Quote:
Originally Posted by Simon Lapointe View Post
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 is offline   Reply With Quote

Old   September 22, 2009, 08:20
Unhappy Got an error
  #4
Member
 
Pramod
Join Date: Jul 2009
Posts: 30
Rep Power: 16
pramodopen4foam is on a distinguished road
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
pramodopen4foam is offline   Reply With Quote

Old   September 22, 2009, 08:27
Default
  #5
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 309
Rep Power: 18
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
Hi
i want to know if the GGI can run in parallel in OpenFOAM 1.6 (not 1.6.x)

3ks
wayne
waynezw0618 is offline   Reply With Quote

Old   September 22, 2009, 08:46
Default
  #6
Member
 
Simon Lapointe
Join Date: May 2009
Location: Québec, Qc, Canada
Posts: 33
Rep Power: 16
Simon Lapointe is on a distinguished road
Quote:
Originally Posted by pramodopen4foam View Post
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 is offline   Reply With Quote

Old   September 22, 2009, 08:48
Default
  #7
Member
 
Simon Lapointe
Join Date: May 2009
Location: Québec, Qc, Canada
Posts: 33
Rep Power: 16
Simon Lapointe is on a distinguished road
Quote:
Originally Posted by waynezw0618 View Post
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.
Simon Lapointe is offline   Reply With Quote

Old   September 22, 2009, 09:05
Default
  #8
Member
 
Pramod
Join Date: Jul 2009
Posts: 30
Rep Power: 16
pramodopen4foam is on a distinguished road
Quote:
Originally Posted by Simon Lapointe View Post
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:rintStack(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:olyAddFace:olyAddFace(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:olyMesh 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
Attached Files
File Type: gz Tankwithrotor.tar.gz (712 Bytes, 23 views)
pramodopen4foam is offline   Reply With Quote

Old   September 22, 2009, 10:53
Default
  #9
Member
 
Simon Lapointe
Join Date: May 2009
Location: Québec, Qc, Canada
Posts: 33
Rep Power: 16
Simon Lapointe is on a distinguished road
Quote:
Originally Posted by pramodopen4foam View Post
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:rintStack(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:olyAddFace:olyAddFace(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:olyMesh 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.
Simon Lapointe is offline   Reply With Quote

Old   September 22, 2009, 10:59
Default GGI interface not working
  #10
Member
 
Pramod
Join Date: Jul 2009
Posts: 30
Rep Power: 16
pramodopen4foam is on a distinguished road
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 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
Attached Files
File Type: gz Result_Boundary_DynMeshDict.tar.gz (80.3 KB, 26 views)
pramodopen4foam is offline   Reply With Quote

Old   September 22, 2009, 11:03
Default
  #11
Member
 
Pramod
Join Date: Jul 2009
Posts: 30
Rep Power: 16
pramodopen4foam is on a distinguished road
Quote:
Originally Posted by Simon Lapointe View Post
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.
pramodopen4foam is offline   Reply With Quote

Old   September 22, 2009, 11:11
Default
  #12
Member
 
Simon Lapointe
Join Date: May 2009
Location: Québec, Qc, Canada
Posts: 33
Rep Power: 16
Simon Lapointe is on a distinguished road
Quote:
Originally Posted by pramodopen4foam View Post
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.
Simon Lapointe is offline   Reply With Quote

Old   September 22, 2009, 11:17
Default
  #13
Member
 
Pramod
Join Date: Jul 2009
Posts: 30
Rep Power: 16
pramodopen4foam is on a distinguished road
Quote:
Originally Posted by Simon Lapointe View Post
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,
pramodopen4foam is offline   Reply With Quote

Old   March 12, 2010, 11:56
Default
  #14
Member
 
Nick Gardiner
Join Date: Apr 2009
Location: Chichester, UK
Posts: 94
Rep Power: 17
NickG is on a distinguished road
Quote:
Originally Posted by pramodopen4foam View Post
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 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
NickG is offline   Reply With Quote

Reply

Tags
ggi, mergemeshes


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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
CFX GGI Interface Error (non-overlapping) surge519 CFX 1 August 3, 2009 18:54
GGI Interface Frozen Rotor Kramer CFX 1 July 13, 2005 13:03
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 20:09


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