Can not add new drag force in Intermediate directory
I'm trying to add a new drag force,the step is:
1.in submodels/Kinematic/ParticleForces/Drag copy a drag model and rename it (rename the classes inside the file) 2.edit the supersonicDragForce.C and supersonicDragForce.H files 3.Open makeParcelForces.H add #include "supersonicDragForce.H" add makeParticleForceModelType(supersonicDragForce,Clo udType); \ 4.cd src/lagrangian/intermediate wclean and wmake But when I running sprayFoam,I found that supersonicDragForce is not in available options. Unknown particle force type supersonicDrag, constructor not in hash table Valid particle force types are: 11 ( BrownianMotion SRF SaffmanMeiLiftForce TomiyamaLift gravity nonInertialFrame nonSphereDrag paramagnetic pressureGradient sphereDrag virtualMass ) How can I solve this problem? |
Did you include the new lib in controlDict?
|
Quote:
|
All times are GMT -4. The time now is 08:43. |