|
[Sponsors] |
August 5, 2022, 12:52 |
Adding massSource option to fvOptions
|
#1 |
New Member
Lennart
Join Date: May 2022
Posts: 15
Rep Power: 4 |
Hi,
I am trying to add Will Bainbridge's massSource (https://github.com/OpenFOAM/OpenFOAM-dev/commit/69e98dc28d1c5d6846f4c34ed5ee0918c7519f90) to the available sources in the fvOptions. Therefore, I have:
Code:
--> FOAM FATAL ERROR: Unknown Model type massSource Does someone have experience with this new source type? |
|
August 9, 2022, 06:04 |
|
#2 |
New Member
Lennart
Join Date: May 2022
Posts: 15
Rep Power: 4 |
Turned out the problem had nothing to do with the new code itself. I simply did not compile it properly.
I am now able to use massSource as a source. However, when I try to use it in one of the tutorial cases it is not giving the expected results. I have modified the multiphaseEulerFoam/injection case as shown at https://github.com/OpenFOAM/OpenFOAM-dev/commit/69e98dc28d1c5d6846f4c34ed5ee0918c7519f90 but when I run the case and view the results in paraView there is no injection anymore. Has anyone successfully used massSource? Last edited by levoCFD; August 9, 2022 at 09:08. |
|
August 21, 2023, 10:50 |
|
#3 |
New Member
Mitchell Whiting
Join Date: Feb 2023
Posts: 2
Rep Power: 0 |
Hi Lennart,
Did you ever come right with your issues, also what version of OpenFOAM did you manage to compile this library on? Thanks in advance |
|
Tags |
fvoptions, mass source, source code |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 22:43 |
Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 02:27 |
Compression stoke is giving higher pressure than calculated | nickjuana | CFX | 62 | May 19, 2015 14:32 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |