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

user CEL or Junction Box?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2010, 18:07
Default user CEL or Junction Box?
  #1
Member
 
chenkai
Join Date: May 2010
Location: munich
Posts: 44
Rep Power: 15
xck1986 is on a distinguished road
hi everyone,

I have already calculated all the Temperatur of a nuclear fuel rod, now I want to divide die whole fuel rod into 20 equal parts, and want to calculate the mean temperatur of the every 20 parts.
How can I realise it? with USER CEL or Junction Box.

thanks!!!
xck1986 is offline   Reply With Quote

Old   May 29, 2010, 18:57
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
In post processing in CFD-Post this is easy. Define a series of volumes with your sub-sections. Use the function calculator to get the temperature of each sub-section.

No need to junction boxes.
ghorrocks is offline   Reply With Quote

Old   May 29, 2010, 19:55
Default
  #3
Member
 
chenkai
Join Date: May 2010
Location: munich
Posts: 44
Rep Power: 15
xck1986 is on a distinguished road
thanks a lot for you suggestion Glenn,

Actually what I want to do is, to exchange Datas between two Software. One is CFX, another one is a neutronic Software so called SCALE.

I want CFX to write out the mean tempetaure of the every 20 parts of the fuel rod in a TXT Files, when the current interation number(i) is a multiple of 1000.

e.g when i=1000, I can get a TXT files with 20 temperaturs from CFX, then another software SCALE will read in the 20 temperature and after its calculation , SCALE will write out again a TXT files,which contain 20 datas of heat flux .

Then CFX will read in the 20 heat flux from SCALE and it can modify its soure terms(because at first I have assumed taht the source is a constant), and with the new source terms CFX will continue to calculate from current interation number(i)=1001 to 2000, then again write out 20 temperature in a TXT files, and give it to SCALE, and wait for the new heat flux from SCALE to modify again its sorce term.......and so on.

So at last I can get a much correcter Tempetrature distribution from CFX because of the modify of the source terms.

Now my first Step is that, how can I write out the 20 mean temperaturs in a TXT files when the current interation number(i) is a multiple of 1000. and I don't know which one should I use, user CEL or Junction Box?

Thanks a lot again and waiting for you suggestion!!!
xck1986 is offline   Reply With Quote

Old   May 29, 2010, 20:01
Default
  #4
Member
 
chenkai
Join Date: May 2010
Location: munich
Posts: 44
Rep Power: 15
xck1986 is on a distinguished road
thanks a lot for you suggestion Glenn,

Actually what I want to do is, to exchange Datas between two Software. One is CFX, another one is a neutronic Software so called SCALE.

I want CFX to write out the mean tempetaure of the every 20 parts of the fuel rod in a TXT Files, when the current interation number(i) is a multiple of 1000.

e.g when i=1000, I can get a TXT files with 20 temperaturs from CFX, then another software SCALE will read in the 20 temperature and after its calculation , SCALE will write out again a TXT files,which contain 20 datas of heat flux .

Then CFX will read in the 20 heat flux from SCALE and it can modify its soure terms(because at first I have assumed taht the source is a constant), and with the new source terms CFX will continue to calculate from current interation number(i)=1001 to 2000, then again write out 20 temperature in a TXT files, and give it to SCALE, and wait for the new heat flux from SCALE to modify again its sorce term.......and so on.

So at last I can get a much correcter Tempetrature distribution from CFX because of the modify of the source terms.

Now my first Step is that, how can I write out the 20 mean temperaturs in a TXT files when the current interation number(i) is a multiple of 1000. and I don't know which one should I use, user CEL or Junction Box?

Thanks a lot again and waiting for you suggestion!!!
xck1986 is offline   Reply With Quote

Old   May 30, 2010, 08:38
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can write out the average temperatures simply using a monitor point but this will not do the additional stuff you want to do to get the coupling working. To get coupling working you need to write out the temperatures, wait until the other package has finished its calculations and then read and apply the output of the other package and restart the simulation. You will need to do this in fortran.

You might also consider doing it in MPCCI. This is a 3rd party software package designed to do the coupling between software. I think CFX still has a MPCCI interface and hopefully SCALE does too.
ghorrocks is offline   Reply With Quote

Old   May 30, 2010, 09:16
Default
  #6
Member
 
chenkai
Join Date: May 2010
Location: munich
Posts: 44
Rep Power: 15
xck1986 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
You can write out the average temperatures simply using a monitor point but this will not do the additional stuff you want to do to get the coupling working. To get coupling working you need to write out the temperatures, wait until the other package has finished its calculations and then read and apply the output of the other package and restart the simulation. You will need to do this in fortran.

You might also consider doing it in MPCCI. This is a 3rd party software package designed to do the coupling between software. I think CFX still has a MPCCI interface and hopefully SCALE does too.

thanks a lot again Glenn,
When I do it in Fortran, could you please suggest, which one should I use, User CEL or Juntion Box? SCALE is also written by Fortran.
Another question: Is MPCCI a software that I need install it in my Computer? or cfx do alreday have it?
xck1986 is offline   Reply With Quote

Old   May 30, 2010, 09:24
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It can probably be done either way. Not sure which is best, you will have to investigate the options as I don't have much experience with fortran in CFX.
ghorrocks is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
junction box routine and CEL function bornspur CFX 2 February 3, 2009 03:24
New turbulence model - CEL or Junction Box? flga CFX 3 October 31, 2006 04:04
Junction Box Anil CFX 2 June 27, 2006 11:18
User CEL or Junction Box routine? Lexi CFX 6 January 22, 2004 09:52
junction box routine Lexi CFX 2 January 21, 2004 05:55


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