|
[Sponsors] |
Application of heat source for 1 second in a 3 seconds transient analysis |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 23, 2016, 19:24 |
Application of heat source for 1 second in a 3 seconds transient analysis
|
#1 |
Member
Shahid Parvez
Join Date: Jul 2009
Location: Pakistan
Posts: 38
Rep Power: 17 |
Hi
I want to run a transient heat transfer analysis for 3 seconds in which a heat flux on a boundary (in W m^-2) is to be switched on after 1s and then switched off after 2s. The purpose is to see how the surface cools down. How to set it in CFX-Pre. |
|
June 23, 2016, 20:51 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Some options:
Use a CEL if function heatflux = if(t>1[s],if(t<2[s],100[W],0[W]),0[W]) or heatflux = step((t-1[s])/1[s])*step((2[s]-t)/1[s])*100[W] or use a 1D interpolation function |
|
June 25, 2016, 09:08 |
|
#3 |
Member
Shahid Parvez
Join Date: Jul 2009
Location: Pakistan
Posts: 38
Rep Power: 17 |
Thanks Glenn. I really appreciate your help.
(1) In my case, the heat source is initialized from a "Profile data", lets say with the name "HeatSource". can I simply replace 100[W] with "HeatSource" in "step" function? (2) "if" function is simple, so how to use "HeatSource" with "if". |
|
June 25, 2016, 09:42 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
I have never done that with profile data but I think you can do it. Give it a go and see if it works for you.
|
|
September 3, 2016, 02:21 |
|
#5 |
Member
Shahid Parvez
Join Date: Jul 2009
Location: Pakistan
Posts: 38
Rep Power: 17 |
"if" function didn't work with profile data (may be I am not using it correctly); however, "step" function did work. The command is follow;
heatflux = step((t-1[s])/1[s])*step((2[s]-t)/1[s])*HeatFlux Where HeatFlux is initialised as profile data and then defined as user function. Thanks Glenn for the help. |
|
September 3, 2016, 09:00 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
I think the if function was introduced in ANSYS V15. If you have an older version you will only have the step function available.
|
|
Tags |
heat sources, transient |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
Transient spacial dependent heat source | Kumudu | OpenFOAM Running, Solving & CFD | 0 | October 28, 2013 12:02 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |