fvOptions: Unknown Model type meanSupVelocityForce

Submitted by atul2018 on Mon, 03/07/2022 - 17:00

I am using public version of CFDEM to simulate my case. I took referance from periodicChannel case and modified my case in which inlet and outlet are coupled with cyclic boundary and flow velocity is defined using fvOptions located in CFD/system directory. I find it very strange that in the tutorial case *periodicChannel), I dont get any error and case runs smoothly. In opposite to that I get error for my case that model type meanSupVelocityForce is unvalid and the shows a list of fvOption models available. I wonder why is that.

My fvOptions file has following:

momentumSource
{
type meanSupVelocityForce;
active yes;

meanSupVelocityForceCoeffs
{
selectionMode all; // apply force to all cells

fields (U); // name of velocity field
Ubar (0.675 0 0);// desired mean velocity
//relaxation 0.9; // optional relaxation factor
twoPhase false;
coupled true;
voidfractionField "voidfraction";
}
}

The fvOptions model of meanSupVelocityForce in tutorial case works well but in my case it complains that no such model exist. I wonder why such strange behaviour?

Best Regards
Atul Jaiswal

atul2018 | Mon, 03/07/2022 - 17:41

I missed to add the required library in controlDict. I add the following in my controlDict:

libs ( "libfvOptionsCFDEM.so" );

and I dont get that error anymore.