CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

moment coefficient (roll, pitch, and yaw)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2022, 08:53
Default moment coefficient (roll, pitch, and yaw)
  #1
New Member
 
Join Date: Sep 2021
Posts: 4
Rep Power: 5
august is on a distinguished road
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"
}


// ************************************************** *********************** //
august is offline   Reply With Quote

Reply

Tags
moment coefficient


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opposite sign for pitch moment and moment coefficient quarkz OpenFOAM Post-Processing 2 November 1, 2021 10:33
Roll, Yaw, Pitch for External Aerodynamics shereez234 OpenFOAM Programming & Development 1 February 7, 2020 14:30
How to estimate roll, pitch, and yaw moments at once? Geon-Hong OpenFOAM Post-Processing 0 November 22, 2011 00:50
flow pitch and yaw angles flow pitch angle FLUENT 0 March 9, 2009 05:24
Yaw and Pitch angle for gasturbflow Haloejsa Main CFD Forum 0 November 5, 2003 16:20


All times are GMT -4. The time now is 22:45.