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

Adding your own Lagrangian submodel in version 2.x.y

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By niklas

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2011, 07:36
Default Adding your own Lagrangian submodel in version 2.x.y
  #1
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
I've written a step-by-step howto on how you can add your own Lagrangian submodel in version 2 on the wiki.

http://openfoamwiki.net/index.php/Ho...SpraySubModels

If anything is unclear or missing, or if you would like another howto, please let me know.

N
marupio, amolrajan and Kabra like this.
niklas is offline   Reply With Quote

Old   June 13, 2016, 02:36
Default
  #2
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10
chpjz0391 is on a distinguished road
Quote:
Originally Posted by niklas View Post
I've written a step-by-step howto on how you can add your own Lagrangian submodel in version 2 on the wiki.

http://openfoamwiki.net/index.php/Ho...SpraySubModels

If anything is unclear or missing, or if you would like another howto, please let me know.

N
Hi niklas,

Sorry to disturb you . I was trying to add collisionModel to simpleReactingParcelFoam, but it did not work.Below is my step:

1. I copied CollisionModel folder from src/lagrangian/intermediate/submodels/Kinematic to src/lagrangian/intermediate/submodels/ReactingMultiphase
2. I copied makeParcelCollisionModels.H to makeReactingMultiParcelCollisionModels.H under src/lagrangian/intermediate/parcels/include
3. I changed "makeParcelCollisionModel_H" to "makeReactingMultilParcelCollisionModel_H" in the new makeReactingMultiParcelCollisionModels.H
4. wclean and wmake libso
5. I added collisionModel under reactingCloud1Properties in constant

When I run the case, it doest work. I mean the collision submodel was still not available.

Can you give me some suggestions?

King Regards,

Ping
chpjz0391 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
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 07:11
OpenFOAM-1.6 install cookbook MadsR OpenFOAM Installation 372 November 20, 2010 11:57
bubbleFoam validation case balkrishna OpenFOAM Running, Solving & CFD 24 August 30, 2010 04:37
[OpenFOAM] Problem with paraFoam on a linux-64 bit bunni ParaView 4 April 14, 2010 20:55
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41


All times are GMT -4. The time now is 10:34.