![]() |
moment coefficient (roll, pitch, and yaw)
I have been running my simulation at my home computer (OpenFoam v2012 ) of a simple disc in a virtual wind tunnel ( using the motor bike tutorial). I was able to obtain three coefficient of moments (roll, pitch, and yaw). However, I moved to using the lab's computer that has v1806 installed. I am running the same exact codes, just changing the value of the variables, and I noticed I have been getting the total moment coefficient instead of roll, pitch and yaw. For my research, I am interested in the pitching moment, so I am wondering on what I can do in controlDict file to get the pitching moment?
Sample of the controlDict /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1806 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // libs ("libOpenFOAM.so" "libfieldFunctionObjects.so"); application pisoFoam; startFrom latestTime; startTime 0; stopAt endTime; endTime 0.4; deltaT 1.0e-5; writeControl timeStep; writeInterval 20; purgeWrite 0; writeFormat binary; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; functions { forces { type forceCoeffs; libs ("libforces.so"); writeControl timeStep; writeInterval 1; patches ("disc.*"); rho rhoInf; // Indicates incompressible log true; rhoInf 1; // Redundant for incompressible liftDir (0 0 1); dragDir (1 0 0); CofR (0 0 0); // Axle midpoint on ground pitchAxis (0 1 0); magUInf 2; lRef 0.01; // Wheelbase length Aref 0.005; // Estimated } fieldAverage { type fieldAverage; libs ("libfieldFunctionObjects.so"); writeControl timeStep; writeInterval 1; fields ( U { mean on; prime2Mean on; base time; } p { mean on; prime2Mean on; base time; } vorticity { mean on; prime2Mean on; base time; } ); } #include "cuttingPlane" #include "streamLines" #include "forceCoeffs" #include "probes" } // ************************************************** *********************** // |
All times are GMT -4. The time now is 16:33. |