|
[Sponsors] |
January 14, 2024, 09:05 |
Openfoam Post Processing Cumulative Drag
|
#1 |
New Member
İstanbul
Join Date: Dec 2020
Posts: 1
Rep Power: 0 |
Hello, I am doing a project about drag reduction devices for US Trucks. I am trying to add some cumulative drag plots too. But in my graphs it seems like the Cd is decreasing between the truck and the trailer. All the paper that i read says that it should increase due to the pressure difference. I also tested it with vortex traps set in front of the trailer. I am attaching my forceCoeffs file and my graphs. Can you give me feedback about what could went wrong or did i get wrong results.
Thank you all Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2306 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ forceCoeffs1 { type forceCoeffs; libs (forces); writeControl timeStep; timeInterval 1; log yes; writeFields yes; // Store and write volume field representations of forces and moments patches (truckbase symmetry); rho rhoInf; // Indicates incompressible rhoInf 1; // Required when rho = rhoInf liftDir (0 0 1); dragDir (1 0 0); CofR (0 0 0); //The point around which your torque will be calculated. pitchAxis (0 1 0); magUInf 24.5872; // INPUT SPEED INITIAL lRef 20.315; // Wheelbase length the longest line in the x direction will be the lRef. Aref 5.196; //10.392; /* binData { nBin 50; // output data into 20 bins direction (1 0 0); // bin direction cumulative yes; }*/ } binField1 { type binField; libs (fieldFunctionObjects); binModel singleDirectionUniformBin; fields (forceCoeff); patches (truckbase); decomposePatchValues true; CofR ${../forceCoeffs1/CofR}; binData { nBin 50; // direction (1 0 0); // bin direction cumulative yes; } writeControl timeStep; } |
|
Tags |
drag coefficient, force coefficients, opeanfoam, post processing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 6, 2023 00:48 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Lagrangian post processing in OpenFOAM 5 + | jkeep | OpenFOAM Post-Processing | 0 | June 17, 2019 02:07 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |