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

How to specify different material for different objects

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Amir

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2011, 06:23
Default How to specify different material for different objects
  #1
New Member
 
anu
Join Date: Aug 2011
Posts: 3
Rep Power: 14
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, 07:17
Default
  #2
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 25
stuart23 will become famous soon enoughstuart23 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, 07:38
Default
  #3
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 22
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, 09:18
Default
  #4
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 25
stuart23 will become famous soon enoughstuart23 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, 11:07
Default
  #5
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 22
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, 14:24
Default
  #6
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 25
stuart23 will become famous soon enoughstuart23 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, 15:29
Default
  #7
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 22
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, 21:46
Default
  #8
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 25
stuart23 will become famous soon enoughstuart23 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


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 00:58
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
Wall Material Maple FLUENT 4 March 13, 2009 05:39
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02


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