Openfoam-1.6-ext particle forces
I am trying to implement some forces models for Lagrangian particle tracking under Openfaom-1.6-ext. I did the same thing for openfoam 2.1.1. It was quite straight forward under 2.1.1, there are different force models under /src/lagrangian/intermediate/submodels/Kinematic/ParticleForces. However, I can only find OpenFOAM-1.6-ext/src/intermediate/submodels/Kinematic/DragModel in 1.6-ext. Can anyone point out how to implement a new force model in 1.6-ext?
I am also trying to implement a new particle force model. Were you able to add a new force model directory and able to compile it? I am compiling a new library containing new force model and also recompiling the solver linking it to new library but on executing the solver I get the following error message:
--> FOAM FATAL ERROR:
Unknown particle force type newForce, constructor not in hash table
Valid particle force types are:
From function ParticleForce<CloudType>::New(CloudType&, const fvMesh&, const dictionary&)
in file /home/mayank/OpenFOAM/mayank-2.1.1/platforms/linux64GccDPOpt/src/lagrangian/incompressible/intermediate/lnInclude/ParticleForceNew.C at line 55.
Any help would be appreciated. Thanks!
|All times are GMT -4. The time now is 16:24.|