CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Adding a new breakup model to sprayFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 8, 2013, 07:40
Default Adding a new breakup model to sprayFoam
  #1
Member
 
Sören Sander
Join Date: Sep 2012
Location: Germany
Posts: 32
Rep Power: 4
Sören Sander is on a distinguished road
Hello everyone,

I try to implement a new breakup model to the solver sprayFoam. Therefore, I copied the solver files to a new folder. I found the submodels in the OF folder /src/lagrangian/spray. I copied them to my folder and run "wmake libso". This works, however, the files are still linked to the ones in the /src/lagrangian/spray and not to my own folder. E.g. if I change something in the submodel breakup files, it will not affect the compilation.

How can I link the files to my own folder?

I had a look into the Make/options. There are lots of links to the src/lagrangian/... but none to the /spray folder.
Sören Sander is offline   Reply With Quote

Old   March 8, 2013, 08:08
Default
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 19
niklas will become famous soon enough
http://openfoamwiki.net/index.php/Ho...SpraySubModels
niklas is offline   Reply With Quote

Old   March 11, 2013, 07:50
Default
  #3
Member
 
Sören Sander
Join Date: Sep 2012
Location: Germany
Posts: 32
Rep Power: 4
Sören Sander is on a distinguished road
Hello Niklas,

thanks for the description in the wiki. I forgot to change "TypeName" into something like "myOwnModel". For readers with the same problem:
I followed the tutorial in the wiki, but with the difference, that I cannot compile in the original OpenFOAM folder. Thus, I had to copy the whole solver into a new direction. I added the link to my spray in the /Make/options file, but forgot to delete the old link (which was directly reffering to the src/ files).

Last edited by Sören Sander; March 11, 2013 at 08:10.
Sören Sander is offline   Reply With Quote

Reply

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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Atomization and Breakup model xck1986 OpenFOAM 4 May 31, 2014 04:43
Bug in the PilchErdman Breakup Model xck1986 OpenFOAM 5 January 16, 2013 18:07
Adding a new viscosity model ICL OpenFOAM Running, Solving & CFD 16 January 8, 2013 04:19
Adding new term in to K eqn of K-Epsilon turbuelnce model neeraj OpenFOAM Running, Solving & CFD 3 October 11, 2012 07:18


All times are GMT -4. The time now is 20:55.