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

Opening a mesh file in gambit

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 5, 2006, 16:09
Default Opening a mesh file in gambit
  #1
Vidya Raja
Guest
 
Posts: n/a
Hi,

I have a geometry which was meshed partly in Gambit and then reflected onto TGrid to mesh the remaining half, since the geometry is cylindrical. The whole file now exists with the extension .msh.gz

I now want to make some modifications in the mesh and make it coarser. I tried to open the file in Gambit, but somehow or other, it just refuses to open. However, it opens up in TGrid. Since no modifications can be done on TGrid, I need to open the file in Gambit.

Can someone tell me how to do this?

Thanks, Vidya
  Reply With Quote

Old   September 5, 2006, 19:00
Default Re: Opening a mesh file in gambit
  #2
Rajit
Guest
 
Posts: n/a
Hi vidya,

Iam not sure of what iam suggesting here.Just give it a shot.

.gz extension looks like it might be a zip file.iam not sure weather gambit can unzip and read it.

Try to unzip it with a normal winzip program and try opening it in gambit.

Regards

Rajit
  Reply With Quote

Old   September 5, 2006, 19:09
Default Re: Opening a mesh file in gambit *NM*
  #3
Rajit
Guest
 
Posts: n/a
  Reply With Quote

Old   September 5, 2006, 19:11
Default Re: Opening a mesh file in gambit
  #4
Rajit
Guest
 
Posts: n/a
Hi Vidya,

Sorry about the previous mail.

Try writing a gambit neutral file in T-grid and open it in Gambit.

Regards

Rajit
  Reply With Quote

Old   September 6, 2006, 08:30
Default Re: Opening a mesh file in gambit
  #5
Vidya Raja
Guest
 
Posts: n/a
Hi Rajit,

What is a Gambit neutral file and how is it written into Tgrid?

Thanks, Vidya
  Reply With Quote

Old   September 7, 2006, 02:00
Default Re: Opening a mesh file in gambit
  #6
Rajit
Guest
 
Posts: n/a
Hi Vidaya,

I presume your problem was importing the mesh file into gambit.

You have two options 1.Try to create a file in Tgrid with .neu extension and import dat into gambit.

2.Do a file-import-mesh-change the settings to fluent/uns in the options and then select your file with .msh.gz extension. it should work.

Good luck!!

Regards

Rajit
  Reply With Quote

Old   September 7, 2006, 10:28
Default Re: Opening a mesh file in gambit
  #7
Vidya Raja
Guest
 
Posts: n/a
Hi Rajit,

I followed the 2nd option that you suggested, but used Fluent 5/6 (that's what we have), but it still doesn't open.

How do I save a file with .neu extension in TGrid?

Thanks, Vidya

  Reply With Quote

Old   September 7, 2006, 16:56
Default Re: Opening a mesh file in gambit
  #8
Rajit
Guest
 
Posts: n/a
Hi vidya,

Do you have a FTP address, which i can access. I want to try it out here.

If it is a .msh file it shud open.

In T-grid there is an option while saving the mesh file as a Gambit file. That is .neu file.

Try this.

Good luck!!

Rajit

  Reply With Quote

Old   September 7, 2006, 22:43
Default Re: Opening a mesh file in gambit
  #9
Vidya Raja
Guest
 
Posts: n/a
Hi Rajit,

I'm using the computers at school. So I do'nt have a particular FTP address.

I tried to save the file as .neu in TGrid, but there was no such option there.

This is what I did- File- Write- Mesh- then saved the mesh with a name. But I didn't see any option for creating a file with .neu extension.

Can you please explain how that's done.

Thanks, Vidya

  Reply With Quote

Old   September 20, 2006, 08:24
Default Re: Opening a mesh file in gambit
  #10
sam
Guest
 
Posts: n/a
ok vidya apply this method it should work

1. I assume u can open file in fluent. Save the file as case file

2. then in gambit . go to import >fluent > 3d

It should work
  Reply With Quote

Old   September 20, 2006, 08:45
Default Re: Opening a mesh file in gambit
  #11
Vidya Raja
Guest
 
Posts: n/a
Hi Sam,

I tried what you said, but unfortunately it didn't work. It's strange that it opens up in Fluent and Tgrid, but not in Gambit.

Also, I'm running a complex simulation using that meshed file and it's working fine. I wonder why I'm still unable to open it in Gambit.
  Reply With Quote

Old   September 21, 2006, 14:20
Default Re: Opening a mesh file in gambit
  #12
sam
Guest
 
Posts: n/a
I have done this many time. import case file of fluent in gambit as mesh file

it should work
  Reply With Quote

Old   September 22, 2006, 11:23
Default Re: Opening a mesh file in gambit
  #13
Vidya Raja
Guest
 
Posts: n/a
Hi Sam,

Sorry, it didn't work again. This is what I dis:

1. Imported the .msh.gz file into Fluent.

2. Saved the case file.

3. Fired up Gambit and tried to read the Fluent file.

Then it showed me an error in reading the header.

Did I go wrong somewhere?

Thanks.
  Reply With Quote

Old   September 22, 2006, 14:05
Default Re: Opening a mesh file in gambit
  #14
Jason
Guest
 
Posts: n/a
I don't think Gambit can read a .gz extension
  Reply With Quote

Old   September 24, 2006, 21:09
Default Re: Opening a mesh file in gambit
  #15
zxaar
Guest
 
Posts: n/a
Thats one point, second is, if the mesh has some errors gambit will just hang there. So before you export the mesh in cas format, please do the check mesh. If the check mesh comes out okey. I would do this, take that cas file, (lets say fluent.cas), I would use the utility to translate it to msh:

utility fe2ram -d3 -tRAMPANT -oRAMPANT fluent.cas > gambit.msh

This will give you gambit.msh, import this into gambit. Shall work. (I know its long method to do it, but seeing your probs this might work).
  Reply With Quote

Old   September 26, 2006, 15:53
Default Re: Opening a mesh file in gambit
  #16
Vidya Raja
Guest
 
Posts: n/a
I don't undestand what you're trying to say........ can you please explain step- by- step how to do it?

What is utility fe2ram...................... that you mentioned and where can I find it?

  Reply With Quote

Old   September 27, 2006, 20:20
Default Re: Opening a mesh file in gambit
  #17
zxaar
Guest
 
Posts: n/a
what I wrote is a console command, just open the console and write utility (to check whether you can run it or not), if you can, just try the command I wrote.
  Reply With Quote

Old   September 30, 2006, 02:43
Default Re: Opening a mesh file in gambit
  #18
sam
Guest
 
Posts: n/a
hey every body.

i have no idea why some times gambit import the mesh file and some times gives error. can any body tell me why?

  Reply With Quote

Reply


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
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 17:18
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
PHI file structure Eugene Phoenics 9 November 2, 2001 22:00


All times are GMT -4. The time now is 09:11.