|
[Sponsors] |
May 4, 2018, 05:03 |
Adding New Drag Model to MPPICFoam
|
#1 |
New Member
SURAJ
Join Date: Jun 2017
Location: IIT KANPUR,India
Posts: 15
Rep Power: 9 |
I have followed following steps in adding New drag model to MPPICFoam,But unable to add
1)I added the new drag model folder at src/lagrangian/intermediate/submodels/Kinematic/ParticleForces/ which includes both NewDragForce.C and NewDragForce.H file 2) Included the name of new drag model in makeParcelForces.H which is located at src/lagrangian/intermediate/parcels/include #include "NewDragForce.H" makeParticleForceModelType(Newdragforcename, CloudType); \ 3)then cd src/lagrangian/intermediate wclean and wmake compilation is done successfully 4) then cd applications/solver/lagrangian/MPPICFoam/ wclean and wmake then cd applications/solver/lagrangian/DPMFoam/ wclean and wmake 5)Now when I add the new drag force in the tutorial case MPPICFoam/Goldschmidt then I am getting following error: .................................................. .......................................... Valid particle force types are: 13 ( ErgunWenYuDrag PlessisMasliyahDrag SRF SaffmanMeiLiftForce TomiyamaLift WenYuDrag gravity nonInertialFrame nonSphereDrag paramagnetic pressureGradient sphereDrag virtualMass ) From function ParticleForce<CloudType>::New(CloudType&, const fvMesh&, const dictionary&) in file /home/suraj/suraj/OpenFOAM/OpenFOAM-in-Box-17.02/OpenFOAM-3.0.x/src/lagrangian/intermediate/lnInclude/ParticleForceNew.C at line 55. --------------------------------------------------------------------------------------------------------------------------- Please somebody guide me in this reference I will be very thankful to him. Suraj |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding New phaseCompressible Turbulence Model | scram | OpenFOAM Programming & Development | 34 | March 25, 2020 09:08 |
Adding a custom turbulence model in OpenFOAM 3.0 | Sylvain | OpenFOAM Programming & Development | 3 | July 18, 2016 09:15 |
How to compile a new drag force in Lagrangian model | lilinmin | OpenFOAM Programming & Development | 4 | June 9, 2016 05:15 |
Error in compiling new drag model | k.farnagh | OpenFOAM Programming & Development | 13 | May 21, 2016 04:08 |
multiphase model and drag law | Yasmail AKARIOUH | FLUENT | 0 | April 29, 2008 08:44 |