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

Cel Question about Transient

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 2 Post By ghorrocks
  • 1 Post By ghorrocks
  • 1 Post By Lance
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2016, 01:31
Default Cel Question about Transient
  #1
New Member
 
Mohammad
Join Date: Aug 2016
Posts: 5
Rep Power: 9
mem_shz is on a distinguished road
Hi Everybodi..My project is a midwall cooling in gun. the innerface of the tube reach the maximum temp 2000 K in 10 milisecond and between 10 milisecond to 60 milisecond reach 300 K (as continously shooting) I have defined this function in Cel(Like step function),this function is a tarnsient temprature (Time versus temp) to give it as input i have 2 question..
1) how can i define this cycle repeatedly in total time 7 second?
(i mean after 60 milisecond reach 2000 K again in 10 milisecond and reach 300 K again in 50 milisecond)
2)where should i give it to innerface b.c ..in fixed temprature or somewhere else?
Thanks.
mem_shz is offline   Reply With Quote

Old   August 14, 2016, 03:48
Default
  #2
New Member
 
Mohammad
Join Date: Aug 2016
Posts: 5
Rep Power: 9
mem_shz is on a distinguished road
No Idea ?? Please Help Me If Anybody Can...
mem_shz is offline   Reply With Quote

Old   August 14, 2016, 07:18
Default
  #3
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
If the firing cycle repeats continuously you can use the mod function to give the time in the current firing cycle.

Is you second question what boundary condition to apply to the inner wall? The heat transfer from the gasses to the barrel is going to be complex as it covers a massive range of conditions (ambient air, then a high pressure/velocity/temperature pulse which quickly fades). I suspect you might have to do a CHT simulation to model this, but I doubt the physical models in CFX are designed to cover such a massive range of conditions.

You could just give it a go a see how close you get.
mem_shz and kabuforever like this.
ghorrocks is offline   Reply With Quote

Old   August 15, 2016, 03:51
Default
  #4
New Member
 
Mohammad
Join Date: Aug 2016
Posts: 5
Rep Power: 9
mem_shz is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
If the firing cycle repeats continuously you can use the mod function to give the time in the current firing cycle.

Is you second question what boundary condition to apply to the inner wall? The heat transfer from the gasses to the barrel is going to be complex as it covers a massive range of conditions (ambient air, then a high pressure/velocity/temperature pulse which quickly fades). I suspect you might have to do a CHT simulation to model this, but I doubt the physical models in CFX are designed to cover such a massive range of conditions.

You could just give it a go a see how close you get.
Yeah i use the mod function for 60 milisecond of my simulation (see the picture)
http://picpaste.com/Capture8-tQSzZb0s.PNG
and even run in this timesteps but my main question is how to repaet this cycle(maybe in Cel) for 7 second for my total simulation (total time 7 second).

this transient temprature is an input for innerface of barrel in my simulation and i want to contour a transient thermal response of outerface in result.
Thank You Very Much
mem_shz is offline   Reply With Quote

Old   August 15, 2016, 06:07
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
Here is some CEL which might do it:

CycleTime = mod(t,0.006[s])
TInput = if(CycleTime<0.001[s],1000[C],30[C])
mem_shz likes this.
ghorrocks is offline   Reply With Quote

Old   August 15, 2016, 07:21
Default
  #6
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Here is some CEL which might do it:

CycleTime = mod(t,0.006[s])
TInput = if(CycleTime<0.001[s],1000[C],30[C])
Dont use mod with decimal numbers: http://www.cfd-online.com/Forums/cfx...ction-mod.html
In v16 and earlier, mod may give a totally wrong result and in v17 it can result in numerical noise.
Example:
mod(0.3,0.05) should = 0, but
v16: mod(0.3,0.05) = 0.05
v17: mod(0.3,0.05) = 7.45058e-09 <--- still not zero,
mem_shz likes this.
Lance is offline   Reply With Quote

Old   August 15, 2016, 07:43
Default
  #7
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
Thanks Lance, I could recall an issue like that but I could not find it. Thanks for pointing it out.

You might be able to use the time step count instead of the physical time in the mod function.
mem_shz likes this.
ghorrocks is offline   Reply With Quote

