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

Creating ew material's properties.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 19, 2011, 05:20
Default Creating ew material's properties.
  #1
New Member
 
Join Date: Aug 2011
Posts: 10
Rep Power: 5
foo7 is on a distinguished road
Hello there.

Well, I'd like to know if it is possible to add new material properties, created by myself.

Thanks!
foo7 is offline   Reply With Quote

Old   September 19, 2011, 06:14
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,831
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Yes. Duplicate an existing material in the tree and edit it.
ghorrocks is offline   Reply With Quote

Old   September 19, 2011, 07:00
Default
  #3
New Member
 
Join Date: Aug 2011
Posts: 10
Rep Power: 5
foo7 is on a distinguished road
Sorry, I guess I didn't make myseof clear. What I want is to create a new property for all materials. In a way that I could call it within CEL. For example, I would create a property called PROPERTY_x, ad within CEO I would be able to write: Fluid 1.PROPERTY_x
foo7 is offline   Reply With Quote

Old   September 19, 2011, 07:36
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,831
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You cannot do this.

What is the property you wish to add?
ghorrocks is offline   Reply With Quote

Old   September 19, 2011, 07:47
Default
  #5
New Member
 
Join Date: Aug 2011
Posts: 10
Rep Power: 5
foo7 is on a distinguished road
I'm trying to simulate a gas mixture, formed by a few different gas components.
Each component's heat capacity is modeled by the following equation: a + b*T +c*T^2. In which T is the gas phase temperature and a,b and c are coefficients which vary from component to component.

So to have all the components heat capacity calculated I'd have to write the equation for each one of them. What I would like to do is create a set of material properties in which I could store the values of the parameters a,b, and c. And then call them in CEL. This way I would only need to write the equation once.
foo7 is offline   Reply With Quote

Old   September 19, 2011, 08:00
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,831
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Sorry, you cannot do this in CEL.

I would simply put the equation a+b*T+c*T^2 in as the heat capacity for each component, with the parameters substituted for a, b and c. Not very elegant but simple and CEL can handle it.

Also this sort of update is easier to do in the expression editor rather than the CFX-Pre GUI. That way you can easily copy and paste sections of CCL and CEL rather than zillions of clicks.
ghorrocks is offline   Reply With Quote

Reply

Tags
cel, expressions, materials, multi

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
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
creating new materials Gordana FLUENT 0 January 18, 2008 09:39
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02
User- defined properties of materials Vidya Raja FLUENT 0 March 1, 2006 15:28


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