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

anisotropic material in CFX R13.0

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

Like Tree1Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   May 4, 2011, 03:20
Default anisotropic material in CFX R13.0
  #1
Senior Member
 
Join Date: Jul 2010
Posts: 144
Rep Power: 6
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
Posts: 355
Rep Power: 8
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: 144
Rep Power: 6
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: 144
Rep Power: 6
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: 10,651
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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: 144
Rep Power: 6
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: 144
Rep Power: 6
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
holzkiste likes this.
keeper is offline   Reply With Quote

Old   June 22, 2011, 05:15
Default
  #8
New Member
 
Join Date: Jan 2011
Posts: 17
Rep Power: 6
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: 7
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, 36 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: 144
Rep Power: 6
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, 12:54
Default
  #11
New Member
 
Join Date: Jun 2010
Posts: 20
Rep Power: 7
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
serezhkin is offline   Reply With Quote

Old   November 16, 2012, 14:51
Default
  #12
New Member
 
Join Date: Jun 2010
Posts: 20
Rep Power: 7
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, 12:36
Default Stopped in routine DEF_DIFMOLC
  #13
New Member
 
Anonymous
Join Date: Dec 2012
Posts: 3
Rep Power: 4
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, 05:53
Default
  #14
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,651
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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, 07:11
Default
  #15
New Member
 
Anonymous
Join Date: Dec 2012
Posts: 3
Rep Power: 4
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, 07:14
Default
  #16
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,651
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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, 05:54
Default K(T)
  #17
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 6
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, 05:57
Default
  #18
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,651
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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, 06:00
Default
  #19
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 6
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, 06:13
Default
  #20
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,651
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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

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
Can CFX treat anisotropic porous media? beginer CFX 2 May 8, 2013 02:10
Simulation of a single bubble with a VOF-method Suzzn CFX 18 October 2, 2009 04:18
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 04:10.