CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

Creating Own InjectionModel

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   October 7, 2011, 09:34
Default Creating Own InjectionModel
New Member
Samuel Vogel
Join Date: Mar 2009
Posts: 20
Rep Power: 10
spv24 is on a distinguished road

I would like to create a new injection model. This should be based on the:


model. So I copied the source files of the folder above to my local workspace, renamed the files and classes (no code changes so far - just duplicating the code), updated the make/files accordingly and compiled a user library (libmySpray). The compilation worked fine.

Then I linekd the user library to a custom solver (did the same procedure, copied a solver that was working with the original injection model above, renamed it without code changes, updated make/files and compiled it --> worked well).

But when I am starting the solver, and putting the renamed, new InjectionModel into the corresponding dictFile, the new injectionModel is not recognized. It doesn't appear in the list that is showed when using a un-known injeciton model.

What have I missed? Do I have to register the new InjectionModel in a source somewhere else, outside the copied source files from the directory given above?

Could someone please explain how I can add this new submodel to the runtimeSelectableList?

So far no compilaiton errors!


spv24 is offline   Reply With Quote

Old   October 8, 2011, 11:46
Default Closed
New Member
Samuel Vogel
Join Date: Mar 2009
Posts: 20
Rep Power: 10
spv24 is on a distinguished road
Finally found the solution: I have to register the new injectionModel in the corresponding make* file in the folder:

OpenFOAM-2.0.x src/lagrangian/intermediate/parcels/include

Then it is working!
spv24 is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems in creating a wedge type mesh Joscha OpenFOAM Native Meshers: blockMesh 27 November 3, 2015 12:27
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51
Using createPatch in place of couplePatches sripplinger OpenFOAM Mesh Utilities 8 November 13, 2009 08:14
Problems with Meshing: Collapsed Cells Emmanuel Resch Siemens 1 July 30, 2007 03:02
Gerris software installation mer Main CFD Forum 2 November 12, 2005 09:50

All times are GMT -4. The time now is 21:26.