Problem in forceCoeffs file
Dear All,
This is Srini. I have setup an external_aero case for simpleFoam solver by refering motorbike tutorial. While solution progresses, Cd, Cl must be written to forceCoeffs file in \forces\0\forceCoeffs.dat file. I feel there is problem in entering patches in forceCoeffs file in system folder. I have entered like this :- forces { type forceCoeffs; functionObjectLibs ( "libforces.so" ); outputControl timeStep; outputInterval 1; patches ( car_TOP ); pName p; UName U; rhoName rhoInf; // Indicates incompressible log true; rhoInf 1; // Redundant for incompressible liftDir (0 0 1); dragDir (1 0 0); CofR (0.72 0 0); // Axle midpoint on ground pitchAxis (0 1 0); magUInf 20; lRef 1.44; // Wheelbase length Aref 0.9; // Estimated } Error message is displayed like this Calculating potential flow --> FOAM Warning : From function polyBoundaryMesh::patchSet(const wordReList&, const bool) cons t in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 573 Cannot find any patch names matching car_TOP output in console is like this:- forceCoeffs output: Cd = 0 Cl = 0 Cm = 0 Cl(f) = 0 Cl(r) = 0 I have defined boundary layers for some patches in stl file like this:- layers { minZ { nSurfaceLayers 1; } car_TOP { nSurfaceLayers 5; } car_TRUNK { nSurfaceLayers 5; } car_HOOD { nSurfaceLayers 5; } car_CABIN_2 { nSurfaceLayers 5; } car_SIDE_GLASS { nSurfaceLayers 5; } car_CABIN_1 { nSurfaceLayers 5; } Kindly help me in resolving this problem. Best Regards, Srini |
All times are GMT -4. The time now is 19:10. |