CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Injection Model Type Unknown

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By raumpolizei
  • 1 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 18, 2019, 03:52
Default Injection Model Type Unknown
  #1
Cal
New Member
 
Calvin
Join Date: Nov 2019
Posts: 13
Rep Power: 6
Cal is on a distinguished road
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
Cal is offline   Reply With Quote

Old   December 18, 2019, 04:17
Default
  #2
Member
 
Join Date: Dec 2018
Location: Darmstadt, Germany
Posts: 87
Rep Power: 7
raumpolizei is on a distinguished road
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
Tobi and Cal like this.
raumpolizei is offline   Reply With Quote

Old   December 18, 2019, 06:34
Default
  #3
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,170
Rep Power: 27
Yann will become famous soon enough
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
raumpolizei likes this.
Yann is offline   Reply With Quote

Old   January 15, 2020, 20:43
Default Solved
  #4
Cal
New Member
 
Calvin
Join Date: Nov 2019
Posts: 13
Rep Power: 6
Cal is on a distinguished road
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
Cal 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
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


All times are GMT -4. The time now is 17:49.