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

anisotropic material in CFX R13.0

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2011, 03:20
Default anisotropic material in CFX R13.0
  #1
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 15
keeper is on a distinguished road
Hi everyone,
I have a problem with defining anisotropic material in the last release of CFX.
I need to define thermal conductivity for each coordinate axis in specific value but I didn't succeed.
I tried to edit material in command editor using expression :

THERMAL CONDUCTIVITY:
Option = Orthotropic Cartesian Components
Thermal Conductivity X Component = 29 [W m^-1 K^-1]
Thermal Conductivity Y Component = 29 [W m^-1 K^-1]
Thermal Conductivity Z Component = 10 [W m^-1 K^-1]
END

But it doesn't work..

Please can anyone help me?? All suggestions are appreciated.

Thanks a lot
keeper is offline   Reply With Quote

Old   May 4, 2011, 09:42
Default
  #2
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
Attesz is an unknown quantity at this point
This ccl seems to be ok, what is your error message?
Attesz is offline   Reply With Quote

Old   May 5, 2011, 02:16
Default
  #3
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 15
keeper is on a distinguished road
Error message says that only allowed options are: value or kinetic theory model.
This ccl used to work in release 10 and 11 but it doesn't work in the latest release.
keeper is offline   Reply With Quote

Old   May 11, 2011, 04:59
Default
  #4
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 15
keeper is on a distinguished road
Is it possible to define this property by some expression??

Does anybody know how to define expression like f=(x,y,z) when I have defined x,y and z components??
keeper is offline   Reply With Quote

Old   May 11, 2011, 06:37
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can use a 3D interpolation function, if that is what you mean. If you want to set up a function like can be defined in fortran which returns a value, no this cannot be done in CEL. You will need user fortran for that.
ghorrocks is offline   Reply With Quote

Old   May 11, 2011, 06:47
Default
  #6
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 15
keeper is on a distinguished road
I have defined thermal conductivity in x,y and z direction by using expression..

cond x = .... W m^-1 K^-1
cond y = ....W m^-1 K^-1
cond z = ....W m^-1 K^-1

And now I would like to define an expression which includes these three expressions as its components (x,y,z).

Is it possible to define it this way??
keeper is offline   Reply With Quote

Old   May 17, 2011, 10:41
Default
  #7
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 15
keeper is on a distinguished road
If somebody is interested the problem can be solved by using command line in CFX Launcher > Tools > Command line using command:

cfx5cmds -read -def ________.def -text ______.txt

which transforms def file into text file. Then by simple opening by notepad and modifying property as mentioned before you can modify this txt file and using command

cfx5cmds -write -def ________.def -text ______.txt

you will obtain modified def file with desired modifications.

Hope it will help someone.....

Good luck with your simulations
evcelica and holzkiste like this.
keeper is offline   Reply With Quote

Old   June 22, 2011, 05:15
Default
  #8
New Member
 
Join Date: Jan 2011
Posts: 22
Rep Power: 15
noslip is on a distinguished road
you could also keep your anisotropy infos in a seperate .ccl and start the solver like this:

cfx5solve.exe -def yoursimulation.def -ccl youranisomaterial.ccl


youranisomaterial.ccl would contain the entire material definition including
the "replace" command and of course the values.


LIBRARY:
&replace MATERIAL: Copper
Material Group = ...
...
...

THERMAL CONDUCTIVITY:
Option = Orthotropic Cartesian Components
Thermal Conductivity X Component = ...
...
...

END
noslip is offline   Reply With Quote

Old   May 30, 2012, 04:49
Default error message sustained
  #9
Senior Member
 
Join Date: Nov 2009
Posts: 125
Rep Power: 16
mactech001 is on a distinguished road
Dear keeper, noslip,

i've met with an error message while trying to perform the steps you've recommended. the error message is attached as JPEG here.

would you mind helping me to find out what else could i have done wrong in the setup please?
Attached Images
File Type: jpg orthotropic_K error.JPG (68.3 KB, 65 views)
__________________
Thank you for your kind attention.

Kind regards,
mactech001
Currently using: ANSYS v13
mactech001 is offline   Reply With Quote

Old   May 30, 2012, 11:53
Default
  #10
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 15
keeper is on a distinguished road
sorry I cant recognize much from your jpg. Could you attach out or txt file of your simulation please?
keeper is offline   Reply With Quote

Old   November 6, 2012, 11:54
Default
  #11
New Member
 
Join Date: Jun 2010
Posts: 20
Rep Power: 15
serezhkin is on a distinguished road
In case anyone still needs this, here's the ccl I received from ANSYS customer support:

LIBRARY:
&replace MATERIAL: Anyso
Material Group = User
Option = Pure Substance
Thermodynamic State = Solid
PROPERTIES:
Option = General Material
EQUATION OF STATE:
Density = 2.645E3 [kg m^-3]
Molar Mass = 1 [kg kmol^-1]
Option = Value
END
REFERENCE STATE:
Option = Specified Point
Reference Specific Enthalpy = 0 [J kg^-1]
Reference Temperature = 25 [C]
END
SPECIFIC HEAT CAPACITY:
Option = Value
Specific Heat Capacity = 1.36E3 [J kg^-1 K^-1]
END
THERMAL CONDUCTIVITY:
Option = Orthotropic Cartesian Components
Thermal Conductivity X Component = 0.001 [W m^-1 K^-1]
Thermal Conductivity Y Component = 500 [W m^-1 K^-1]
Thermal Conductivity Z Component = 5 [W m^-1 K^-1]
#Thermal Conductivity = 175 [W m^-1 K^-1]
AXIS DEFINITION:
Option = Coordinate Axis
Rotation Axis = Coord 0.3
END
END
END
END
END
Nurzhan and Wayne1 like this.
serezhkin is offline   Reply With Quote

