CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ANSYS Meshing & Geometry

[TGrid] Automatic meshing in Tgrid

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 28, 2012, 10:27
Red face Automatic meshing in Tgrid
  #1
New Member
 
Join Date: Aug 2012
Posts: 2
Rep Power: 0
Neix is on a distinguished road
Hy everybody,

I use a simple journal to create a mesh, but every time I change a value (number of prism layers for instance), I can't use my journal anymore because of the "automatic naming" of the software (prism-cap-n, interior-n, ..., n is a zone number assigned by Tgrid).
Is there a simple way to automaticly rename these prism-cap-n, interior-n, ..., in a journal/scheme ?

I'm quite sure not to be the first to ask this question, but I can't find any answer on this forum...

Thank you,
Neix.
Neix is offline   Reply With Quote

Old   September 2, 2012, 21:07
Default
  #2
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: Melbourne, Australia
Posts: 253
Rep Power: 15
stuart23 will become famous soon enough
Hi Neix,

I usually put the following line in my journal scripts after every command which creates a new part.

/mesh/manage/name fluid* inner_domain

This one I put after tet/init; tet/refine. This way the zone gets renamed from fluid* after it is created to inner_domain. If you are working with multiple domains etc. Put this line after every function that creates a new zone, but specify something that does not begin with fluid_____. Therefore it will not try to rename something you have already renamed.


Stu


PS. Good to see a fellow TGrid user. Everyone else is missing out on the most efficient tet generation!
__________________
http://bc247.eng.monash.edu.au
stuart23 is offline   Reply With Quote

Old   September 2, 2012, 21:42
Thumbs up
  #3
Far
Super Moderator
 
Far's Avatar
 
Sijal Ahmed Memon (turboenginner@gmail.com)
Join Date: Mar 2009
Location: Islamabad Pakistan
Posts: 3,874
Blog Entries: 6
Rep Power: 37
Far will become famous soon enoughFar will become famous soon enough
Send a message via Skype™ to Far
@stuart23: You have excellent grip on meshing softwares whether it is AM, ICEM or Tgrid.
Far is offline   Reply With Quote

Old   September 2, 2012, 22:14
Default
  #4
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: Melbourne, Australia
Posts: 253
Rep Power: 15
stuart23 will become famous soon enough
Thankyou Far, however AM is the only software that I do not use. For the same amount of time and effort, I can create a better mesh using ICEM and TGrid.

Having said that, I do think that AM still has a purpose as a reliable mesher for people who just want a hassle free mesh. I'm sure not everyone has the time to spend hours upon hours learning the ins and outs of ICEM & TGrid


Stu
__________________
http://bc247.eng.monash.edu.au
stuart23 is offline   Reply With Quote

Old   September 3, 2012, 04:35
Thumbs up Automatic meshing in Tgrid - resolved
  #5
New Member
 
Join Date: Aug 2012
Posts: 2
Rep Power: 0
Neix is on a distinguished road
Hey Stuart23,

When I said "a simple way", I didn't think of such a simple one !
I can't believe I didn't think of tring this...

Thank you very much, it works !

Just talking about Icem give me a headache. Using Tgrid is not so complicate if you don't try to optimize the grid generation, and change the parameters, and I must say the tutorials are very useful to learn how to use the software.

Have a good day,
Neix, a fellow Tgrid user.
Neix is offline   Reply With Quote

Old   January 13, 2014, 07:52
Default
  #6
Member
 
kiran Ambilpur
Join Date: Jun 2010
Posts: 34
Rep Power: 6
kiran is on a distinguished road
Send a message via Skype™ to kiran
Hi Every one

I have to write a code for smoothing iterations in TGrid by using the for loop.

(cx-gui-do cx-activate-item "MenuBar*ToolsSubMenu*Auto Node Move...")
(cx-gui-do cx-set-list-selections "Auto Node Move*Frame2*DropDownList1(Cell Zones)" '( 1))
(cx-gui-do cx-activate-item "Auto Node Move*Frame2*DropDownList1(Cell Zones)")

I hope that you people can understand this scheme program.

Now I m facing the problem to change the number "1" (Second line of code Drop down list ) to 2,3 and so on using For loop in Scheme language.

I have more than 5 cells zones in mesh.

I hope you can help me in this regard.

Thanks
Kiran
kiran is offline   Reply With Quote

Reply

Tags
automatic naming, prism-cap, tgrid

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Automatic meshing acoustica ANSYS Meshing & Geometry 1 January 11, 2011 11:20
using Tgrid meshing from gambit with FIdap philippe FLUENT 0 September 30, 2008 03:50
meshing a wing with tgrid sandeep varma FLUENT 2 April 16, 2007 03:38
Tgrid meshing around cylinders in GAMBIT Chris FLUENT 3 March 5, 2003 07:43
TGRID & Meshing Eric FLUENT 3 February 13, 2002 10:52


All times are GMT -4. The time now is 04:18.