|
[Sponsors] | |||||
Ulrich et al . - Development of an OpenFOAMŪ Solver to Investigate the Dynamic Abs... |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Jozsef Nagy
Join Date: Dec 2018
Posts: 18
Rep Power: 8 ![]() |
Comments and questions are welcomed on the article Ulrich et al., Development of an OpenFOAMŪ Solver to Investigate the Dynamic Absorption and Desorption Processes in Metal Hydrides, OpenFOAM Journal, 14 March 2025, https://doi.org/10.51560/ofj.v5.110.
|
|
|
|
|
|
|
|
|
#3 |
|
New Member
Jozsef Nagy
Join Date: Dec 2018
Posts: 18
Rep Power: 8 ![]() |
Dear Domenico,
you are correct, however now it should work. Thank you for your valuable input. |
|
|
|
|
|
|
|
|
#4 |
|
New Member
H Fossum
Join Date: Jan 2021
Posts: 5
Rep Power: 6 ![]() |
The twoRegionHydrideFoam code described in the paper is quite neat, I think. However, I have a question I can't figure out from the paper:
In the file constant/metalHydrideSettings, delta_wall is defined so it can be used in other parts of the code, typically when setting boundary conditions for temperature. I don't understand why delta_wall is not simply equal to wallThickness? Instead, the template uses a scaling factor with a rather small "default" value of 1e-3. Why is this needed, i.e., why shouldn't I use the wall thickness directly as delta_wall? |
|
|
|
|
|
|
|
|
#5 | |
|
New Member
Christoph Ulrich
Join Date: Feb 2022
Posts: 3
Rep Power: 5 ![]() |
Quote:
.Best regards, Christoph |
||
|
|
|
||
|
|
|
#6 | |
|
New Member
H Fossum
Join Date: Jan 2021
Posts: 5
Rep Power: 6 ![]() |
Quote:
I'm trying to modify twoRegionHydrideFoam so that a constant "filling rate" can be specified. This will be implemented by dynamically modifying the inlet pressure based on the volume-averaged absorption rate in the metal hydride. During my implementation, I came across two minor issues with the code, in case you're interested: 1) When trying to use OpenFOAM's volFieldValue function object, the solver crashes. I think this has something to do with the way the mesh regions are set up, but I'm not certain. (Let me know if you want me to send you the error output.) 2) The density field (rhoGas) on the inlet is not properly updated; for example, when using transient boundary conditions for p and rho, the initial BC value for rhoGas is still retained for the entire simulation. I think this is because rhoGas is explicitly calculated from the ideal-gas law in the code (rhoGasEqn_hydrogen.H) instead of being solved iteratively (which is where the BCs are typically incorporated). So far, I've fixed this by explicitly calculating the boundary field for rho in the same way as the interior field (i.e., from the ideal-gas law), but a more general solution could obviously be implemented. These are only small problems, and I am very grateful for your publication of this code. Thank you for your excellent work. |
||
|
|
|
||
|
|
|
#7 |
|
New Member
Christoph Ulrich
Join Date: Feb 2022
Posts: 3
Rep Power: 5 ![]() |
Hey,
Regarding 1, please feel free to post your error code. Perhaps we can identify the problem. ![]() Regarding point 2: for our purposes, the released code was sufficient, but as you mentioned, a more general solution could be implemented. It's good to hear that you found a working solution, though. Best regards, Christoph |
|
|
|
|
|
|
|
|
#8 |
|
New Member
Solon
Join Date: Oct 2025
Posts: 2
Rep Power: 0 ![]() |
Hello,
In the parameter studies (section 5.2) it is mentioned that "The findings are consistent with those reported in ...", however, I couldn't find anything that shows this comparison. Was it a qualitative consistency, or were the results explicitly compared to experimental data, for example? Thanks |
|
|
|
|
|
|
|
|
#9 |
|
New Member
Christoph Ulrich
Join Date: Feb 2022
Posts: 3
Rep Power: 5 ![]() |
Hey!
We found qualitative consistency. We tried to be precise by citing the relevant source after each statement. |
|
|
|
|
|
|
|
|
#10 |
|
New Member
Solon
Join Date: Oct 2025
Posts: 2
Rep Power: 0 ![]() |
Hello,
Thanks for the clarification! |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| temp dependent density | Linas | Fluent UDF and Scheme Programming | 2 | February 13, 2025 19:22 |
| The Solver Failed with a non zero exit code of 2 | helpagurlout | Main CFD Forum | 0 | April 6, 2024 17:36 |
| Error SIGSEGV using VOF and UDF | JERC_UTFSM | Fluent UDF and Scheme Programming | 14 | November 8, 2021 00:17 |
| Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
| Problems using dynamic mesh and 6dof solver | Brett | FLUENT | 0 | March 3, 2006 18:45 |