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 |
Quote:
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. |