CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Adding your own Lagrangian submodel in version 2.x.y (https://www.cfd-online.com/Forums/openfoam-programming-development/91449-adding-your-own-lagrangian-submodel-version-2-x-y.html)

niklas August 11, 2011 08:36

Adding your own Lagrangian submodel in version 2.x.y
 
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

chpjz0391 June 13, 2016 03:36

Quote:

Originally Posted by niklas (Post 319730)
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


All times are GMT -4. The time now is 06:45.