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

integral over time

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 1, 2011, 12:51
Default integral over time
  #1
New Member
 
Duarte
Join Date: Aug 2010
Location: Recife - Brasil
Posts: 3
Rep Power: 6
joseduartedasilva is on a distinguished road
I wish to calculate a quantity which is the result of the value obtained by a expression, at the present time with the value of that expression in time earlier. How can I do this in CFX?
joseduartedasilva is offline   Reply With Quote

Old   April 1, 2011, 13:56
Default
  #2
Senior Member
 
Join Date: Apr 2009
Posts: 511
Rep Power: 12
stumpy is on a distinguished road
In general you need User Fortran to do that. There is a trick using Additional Variables that can make that work, but it's a hidden feature and won't work in all cases. Search this forum for "Update Loop = TRANS_LOOP" to find that info.
stumpy is offline   Reply With Quote

Old   April 3, 2011, 06:54
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,665
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
If it is a post-processing parameter you can write the input of the function as a monitor point, export the data and do the time integral somewhere else (excel, matlab etc).
ghorrocks is offline   Reply With Quote

Old   June 14, 2011, 13:13
Smile Integral over time
  #4
New Member
 
Duarte
Join Date: Aug 2010
Location: Recife - Brasil
Posts: 3
Rep Power: 6
joseduartedasilva is on a distinguished road
stumpy,Thanks for your tip!

Using your suggestion I was able to calculate the integral over time for an expression that is a function of time. This integral represents the thermal damage caused to the biological tissue.

Now, I need to change the values ​​of density, thermal conductivity and specific heat of cells whose thermal damage (integral over time) reached a certain value. Can I do this in function of thermal damage in ANSYS CFX-? How can I do this?
.

Thanks.
J.Duarte

Last edited by joseduartedasilva; June 14, 2011 at 13:29.
joseduartedasilva is offline   Reply With Quote

Old   June 14, 2011, 14:07
Default
  #5
Senior Member
 
Join Date: Apr 2009
Posts: 511
Rep Power: 12
stumpy is on a distinguished road
You can make Thermal Conductivity and Cp a function of your Additional Variable - just enter expressions for them in your material properties. I assume this is a solid domain? If so, I don't think you can make Density variable (well, perhaps you can make it variable, but I'm not sure it will give the correct result). Perhaps you can change Cp instead of Density - if you only care about the thermal capacitance in the end, then adjust Cp to produce the same change in thermal capacitance as the change in density would have produced.
stumpy 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
Time step size and max iterations per time step pUl| FLUENT 27 May 12, 2015 20:04
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 12:50
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07:59
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
Integral of mass Imbalance drops with time TfG FLUENT 0 April 3, 2009 11:38


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