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

How to specify different material for different objects

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

Like Tree1Likes
  • 1 Post By Amir

Reply
 
LinkBack Thread Tools Display Modes
Old   August 15, 2011, 07:23
Default How to specify different material for different objects
  #1
New Member
 
anu
Join Date: Aug 2011
Posts: 3
Rep Power: 5
enigma6666 is on a distinguished road
Hi

Can anybody specify how to define different material for two objects in fluent?

Thanks
enigma6666 is offline   Reply With Quote

Old   August 16, 2011, 08:17
Default
  #2
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 15
stuart23 will become famous soon enough
You must have the two objects meshed as separate volumes in your input mesh. You could potentially mesh each volume separately and append one mesh to another (or use Tmerge). Fluent will read your .msh(s) and recognize that there are two interior zones. Then in "Cell Zone Conditions" you can specify the material for the two objects. Hope this helps.

Stu
stuart23 is offline   Reply With Quote

Old   August 16, 2011, 08:38
Default
  #3
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 737
Blog Entries: 1
Rep Power: 13
Amir is on a distinguished road
Quote:
Originally Posted by stuart23 View Post
You must have the two objects meshed as separate volumes in your input mesh. You could potentially mesh each volume separately and append one mesh to another (or use Tmerge). Fluent will read your .msh(s) and recognize that there are two interior zones. Then in "Cell Zone Conditions" you can specify the material for the two objects. Hope this helps.

Stu
Dear stuart,
It is not necessary to have separate zones in input mesh; it's also possible to do that in FLUENT by marking and separating desired volumes.
__________________
Amir
Amir is offline   Reply With Quote

Old   August 16, 2011, 10:18
Default
  #4
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 15
stuart23 will become famous soon enough
Amir, that is true, but not very easy to accomplish if the model is complicated. I would still suggest keeping the volumes separate from the CAD geometry all the way through the mesher and into the solver.
stuart23 is offline   Reply With Quote

Old   August 16, 2011, 12:07
Default
  #5
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 737
Blog Entries: 1
Rep Power: 13
Amir is on a distinguished road
Quote:
Originally Posted by stuart23 View Post
Amir, that is true, but not very easy to accomplish if the model is complicated. I would still suggest keeping the volumes separate from the CAD geometry all the way through the mesher and into the solver.
I don't agree with you! this procedure is applicable for any geometry because you can mark your desired zones in different ways; e.g. for worst cases, you can use temporary memory for iso-value marking.
I prefer this method because you shouldn't concern about grid generation in complicated cases; i.e., using mapped typologies is more probable by this method; furthermore, this method is also useful for omitting threads. For example, try to mesh a pipe with a circular hole on its boundary with mapped topology, which procedure do you think is more efficient?
__________________
Amir
Amir is offline   Reply With Quote

Old   August 16, 2011, 15:24
Default
  #6
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 15
stuart23 will become famous soon enough
Hi Amir,

I'm afraid I do not quite follow what you mean. I understand how to mark enclosed elements using an inequality (isosurface), however I do not understand what value you could use to differentiate between the seperate volumes.

Please clarify this techinque, I am always eager to learn more and more about how different people do things!

Stu
stuart23 is offline   Reply With Quote

Old   August 16, 2011, 16:29
Default
  #7
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 737
Blog Entries: 1
Rep Power: 13
Amir is on a distinguished road
Quote:
Originally Posted by stuart23 View Post
Hi Amir,

I'm afraid I do not quite follow what you mean. I understand how to mark enclosed elements using an inequality (isosurface), however I do not understand what value you could use to differentiate between the seperate volumes.

Please clarify this techinque, I am always eager to learn more and more about how different people do things!

Stu
Hi,

In this method, you need to know where your desired zones are located mathematically; then you need a UDF with an on-demand macro which assign an arbitrary value to your temporary memory (UDM) and then, you can mark and separate these zones via iso-values. As you noticed, regardless of complexities of zones, you can implement this method if you can interpret these zones as mathematical relations; i.e., f(x,y,z)=0 (as its boundary); it's obvious that you can use couple of these relations simultaneously in one UDF. The other restriction is that the boundaries generated are not very exact because it's separated from elements which is expected.
I know that this method is not fully general, maybe in cases in which there are some zones that we can't find exact math relations, but I find it very helpful in many cases which reduces mesh elements and improves its quality considerably.

hope that helps you
stuart23 likes this.
__________________
Amir
Amir is offline   Reply With Quote

Old   August 16, 2011, 22:46
Default
  #8
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 15
stuart23 will become famous soon enough
Ahhhhh, I hadn't thought of that. It is a very clever way to separate volume regions. I can see it being difficult for complex geometry though (i.e. freeform surfaces and such)

Stu
stuart23 is offline   Reply With Quote

Reply

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
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
Simulation of a single bubble with a VOF-method Suzzn CFX 18 October 2, 2009 05:18
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 09:07
Wall Material Maple FLUENT 4 March 13, 2009 07:39
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02


All times are GMT -4. The time now is 00:45.