|
[Sponsors] |
December 18, 2019, 03:52 |
Injection Model Type Unknown
|
#1 |
New Member
Calvin
Join Date: Nov 2019
Posts: 13
Rep Power: 6 |
Hi,
I am new to OpenFOAM and I have to run working code someone else made, for my thesis. I can't figure out why the injection model type "coneNozzleInjection" is unknown to the solver. The valid injection model types are: "cellZoneInjection coneInjection fieldActivatedInjection inflationInjection manualInjection none patchFlowRateInjection patchInjection" I am using OpenFOAM v7 the code was written using OpenFOAM v5. When looking online "coneNozzleInjection" is a valid type, so Im pretty lost |
|
December 18, 2019, 04:17 |
|
#2 |
Member
Join Date: Dec 2018
Location: Darmstadt, Germany
Posts: 87
Rep Power: 7 |
Hey, it is not working because this injection model type is not present in OF7 (check the online documentation https://cpp.openfoam.org/v7/). I think that at some point, both classes coneNozzleInjection and coneInjection got merged, which is why there is only the coneInjection type being displayed in your simulation output. This is also probably the class that you should use. In order to do that, you just have to figure out if the general way this injection type is created differs from your old "coneNozzleInjection" type, i.e. which parameters must be set in your lagrangian cloud property dict (for instance 'sprayCloudProperties').
Good luck RP |
|
December 18, 2019, 06:34 |
|
#3 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,170
Rep Power: 27 |
As raumpolizei said, coneNozzleInjection does not exist anymore because it has been merged with coneInjection.
Check the commit here : https://github.com/OpenFOAM/OpenFOAM-dev/commit/06d8f79814f2ed2e8c476bbdfc47a98093a7529d And the header of coneInjection.H in OpenFOAM-7 : https://github.com/OpenFOAM/OpenFOAM...oneInjection.H |
|
January 15, 2020, 20:43 |
Solved
|
#4 |
New Member
Calvin
Join Date: Nov 2019
Posts: 13
Rep Power: 6 |
Hi,
Sorry for the late reply I have been on holidays. Thanks so much for the explanation. I have installed the version of openfoam which was used when the code was written and this has resolved the issue Cheers! Cal |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
reactingMultiphaseEulerFoam | tonnykz | OpenFOAM Running, Solving & CFD | 2 | June 15, 2020 02:09 |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 00:21 |
Inlet patch problems | martyn88 | OpenFOAM Running, Solving & CFD | 6 | April 21, 2017 18:34 |
rhoPimpleFoam hardship | petrus | OpenFOAM Running, Solving & CFD | 0 | October 7, 2016 02:41 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |