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

Drag and lift Coefficients are different in serial and parallel runs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2022, 13:37
Question Drag and lift Coefficients are different in serial and parallel runs
  #1
New Member
 
Reza Nouri
Join Date: Oct 2012
Location: Tennessee
Posts: 26
Rep Power: 13
reza2031 is on a distinguished road
Send a message via Skype™ to reza2031
I am using forceCoeffs function object to generate a cylinder's drag and lift coefficients during the simulation.
The issue is that the values are different in the serial and parallel runs. Even when the number of CPUs changes, the results change.
I am using pisoFoam.
Any idea?

In controlDict:
Code:
functions
{
forces
{
    type            forceCoeffs;
    libs            ("libforces.so");
    writeControl    timeStep;
    writeInterval   10;

    patches         ("cylinder");
    rho             rhoInf;      // Indicates incompressible
    log             true;
    rhoInf          1;           // Redundant for incompressible
    liftDir         (0 1 0);
    dragDir         (1 0 0);
    CofR            (0 0 0);  // Axle midpoint on ground
    pitchAxis       (0 0 1);
    magUInf         0.535;
    lRef            0.04;        // Wheelbase length
    Aref            0.16;        // Estimated
}
}
Attached Images
File Type: png cfd.png (10.8 KB, 19 views)
reza2031 is offline   Reply With Quote

Old   October 6, 2022, 12:54
Default
  #2
New Member
 
Reza Nouri
Join Date: Oct 2012
Location: Tennessee
Posts: 26
Rep Power: 13
reza2031 is on a distinguished road
Send a message via Skype™ to reza2031
Since no one replied, I am replying to my post!
After days of research on this matter, I concluded that because of the intercommunication between cups in a parallel run, the point at which vortex shedding starts is different than in a serial run.
The shedding frequency and the Strouhal number are the same.
If you integrate variables over time, nothing changes in both runs.
Attached Images
File Type: png p_vs_s.PNG (79.8 KB, 12 views)
reza2031 is offline   Reply With Quote

Reply

Tags
drag, forcecoeffs, lift, parallel, serial


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
rotorDiskSource in parallel Jernej Pirnar OpenFOAM Running, Solving & CFD 7 May 30, 2022 11:31


All times are GMT -4. The time now is 00:39.