|
[Sponsors] |
Energy Total Source space dependent/Bethe-Bloch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 23, 2018, 03:22 |
Energy Total Source space dependent/Bethe-Bloch
|
#1 |
Senior Member
Pedro Oliveira
Join Date: Feb 2018
Location: Portugal
Posts: 109
Rep Power: 8 |
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) |
|
July 23, 2018, 03:55 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
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. |
|
July 23, 2018, 04:10 |
|
#3 |
Senior Member
Pedro Oliveira
Join Date: Feb 2018
Location: Portugal
Posts: 109
Rep Power: 8 |
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 |
|
July 23, 2018, 19:22 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
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. |
|
July 24, 2018, 01:35 |
|
#5 |
Senior Member
Pedro Oliveira
Join Date: Feb 2018
Location: Portugal
Posts: 109
Rep Power: 8 |
Thnaks, I get it.
Is it local density a CEL function? Representing the density on a cell or node? |
|
July 24, 2018, 01:40 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
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. |
|
July 24, 2018, 02:17 |
|
#7 |
Senior Member
Pedro Oliveira
Join Date: Feb 2018
Location: Portugal
Posts: 109
Rep Power: 8 |
I just thought you were distinguishing between density and local density
|
|
July 24, 2018, 02:20 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
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. |
|
July 24, 2018, 02:21 |
|
#9 |
Senior Member
Pedro Oliveira
Join Date: Feb 2018
Location: Portugal
Posts: 109
Rep Power: 8 |
Thank you very much
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Thermophysical Properties | wsmith02 | OpenFOAM | 4 | June 1, 2023 15:30 |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 09:06 |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
Why FVM for high-Re flows? | Zhong Lei | Main CFD Forum | 23 | May 14, 1999 14:22 |