CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Opening a mesh file in gambit (http://www.cfd-online.com/Forums/fluent/42236-opening-mesh-file-gambit.html)

Vidya Raja September 5, 2006 16:09

Opening a mesh file in gambit
 
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

Rajit September 5, 2006 19:00

Re: Opening a mesh file in gambit
 
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

Rajit September 5, 2006 19:09

Re: Opening a mesh file in gambit *NM*
 

Rajit September 5, 2006 19:11

Re: Opening a mesh file in gambit
 
Hi Vidya,

Sorry about the previous mail.

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

Regards

Rajit

Vidya Raja September 6, 2006 08:30

Re: Opening a mesh file in gambit
 
Hi Rajit,

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

Thanks, Vidya

Rajit September 7, 2006 02:00

Re: Opening a mesh file in gambit
 
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

Vidya Raja September 7, 2006 10:28

Re: Opening a mesh file in gambit
 
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


Rajit September 7, 2006 16:56

Re: Opening a mesh file in gambit
 
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


Vidya Raja September 7, 2006 22:43

Re: Opening a mesh file in gambit
 
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


sam September 20, 2006 08:24

Re: Opening a mesh file in gambit
 
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

Vidya Raja September 20, 2006 08:45

Re: Opening a mesh file in gambit
 
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.

sam September 21, 2006 14:20

Re: Opening a mesh file in gambit
 
I have done this many time. import case file of fluent in gambit as mesh file

it should work

Vidya Raja September 22, 2006 11:23

Re: Opening a mesh file in gambit
 
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.

Jason September 22, 2006 14:05

Re: Opening a mesh file in gambit
 
I don't think Gambit can read a .gz extension

zxaar September 24, 2006 21:09

Re: Opening a mesh file in gambit
 
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).

Vidya Raja September 26, 2006 15:53

Re: Opening a mesh file in gambit
 
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?


zxaar September 27, 2006 20:20

Re: Opening a mesh file in gambit
 
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.

sam September 30, 2006 02:43

Re: Opening a mesh file in gambit
 
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?



All times are GMT -4. The time now is 17:44.