Old   August 17, 2016, 11:33
Default
  #8
New Member
 
Mohammad
Join Date: Aug 2016
Posts: 5
Rep Power: 9
mem_shz is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Here is some CEL which might do it:

CycleTime = mod(t,0.006[s])
TInput = if(CycleTime<0.001[s],1000[C],30[C])
Oh thank you very much my friend a little mistake in mod function i have made
mem_shz is offline   Reply With Quote

Old   August 17, 2016, 11:43
Default
  #9
New Member
 
Mohammad
Join Date: Aug 2016
Posts: 5
Rep Power: 9
mem_shz is on a distinguished road
Quote:
Originally Posted by Lance View Post
Dont use mod with decimal numbers: http://www.cfd-online.com/Forums/cfx...ction-mod.html
In v16 and earlier, mod may give a totally wrong result and in v17 it can result in numerical noise.
Example:
mod(0.3,0.05) should = 0, but
v16: mod(0.3,0.05) = 0.05
v17: mod(0.3,0.05) = 7.45058e-09 <--- still not zero,
I have V17 but this expression was exactly what i want when i plot this and works for me !!
see this
http://picpaste.com/Capture9-zQugtLTm.PNG
where is the problem ??! i doubt it s correct or not...can you explain more
thanks
mem_shz is offline   Reply With Quote

Old   August 17, 2016, 20:16
Default
  #10
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
If it works for you then happy days. But proceed with caution.
ghorrocks is offline   Reply With Quote

Old   August 17, 2016, 20:40
Default
  #11
New Member
 
Join Date: Aug 2016
Posts: 17
Rep Power: 9
kabuforever is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
If the firing cycle repeats continuously you can use the mod function to give the time in the current firing cycle.

Is you second question what boundary condition to apply to the inner wall? The heat transfer from the gasses to the barrel is going to be complex as it covers a massive range of conditions (ambient air, then a high pressure/velocity/temperature pulse which quickly fades). I suspect you might have to do a CHT simulation to model this, but I doubt the physical models in CFX are designed to cover such a massive range of conditions.

You could just give it a go a see how close you get.

In such a small time scale, i think we must consider about the non-Fourier heat conduction effect. and i don't know if CFX covers this kind of problem.
kabuforever is offline   Reply With Quote

Old   August 17, 2016, 20:51
Default
  #12
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 thought non-Fourier effects became significant on the nanosecond time scale, temperatures just above 0K or extreme heating rates. This case does not seem to qualify as its time scale is milliseconds. So the Fourier heat model is applicable.
ghorrocks is offline   Reply With Quote

Old   August 17, 2016, 20:59
Default
  #13
New Member
 
Join Date: Aug 2016
Posts: 17
Rep Power: 9
kabuforever is on a distinguished road
I think the standard for non-Fourier effect should be the changing rate of temperature (in this case more than 1e4K/s) or dq/dt, not only the time scale.
kabuforever is offline   Reply With Quote

Old   August 17, 2016, 21:21
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
I don't know what the thresholds are for heating rate so cannot comment. You might be able to develop a model for non-Fourier heating in CFX, I have not looked into it. But I would certainly start with a normal Fourier heating model and get that working well before I considered it.
ghorrocks is offline   Reply With Quote

Old   August 17, 2016, 21:43
Default Cel Question about Transient
  #15
New Member
 
Join Date: Aug 2016
Posts: 17
Rep Power: 9
kabuforever is on a distinguished road
I haven't dealt with this kind of problem, but got this information from some books, non-Fourier effect might exist when the changing rate of temperature reaches 10e3 to 10e7 K/s.
kabuforever 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
Guide: How to ask a question on the forums jola Site Help, Feedback & Discussions 0 July 29, 2016 18:52
Static structural vs transient structural vs fluid structure interaction? behzad.rossoli ANSYS 0 April 25, 2016 12:32
Transient timestep question AZ1621 FLUENT 2 July 15, 2015 15:00
A question for transient boundary JON FLUENT 0 September 23, 2006 12:40
difference between false and true transient mahesh prakash Main CFD Forum 1 January 21, 1999 13:45


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