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

Energy Total Source space dependent/Bethe-Bloch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2018, 02:22
Default Energy Total Source space dependent/Bethe-Bloch
  #1
Senior Member
 
Pedro Oliveira
Join Date: Feb 2018
Location: Portugal
Posts: 109
Rep Power: 8
oliveira1820 is on a distinguished road
Hi everybody!

In my simulation I have 3 fluids, water vapour, liquid water and air. I´m using an energy bulk total source to simulate a proton beam deposition energy into heat.

I want the 18MeV=900W energy to be deposited as the Bethe-Bloch formula: which varies with density and z (depth) position.

How can I truly do this? Depositing the 900 W in its full depth with non uniformal deposition ( dependent of z and density)
oliveira1820 is offline   Reply With Quote

Old   July 23, 2018, 02:55
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I found the Bethe-Bloch equation on wikipedia: https://en.wikipedia.org/wiki/Bethe_formula

Please define non-standard terms in future.

It appears to be a function which evaluates down to a power versus depth in the material. Providing you can derive it down to a function of power versus depth then this will be straight forward to implement as a CEL function.

A second look at your question: I missed that you mention density. How does density come into it? Please show the function you wish to apply.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 23, 2018, 03:10
Default
  #3
Senior Member
 
Pedro Oliveira
Join Date: Feb 2018
Location: Portugal
Posts: 109
Rep Power: 8
oliveira1820 is on a distinguished road
In the formula, the variable n is dependent of density as you can see on wikipedia right below the formula of Bethe-Bloch.

My doubt is how would be the CEL function for 900W distributed in the same way as the formula describes. Will it be something like this?

Energy= 900 * (constants) * density * z
oliveira1820 is offline   Reply With Quote

Old   July 23, 2018, 18:22
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The wikipedia page defines dE/dx = function(n, beta and others). I have no idea if the equation you quote is correct, that is for you to work out.

But I can say that if the function is of the form E = constants * local density * z then this is easy to implement in CEL. But you cannot define differential equations in CEL, so the wikipedia function cannot be implemented without further derivation.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 24, 2018, 00:35
Default
  #5
Senior Member
 
Pedro Oliveira
Join Date: Feb 2018
Location: Portugal
Posts: 109
Rep Power: 8
oliveira1820 is on a distinguished road
Thnaks, I get it.

Is it local density a CEL function? Representing the density on a cell or node?
oliveira1820 is offline   Reply With Quote

Old   July 24, 2018, 00:40
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
density is just a CEL variable. For the full list of CEL variables, operators and functions look in the CFX reference manual. It has several chapters on CEL and variables.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 24, 2018, 01:17
Default
  #7
Senior Member
 
Pedro Oliveira
Join Date: Feb 2018
Location: Portugal
Posts: 109
Rep Power: 8
oliveira1820 is on a distinguished road
I just thought you were distinguishing between density and local density
oliveira1820 is offline   Reply With Quote

Old   July 24, 2018, 01:20
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I should have clarified it a bit I guess. I was trying to distinguish the field variable, density, from things like line, area or volume averaged density; or density somewhere else. By local density I was meaning the density at that location.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 24, 2018, 01:21
Default
  #9
Senior Member
 
Pedro Oliveira
Join Date: Feb 2018
Location: Portugal
Posts: 109
Rep Power: 8
oliveira1820 is on a distinguished road
Thank you very much
oliveira1820 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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 08:06
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
Why FVM for high-Re flows? Zhong Lei Main CFD Forum 23 May 14, 1999 13:22


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