CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   how to creat msh file from ICEM (https://www.cfd-online.com/Forums/fluent/43159-how-creat-msh-file-icem.html)

wayne December 18, 2006 06:13

how to creat msh file from ICEM
 
could any body tell me how to operate the ICEM in save a mesh to a fluent .msh file?? thanks!

myron December 18, 2006 08:30

Re: how to creat msh file from ICEM
 
Output > Select Solver > Fluent V6 > Write Input

wayne December 18, 2006 23:03

Re: how to creat msh file from ICEM
 
do i need to convert the premesh to the Unstruct mesh first? some of my friend told me that if i do not convert the mesh the fluent will not read the mesh correctly.or if you do not convert the premesh you can not find a .uns file to make .msh file. thanks!

Michael B December 19, 2006 04:57

Re: how to creat msh file from ICEM
 
NO. But ICEM and FLUENT have problems if you are trying to write in binary. Some times (great! :() It also works to check the mesh in ICEM an run the AUTOFIX whenever prompted.

wayne December 19, 2006 21:03

Re: how to creat msh file from ICEM
 
but how to creat .uns file?when i do "Write INPUT" after i choose fluent as solver,it needs .uns file,otherwise it will go on to creat .msh file. what we do now is to right click the pre-mesh in the left panel,and chooes "conver to unstruct mesh" which will creat a new .uns file,and then "Write Input" i could get the .msh file. by the way what is "AUTOFIX"?

Michael B December 20, 2006 03:36

Re: how to creat msh file from ICEM
 
the uns file is the default mesh file from fluent. just save your case before writing a mesh file and you are fine.

wayne December 20, 2006 05:43

Re: how to creat msh file from ICEM
 
first, when i save my project in ICEM before writing a mesh file i cannot find the .uns file?could you please tell me how to creat a uns file setp by step? .uns file is the mesh file in ICEM. how to read it in Fluent6? i try File-Read--Case,but i cannot open it Error: Invalid section id: 肌? Error Object: #f

Error: Error reading "C:\Documents and Settings\Administrator\1111\mytry.uns". Error Object: #f


Michael B December 20, 2006 05:45

Re: how to creat msh file from ICEM
 
No you cant read the uns file in fluent. You have to export it as A FLuent mesh file

wayne December 20, 2006 06:27

Re: how to creat msh file from ICEM
 
how can i creat the uns?could you tell me by steps? thanks!

carno December 20, 2006 07:41

Re: how to creat msh file from ICEM
 
I ICEM; go to file->mesh->load from blocking

This will write the uns file for you.

Charles December 20, 2006 17:51

Re: how to creat msh file from ICEM
 
Step-by-step:

1. Generate the pre-mesh

2. Right-click on pre-mesh and select "Convert to unstructured mesh"

3. From the mesh edit menu, run Check Mesh to make sure that everything is OK

4. Save the project

5. From the "Output" menu tab, select Fluent 6 as the solver, then set up the boundary condition types, then write out the fluent.msh file. It will ask you which *.uns file to load, but if you have saved the project, the default should be right.

6. Accept the defaults and it should write a file called fluent.msh , which always works for me.

7. Optionally, from the file menu, close the mesh, save the project, exit icem and delete the *.uns files.

8. Optionally, gzip fluent.msh, then load fluent.msh.gz in Fluent.


wayne December 20, 2006 23:25

Re: how to creat msh file from ICEM
 
what does this step 2 mean?

2. Right-click on pre-mesh and select "Convert to unstructured mesh"

what changes after "Convert to unstructured mesh",will the mesh be the unstructured mesh for fluent to calculation?is there any influence for fluent to calculation?

i do the following:

file->mesh->load from blocking

and not "Convert to unstructured mesh" and then "write input",this will also creat .msh file for fluent. IS there any differents?

thanks!

Charles December 21, 2006 01:19

Re: how to creat msh file from ICEM
 
I think the two processes are equivalent. I was just giving you a procedure that I know works correctly.


wayne December 21, 2006 02:51

Re: how to creat msh file from ICEM
 
as i know Fluent is unstruct solver,may be there will be some thing wrong with the structure . thanks!


All times are GMT -4. The time now is 14:41.