CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Mesh Generation (https://www.cfd-online.com/Forums/fluent/33030-mesh-generation.html)

Jonathan VanderSteen February 13, 2004 09:27

Mesh Generation
 
Hello Fluent users,

I am a new Fluent user and an old time CFX user and am trying to make the adjustments to a new code.

Is anyone out there writing their own meshes from scratch? I am looking at creating my own mesh in MATLAB and importing it into Fluent. I know this was easy and useful in CFX 4.4, but I imagine it will be more complicated in Fluent because of the unstructured code.

If anyone has any experience with this, do you have any comments on the ease and feasibility?

Jonathan

Rob Hart February 13, 2004 20:11

Re: Mesh Generation
 
Yeah, don't expect much help from fluent. I think after about 3 days of trying to write a mesh file that fluent could read, I had something that *didn't* crash fluent - although it still didn't actually work.

I think you need to have a long read of the relevant section of the manual, and then very carefully think about how you will create the data that is needed.

It is very easy to get confused.

Be patient

Rob

Anton February 14, 2004 21:41

Re: Mesh Generation
 
May I ask why you are doing this? I'm just curious as to what type of exotic mesh you are trying to create that supposedly cannot be created in Gambit or ICEMcfd, for example. Or this just an exercise in coding?

Rob Hart February 15, 2004 04:10

Re: Mesh Generation
 
Well, it was partly an exercise in programming, but more because I thought it would be easier to express the geometry I wanted in my own program, than to struggle trying to explain it to Gambit.

When it comes down to it, I have 15 years of experience in programming, and only a few weeks (spread out over two years) with Gambit. It's not that I don't believe gambit could do it - in fact it is probably fairly easy for somebody who knows what they're doing. It's just for me, I am much more fluent in code.

Despite my earlier warning, it only took a few minutes to write the code that generated the nodal coordinates, it just took a long time to get my head around what was needed to tell fluent how to connect them all together. I suspect the problem was that my mesh was essentially "structured", but the fluent file-format is designed for "unstructured" and so needs a lot more information than I had designed my program to create.

I did spend a while looking for a "structured" file format that I could create more easily, and then import into either gambit or fluent, but docs for these sort of things seems to be thin on the ground.


andrew February 15, 2004 20:51

Re: Mesh Generation
 
You could output your mesh in the GAMBIT neutral format, (which is described in detail in appendix C of the gambit user's guide) and then import this into fluent. I haven't tried it, but the information on the format is quite in depth. Good Luck

cheers, andrew

Rob Hart February 16, 2004 03:54

Re: Mesh Generation
 
hmm, my gambit user guide stops at Appendix B!!

Maybe it's time to upgrade? What version do you have?

Rob

Jonathan VanderSteen February 16, 2004 09:19

Re: Mesh Generation
 
I echo Rob's reply. You just have a lot more control when you write your own mesh. It makes mesh refinement studies much simplier and the entire process can be completed more quickly.

And like I said this was very powerful and easy with structured code.

I will look at the Gambit Neutral Format. I was also looking at the Fidap Neutral Format. It looks like it might be a little more intuitive. Does anyone have any thoughts on that?

Jonathan

andrew February 16, 2004 20:28

Re: Mesh Generation
 
Hi Rob, I have version 2.0.4, you can google for the users guide on the net

http://www.google.com/search?hl=en&i...f-8&c2coff=1&q=%22GAMBIT+USER%27S+GUIDE%22&spell=1

I think you have to use the second or third link down, or from the fluent users site

http://www.fluentusers.com/gambit2/doc/doc_f.htm

i hope this helps.

cheers andrew


All times are GMT -4. The time now is 13:24.