Old   November 16, 2012, 13:51
Default
  #12
New Member
 
Join Date: Jun 2010
Posts: 20
Rep Power: 15
serezhkin is on a distinguished road
Quote:
Originally Posted by keeper View Post
If somebody is interested the problem can be solved by using command line in CFX Launcher > Tools > Command line using command:

cfx5cmds -read -def ________.def -text ______.txt

which transforms def file into text file. Then by simple opening by notepad and modifying property as mentioned before you can modify this txt file and using command

cfx5cmds -write -def ________.def -text ______.txt

you will obtain modified def file with desired modifications.

Hope it will help someone.....

Good luck with your simulations
That is a great tip, thank you very much!
serezhkin is offline   Reply With Quote

Old   December 25, 2012, 11:36
Default Stopped in routine DEF_DIFMOLC
  #13
New Member
 
Anonymous
Join Date: Dec 2012
Posts: 3
Rep Power: 13
madhava317 is on a distinguished road
Thanks for the above suggestions. I have defined anisotropy as suggested. But I got the following error. Can any help in resolving this?



+--------------------------------------------------------------------+
| Writing crash recovery file |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine DEF_DIFMOLC |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver exited with return code 1. No results file |
| has been created. |
+--------------------------------------------------------------------+
madhava317 is offline   Reply With Quote

Old   December 26, 2012, 04:53
Default
  #14
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
CFX does give some horrible crytic error messages sometimes.

This error might be associated with something to do with molecular diffusion. You probably have some physics defined which requires a material property (associated with diffusion I am guessing) which is not defined so it bombs out with and error.

I would simplify your model until it starts working. Then add the physics one bit at a time until it crashes - then you know what is causing the problem.
ghorrocks is offline   Reply With Quote

Old   December 26, 2012, 06:11
Default
  #15
New Member
 
Anonymous
Join Date: Dec 2012
Posts: 3
Rep Power: 13
madhava317 is on a distinguished road
The problem is simple, There is cube inside air flow. Flow in X direction. The cube has heat generatlion. First case I have defined isotropic conductivity. The problem ran fine.

Then in the second run I have introduced the anisotropic material properties as mentioned in above threads. Then I got this error after single interation. I am using CFX 11
madhava317 is offline   Reply With Quote

Old   December 26, 2012, 06:14
Default
  #16
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
So it is a statement of the obvious that the problem is with the way you set the anisotropic material properties. Note that I think this is a beta feature in CFX which means they might have changed the CCL structure from what you see here. THe best way to get it working is to contact CFX support and get the CCL structure for it.

Also you will find support will probably not support V11, the current version is V14.5. So you should consider upgrading.
ghorrocks is offline   Reply With Quote

Old   February 7, 2013, 04:54
Default K(T)
  #17
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15
Mina_Shahi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
You can use a 3D interpolation function, if that is what you mean. If you want to set up a function like can be defined in fortran which returns a value, no this cannot be done in CEL. You will need user fortran for that.
Hi

I want to define thermal conductivity as a function of temperature. is that possible to do in CFX? indeed i am simulating conjugated heat transfer in CFX and i have solid part which is steel and by default there is value corresponding to 25 C however i need to give the properties as a function of temperature. Is that possible ?
solid part in my case is embedded inside a combustion chamber and the flow inside that is meant for cooling therefore the temperature gradient in the solid is quite important for us if we can't define material varying by temperature this temperature gradient has no sense,.
Mina_Shahi is offline   Reply With Quote

Old   February 7, 2013, 04:57
Default
  #18
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I am pretty sure that will work. Just try it and if it does not work it will tell you.
ghorrocks is offline   Reply With Quote

Old   February 7, 2013, 05:00
Default
  #19
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15
Mina_Shahi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
I am pretty sure that will work. Just try it and if it does not work it will tell you.
I can define it as function of (x,y,z) but not as a function of temperature since the temperature is variable and it will be calculated during the simulation so i am not sure how to do that.
Mina_Shahi is offline   Reply With Quote

Old   February 7, 2013, 05:13
Default
  #20
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Is the thermal conductivity just a function of temperature, or of other things as well? In fact, can you post the function you are trying to use?
ghorrocks 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
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 00:58
Can CFX treat anisotropic porous media? beginer CFX 2 May 8, 2013 02:10
heat generation in CFX Ema CFX 4 August 7, 2009 05:39
Electronics Enclosure Analysis with CFX Simulation Engineer CFX 1 April 22, 2009 11:08
CFX 10's solutions differ from CFX 5.7's Atit Koonsrisuk CFX 4 July 26, 2006 11:59


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